/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

/* Typography */
.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-text {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.85;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

.artistic-line {
    width: 250px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), #fff, rgba(255,255,255,0.8), transparent);
    margin: 2.5rem auto;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(255,255,255,0.3);
}

.artistic-line::before,
.artistic-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    top: -3.5px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.artistic-line::before {
    left: -5px;
}

.artistic-line::after {
    right: -5px;
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements i {
    position: absolute;
    color: rgba(255,255,255,0.4);
    font-size: 1.8rem;
    animation: float 8s ease-in-out infinite;
}

.floating-elements i:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-elements i:nth-child(2) {
    top: 65%;
    left: 85%;
    animation-delay: 1.5s;
}

.floating-elements i:nth-child(3) {
    top: 85%;
    left: 15%;
    animation-delay: 3s;
}

.floating-elements i:nth-child(4) {
    top: 25%;
    left: 75%;
    animation-delay: 4.5s;
}

.floating-elements i:nth-child(5) {
    top: 75%;
    left: 65%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Story Section */
.story-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.photo-frame {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.photo-frame.special {
    transform: rotate(2deg);
    border: 3px solid #e74c3c;
}

.photo-frame.special:hover {
    transform: rotate(0deg) scale(1.05);
}

.story-photo,
.proposal-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Love Reasons Section */
.love-reasons {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reason-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #e74c3c;
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
}

.reason-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
}

/* Proposal Section */
.proposal-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.proposal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.proposal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.proposal-message {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.the-question {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.the-question h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.proposal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-yes,
.btn-no {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 150px;
}

.btn-yes {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: #fff;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

.btn-no {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-no:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

/* Success Section */
.success-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content {
    max-width: 800px;
    padding: 2rem;
}

.success-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.success-message {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.success-animation {
    margin-bottom: 3rem;
}

.success-heart {
    font-size: 3rem;
    color: #e74c3c;
    margin: 0 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.success-heart:nth-child(2) {
    animation-delay: 0.5s;
}

.success-heart:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.celebration {
    position: relative;
    height: 200px;
    margin-top: 3rem;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f39c12;
    border-radius: 50%;
    animation: firework 2s ease-out infinite;
}

.firework:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.firework:nth-child(2) {
    left: 50%;
    animation-delay: 0.5s;
}

.firework:nth-child(3) {
    left: 80%;
    animation-delay: 1s;
}

@keyframes firework {
    0% {
        transform: translateY(100px) scale(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    color: #fff;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover {
    color: #e74c3c;
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-video {
    width: 100%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navigation a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.navigation a:hover {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .artistic-line {
        width: 200px;
        margin: 2rem auto;
    }
    
    .floating-elements i {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-content,
    .proposal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .proposal-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .navigation {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px;
        border-radius: 20px;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        max-width: 95%;
    }
    
    .artistic-line {
        width: 180px;
        margin: 1.5rem auto;
    }
    
    .floating-elements i {
        font-size: 1.2rem;
    }
    
    .section-container {
        padding: 0 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.8s ease-out;
}

/* Button Click Animation */
.btn-yes:active,
.btn-no:active {
    transform: scale(0.95);
}
