/* Global Styles */
:root {
    --primary-color: #ff6b8b;
    --secondary-color: #eb4f82;
    --accent-color: #ffd1dc;
    --text-color: #4a2c40;
    --light-color: #fff5f7;
    --dark-color: #4a2c40;
    --gradient-1: linear-gradient(45deg, #ff6b8b, #ffb6c1);
    --gradient-2: linear-gradient(135deg, #eb4f82, #ff85a1);
    --box-shadow: 0 5px 15px rgba(255, 107, 139, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    background-image: 
        radial-gradient(#ffd1dc 1px, transparent 1px),
        radial-gradient(#ffd1dc 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 1rem;
    cursor: pointer;
}

.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--box-shadow);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 139, 0.3);
    color: white;
}

.secondary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--box-shadow);
}

.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(235, 79, 130, 0.3);
    color: white;
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto 2rem;
    position: relative;
}

.divider:before, .divider:after {
    content: "♥";
    position: absolute;
    color: var(--primary-color);
    font-size: 1.2rem;
    top: -10px;
}

.divider:before {
    left: -20px;
}

.divider:after {
    right: -20px;
}

/* Header */
header {
    text-align: center;
    padding: 3rem 0 1.5rem;
    position: relative;
}

header h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 107, 139, 0.3);
}

header .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    position: relative;
    margin: 2rem auto;
    max-width: 350px;
}

.profile-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 8px solid white;
    z-index: 1;
}

.profile-frame:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-1);
    z-index: -1;
    border-radius: 25px;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.03);
}

/* Decorative elements */
.profile-container:before, 
.profile-container:after,
.profile-container .corner-top-left,
.profile-container .corner-top-right,
.profile-container .corner-bottom-left,
.profile-container .corner-bottom-right {
    content: "♥";
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    z-index: 2;
}

.profile-container:before {
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
}

.profile-container:after {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
}

.profile-container .corner-top-left {
    top: -10px;
    left: -10px;
    transform: rotate(-20deg);
}

.profile-container .corner-top-right {
    top: -10px;
    right: -10px;
    transform: rotate(20deg);
}

.profile-container .corner-bottom-left {
    bottom: -10px;
    left: -10px;
    transform: rotate(-160deg);
}

.profile-container .corner-bottom-right {
    bottom: -10px;
    right: -10px;
    transform: rotate(160deg);
}

/* Section Styles */
section {
    padding: 3rem 0;
    background-color: white;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

section:before {
    content: "";
    position: absolute;
    height: 5px;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-1);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(255, 107, 139, 0.2);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.quote {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

cite {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Reasons Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

.reason-card {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 107, 139, 0.3);
    border-color: var(--accent-color);
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    background: rgba(255, 209, 220, 0.3);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    display: inline-block;
}

.reason-card h3 {
    color: var(--secondary-color);
}

/* Gallery Section */
.upload-container {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.upload-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-1);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 139, 0.3);
}

.upload-btn i {
    margin-right: 8px;
}

.upload-info {
    margin-top: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-placeholder {
    height: 250px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 107, 139, 0.8);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .delete-btn {
    opacity: 1;
}

/* Message Section */
.message-section {
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    margin-bottom: 3rem;
}

.message-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.message-content:before,
.message-content:after {
    content: """;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    opacity: 0.5;
}

.message-content:before {
    top: -20px;
    left: -15px;
}

.message-content:after {
    content: """;
    bottom: -60px;
    right: -15px;
}

.love-letter {
    font-size: 1.1rem;
    line-height: 1.8;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin-top: 1.5rem;
    text-align: right;
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--dark-color);
    color: white;
    border-radius: 20px 20px 0 0;
    position: relative;
}

footer:before {
    content: "";
    position: absolute;
    height: 5px;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-1);
}

footer i.fa-heart {
    color: var(--primary-color);
    margin: 0 0.2rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .message-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .profile-container {
        max-width: 280px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .message-section {
        padding: 1.5rem;
    }
} 