:root {
    --primary-color: #0d2b4e; /* Deep Navy Blue */
    --accent-color: #d8a7a9; /* Dusty Blush Pink */
    --text-color: #4a4645; /* Warm charcoal for readability */
    --text-light: #ffffff;
    --bg-color: #fcfaf8; /* Warm ivory/cream */
    --surface-color: #ffffff; /* pure white for cards/sections */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Glassmorphism Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(252, 250, 248, 0.85); /* Ivory frosty */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(216, 167, 169, 0.3); /* Soft blush border */
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    overflow: visible; /* Restore overflow */
}

.glass-header:hover, .glass-header.scrolled {
    background: rgba(252, 250, 248, 0.98);
    box-shadow: 0 4px 30px rgba(13, 43, 78, 0.08); /* navy shadow */
}

.glass-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-image: url('single_festoon_center.png');
    background-size: 400px auto; /* Scale to cover the center area */
    background-position: top center;
    background-repeat: no-repeat;
    mix-blend-mode: multiply; /* Make the white background transparent */
    pointer-events: none;
    z-index: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001; /* Stay above mobile menu */
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Video Banner Section */
.video-banner {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url('wedding_banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 40px 60px;
    overflow: hidden;
}

.video-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(253, 251, 247, 0.85); /* Ivory frosty overlay for readability */
    backdrop-filter: blur(2px);
    z-index: 0;
}

/* Floral Decorative Overlays */
.flower-deco {
    position: absolute;
    width: 450px;
    height: auto;
    z-index: 0;
    mix-blend-mode: multiply; /* Magically removes the white background against the bright overlay */
    opacity: 0.9;
    pointer-events: none;
    transition: transform 1s ease-out;
}

.flower-top-left {
    top: -50px;
    left: -50px;
    transform: rotate(0deg);
}

.flower-bottom-right {
    bottom: -50px;
    right: -50px;
    transform: rotate(180deg);
}

/* Responsive flowers */
@media (max-width: 768px) {
    .flower-deco {
        width: 250px;
    }
}

.banner-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 1;
}

.banner-content {
    color: var(--primary-color);
    flex: 1;
    text-align: left;
}

.banner-video-wrapper {
    flex: 0 0 auto;
    width: 320px; /* Instagram vertical width */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 4px solid var(--surface-color);
    background: #000;
}

.vertical-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.unmute-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 43, 78, 0.8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.unmute-btn:hover {
    background: var(--accent-color);
}

.banner-content h2 {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.banner-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.banner-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.8;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(13, 43, 78, 0.2);
}

.cta-button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(216, 167, 169, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeInUp 1s ease forwards; }
.animate-fade-in-delayed { animation: fadeInUp 1s ease 0.4s forwards; opacity: 0; }
.animate-slide-up { animation: fadeInUp 1.2s ease 0.2s forwards; opacity: 0; }
.animate-slide-up-delayed { animation: fadeInUp 1.2s ease 0.6s forwards; opacity: 0; }


/* PDF Section & Decorative Elements */
.decorative-pattern {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-image: radial-gradient(circle, var(--accent-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
}

.pdf-section {
    padding: 30px 20px;
    background-color: var(--bg-color);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 400;
}

.header-divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.pdf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.pdf-page-wrapper {
    width: 100%;
    max-width: 900px;
    background: var(--surface-color);
    box-shadow: 0 30px 60px rgba(13, 43, 78, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    border: 1px solid rgba(216, 167, 169, 0.3); /* subtle blush border */
    padding: 20px; /* White frame effect */
}

.pdf-page-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(13, 43, 78, 0.15);
    border-color: rgba(216, 167, 169, 0.7);
}

canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.03); /* slight inner depth */
}

.loading {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-style: italic;
    padding: 40px;
    text-align: center;
    font-family: var(--font-heading);
}

/* Scroll Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.elegant-footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 100px 40px 40px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow/gradient */
.elegant-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(216, 167, 169, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-brand .about-text {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    max-width: 400px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-info .amw-ic {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info small {
    display: block;
    color: rgba(0,0,0,0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.footer-links h4, .footer-newsletter h4, .footer-contact h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-style: italic;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-light);
    flex: 1;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.newsletter-form button:hover {
    color: var(--text-light);
}

.footer-social-new {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-new a {
    color: var(--bg-color);
    background: var(--primary-color);
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-new a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.amw-tourism {
    margin-top: 30px;
}

.amw-tourism img {
    height: 50px;
    border-radius: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

.legal-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.legal-separator {
    color: rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .banner-container {
        flex-direction: column;
        text-align: center;
    }
    .banner-content {
        text-align: center;
    }
    .banner-video-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .video-banner {
        padding: 120px 20px 40px;
    }
    .banner-content h1 {
        font-size: 3rem;
    }
    .banner-content h2 {
        font-size: 1.2rem;
    }
    .header-container {
        padding: 15px 20px;
    }
    
    /* Mobile Header Menu */
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 43, 78, 0.98); /* var(--primary-color) with opacity */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        gap: 40px;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-light) !important;
    }
    
    /* Footer Mobile Tweaks */
    .elegant-footer {
        padding: 60px 20px 20px;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        text-align: left;
    }
    .footer-logo-img {
        margin: 0 0 25px 0;
    }
    .footer-links a:hover {
        transform: translateY(-3px);
    }
    .footer-social-new {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .glass-header::before {
        background-size: 140% auto; /* Ensure festoon fits width */
    }
    .elegant-footer {
        padding: 40px 20px 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto 25px;
    }
    .footer-social-new {
        justify-content: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pdf-container {
        gap: 20px;
    }
    .pdf-section {
        padding: 30px 0px;
    }
}
