/* ==========================================
   ROYAL INDIAN WEDDING OPENING SCREEN
   RUCHI & SARTHAK
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Hind:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
    --royal-gold: #d6ad68;
    --royal-light: #f7e5bd;
    --royal-navy: #10182d;
}

/* Lock page scrolling while opening overlay is visible */
body.overlay-active {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

/* Fullscreen fixed opening overlay covering all cards */
#overlay.royal-wedding-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    isolation: isolate;
    background-image: url("../images/overlay.JPG") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease-in-out;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 155, 79, 0.4) transparent;
}

#overlay.royal-wedding-overlay::-webkit-scrollbar {
    width: 5px;
}

#overlay.royal-wedding-overlay::-webkit-scrollbar-thumb {
    background: rgba(201, 155, 79, 0.4);
    border-radius: 4px;
}

/* Smooth exit animation when opening the invitation */
#overlay.royal-wedding-overlay.hide-overlay {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Improve existing background darkness */
#overlay.royal-wedding-overlay::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 13, 28, .75),
        rgba(12, 18, 36, .50),
        rgba(5, 10, 23, .80)
    );
    pointer-events: none;
    z-index: -1;
}

/* Main content centered vertically via auto margins to prevent flex cutoff bug */
.royal-wedding-overlay .content {
    background: transparent !important;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: clamp(8px, 1.8vh, 18px) 15px;
    box-sizing: border-box;
}

.royal-wedding-overlay .content .container {
    margin-top: auto !important;
    margin-bottom: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Top label */
.wedding-kicker {
    color: var(--royal-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(11px, 1.5vh, 13px);
    letter-spacing: clamp(2px, 0.4vw, 4px);
    margin-bottom: clamp(4px, 1vh, 10px);
    padding-top: 0;
}

.kicker-divider {
    color: var(--royal-gold);
    margin: 0 8px;
}

/* Logo */
.logo-frame {
    display: inline-block;
    position: relative;
    margin: 0 auto clamp(2px, 0.6vh, 6px);
}

.couple-main {
    width: clamp(80px, 11vh, 120px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(225, 174, 83, .45));
    animation: royalLogoFloat 4s ease-in-out infinite;
}

/* Ganesh mantra */
.ganesh-mantra {
    color: var(--royal-light);
    font-family: 'Hind', sans-serif;
    font-size: clamp(13px, 1.9vh, 17px);
    letter-spacing: 2px;
    margin: clamp(2px, 0.6vh, 5px) 0 clamp(3px, 0.8vh, 6px);
}

/* Names */
.royal-couple-name {
    color: var(--royal-light) !important;
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(38px, 5.8vh, 64px) !important;
    font-weight: 400 !important;
    margin: clamp(2px, 0.6vh, 6px) 0 !important;
    line-height: 1.15 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .55);
}

.royal-couple-name span {
    color: var(--royal-gold);
    font-size: .8em;
}

/* Ornamental divider */
.royal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--royal-gold);
    margin: clamp(3px, 0.8vh, 6px) auto clamp(6px, 1.1vh, 10px);
}

.royal-divider::before,
.royal-divider::after {
    content: "";
    width: clamp(35px, 6vw, 60px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--royal-gold)
    );
}

.royal-divider::after {
    transform: rotate(180deg);
}

.royal-divider span {
    font-size: clamp(16px, 2vh, 20px);
}

/* Hindi invitation */
.hindi-invitation {
    color: #fff9ef;
    font-family: 'Hind', sans-serif;
    font-size: clamp(13px, 1.8vh, 17px);
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 2px 8px #000;
}

.second-line {
    margin-top: 2px;
}

/* Date and venue */
.wedding-date {
    margin: clamp(6px, 1.2vh, 12px) auto clamp(4px, 1vh, 10px);
}

.date-label {
    display: block;
    color: var(--royal-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(10px, 1.3vh, 12px);
    letter-spacing: clamp(3px, 0.5vw, 5px);
}

.date-value {
    color: var(--royal-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.7vh, 25px);
    letter-spacing: clamp(4px, 0.6vw, 7px);
    margin: clamp(2px, 0.4vh, 4px) 0;
}

.date-location {
    color: #f1dfbf;
    font-size: clamp(9px, 1.2vh, 11px);
    letter-spacing: 2px;
}

/* Invitation button */
.open-button,
.open-button.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(8px, 1.3vh, 12px) clamp(22px, 3.5vw, 34px);
    margin-top: clamp(4px, 0.8vh, 8px);
    border-radius: 50px;
    border: 1px solid #f2d59a !important;
    background: linear-gradient(
        120deg,
        #b7863d,
        #f5dda5,
        #bd914a
    ) !important;
    color: #172039 !important;
    font-family: 'Hind', sans-serif;
    font-size: clamp(14px, 1.8vh, 16px);
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
    transition: all .35s ease;
}

.open-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(225, 184, 105, .55);
}

.button-star {
    font-size: clamp(13px, 1.6vh, 16px);
    animation: starGlow 2s infinite;
}

/* Bottom caption */
.bottom-caption {
    color: rgba(255, 231, 191, .75);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(9px, 1.1vh, 10.5px);
    letter-spacing: 2px;
    margin-top: clamp(6px, 1.1vh, 10px);
    margin-bottom: 0;
}

/* Animations */
@keyframes royalLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes starGlow {
    0%, 100% {
        opacity: .65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

/* Mobile and Small Screens */
@media (max-width: 600px) {
    #overlay.royal-wedding-overlay {
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .wedding-kicker {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 6px;
    }

    .couple-main {
        width: clamp(75px, 11vh, 105px);
    }

    .ganesh-mantra {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .royal-couple-name {
        font-size: clamp(34px, 5.5vh, 48px) !important;
    }

    .hindi-invitation {
        font-size: 14px;
        line-height: 1.45;
    }

    .date-label {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .date-value {
        font-size: 20px;
        letter-spacing: 5px;
        margin: 2px 0;
    }

    .date-location {
        font-size: 9.5px;
        letter-spacing: 1.5px;
    }

    .open-button,
    .open-button.btn-primary {
        padding: 9px 24px;
        font-size: 14.5px;
        gap: 8px;
    }

    .bottom-caption {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-top: 8px;
    }
}

/* Height-based adjustments for short screens & laptops */
@media (max-height: 700px) {
    .wedding-kicker {
        margin-bottom: 4px;
    }
    .couple-main {
        width: 80px;
    }
    .royal-couple-name {
        font-size: 38px !important;
        margin: 2px 0 !important;
    }
    .wedding-date {
        margin: 6px auto;
    }
    .bottom-caption {
        margin-top: 6px;
    }
}

@media (max-height: 560px) {
    .wedding-kicker {
        display: none;
    }
    .couple-main {
        width: 65px;
    }
    .ganesh-mantra {
        margin: 1px 0;
    }
    .royal-couple-name {
        font-size: 32px !important;
    }
    .hindi-invitation {
        font-size: 12.5px;
    }
    .wedding-date {
        margin: 4px auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .couple-main,
    .button-star {
        animation: none;
    }
}

/* ==========================================
   SARTHAK & RUCHI
   ROYAL LUXURY WEDDING INTRODUCTION
========================================== */

.wedding-intro {
    padding: 35px 25px 45px;
    position: relative;
}

/* FAMILY INVITATION */

.family-invitation {
    margin: 0 auto 25px;
    max-width: 620px;
}

.family-top-label {
    display: block;
    font-family: 'Laila', serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #ad8954;
    margin-bottom: 22px;
    font-weight: 600;
}

.family-names {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 530px;
    margin: auto;
}

.family-block {
    flex: 1;
    text-align: center;
}

.family-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 600;
    color: #19375c;
    margin: 0 0 5px;
    letter-spacing: 1px;
}

.family-block span {
    font-family: 'Laila', serif;
    font-size: 10px;
    color: #b18b55;
    letter-spacing: 2px;
}

.family-symbol {
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    color: #bd9860;
    padding: 0 18px;
    font-style: italic;
}

/* ORNAMENTAL DIVIDER */

.wedding-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #bd9860;
    font-size: 24px;
    margin: 25px auto;
}

.wedding-divider span {
    width: 75px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #bd9860
    );
}

.wedding-divider span:last-child {
    transform: rotate(180deg);
}

/* HINDI WEDDING SUBTITLE */

.wedding-subtitle {
    display: block;
    font-family: 'Yatra One', serif;
    font-size: 19px;
    color: #b18b55;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* COUPLE NAMES */

.hindi-wedding-title {
    font-family: 'Yatra One', serif !important;
    font-size: 43px;
    color: #19375c;
    margin: 10px 0 22px;
    font-weight: 400;
    line-height: 1.6;
}

/* ENGLISH SHAYARI */

.wedding-shayari {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 500;
    font-style: italic;
    color: #19375c;
    line-height: 1.5;
    margin: 15px 0;
}

/* SMALL GOLD ORNAMENT */

.small-gold-divider {
    color: #bd9860;
    font-size: 17px;
    margin: 14px 0;
}

/* DESCRIPTION */

.wedding-description {
    font-family: 'Laila', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    color: #716b64;
    max-width: 720px;
    margin: 15px auto;
}

/* INVITATION */

.wedding-invitation {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    color: #19375c;
    line-height: 1.8;
    max-width: 700px;
    margin: 20px auto;
}

/* DATE */

.wedding-date-label {
    font-family: 'Laila', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #ad8954;
    margin-top: 25px;
}

.wedding-date-label span {
    padding: 0 9px;
    color: #c3a06b;
}

/* MOBILE RESPONSIVE */

@media (max-width: 767px) {

    .wedding-intro {
        padding: 25px 15px 35px;
    }

    .family-top-label {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .family-block h3 {
        font-size: 27px;
    }

    .family-block span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .family-symbol {
        font-size: 23px;
        padding: 0 9px;
    }

    .hindi-wedding-title {
        font-size: 32px;
    }

    .wedding-subtitle {
        font-size: 17px;
    }

    .wedding-shayari {
        font-size: 24px;
    }

    .wedding-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .wedding-invitation {
        font-size: 18px;
        line-height: 1.7;
    }

    .wedding-date-label {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

/* ==========================================
   COUNTDOWN TIMER RESPONSIVE (SINGLE ROW ON MOBILE)
========================================== */
.simply-countdown {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important; /* Force all 4 circles in ONE row */
    gap: 12px;
    margin: 0 auto 2em !important;
    padding: 0 4px;
    max-width: 100%;
    box-sizing: border-box;
}

.simply-countdown > .simply-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 95px !important;
    height: 95px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: rgba(17, 52, 104, 0.85) !important;
    border: 1px solid rgba(201, 155, 79, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.simply-countdown > .simply-section > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center;
}

.simply-countdown > .simply-section .simply-amount {
    font-size: 28px !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    font-weight: 700;
}

.simply-countdown > .simply-section .simply-word {
    font-size: 11px !important;
    color: #f7e5bd !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Tablet & Medium Screens */
@media (max-width: 768px) {
    .simply-countdown {
        gap: 8px !important;
    }
    .simply-countdown > .simply-section {
        width: 82px !important;
        height: 82px !important;
    }
    .simply-countdown > .simply-section .simply-amount {
        font-size: 24px !important;
    }
    .simply-countdown > .simply-section .simply-word {
        font-size: 10px !important;
    }
}

/* Mobile Screens (All 4 in ONE single row) */
@media (max-width: 480px) {
    .simply-countdown {
        gap: 6px !important;
        padding: 0 !important;
    }
    .simply-countdown > .simply-section {
        width: clamp(68px, 20vw, 76px) !important;
        height: clamp(68px, 20vw, 76px) !important;
    }
    .simply-countdown > .simply-section .simply-amount {
        font-size: clamp(18px, 5.2vw, 22px) !important;
    }
    .simply-countdown > .simply-section .simply-word {
        font-size: clamp(8px, 2.3vw, 10px) !important;
        letter-spacing: 0.5px;
    }
}

/* Very Small Mobile Screens (360px and below) */
@media (max-width: 360px) {
    .simply-countdown {
        gap: 4px !important;
    }
    .simply-countdown > .simply-section {
        width: 64px !important;
        height: 64px !important;
    }
    .simply-countdown > .simply-section .simply-amount {
        font-size: 17px !important;
    }
    .simply-countdown > .simply-section .simply-word {
        font-size: 7.5px !important;
    }
}

/* ==========================================
   FOOTER COMPACT STYLING
========================================== */
#fh5co-footer {
    padding: 25px 0 90px !important;
    clear: both;
    position: relative;
    z-index: 10;
}

#fh5co-footer .copyright {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

#fh5co-footer .copyright p {
    margin-bottom: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#fh5co-footer .copyright p small {
    color: #888 !important;
    font-size: 12px !important;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    #fh5co-footer {
        padding: 20px 0 85px !important;
    }
}

/* ==========================================
   FLOATING AUDIO BUTTON & BOTTOM NAV FIXES
========================================== */
#floating-button .audio-play {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#floating-button .audio-play:hover {
    transform: scale(1.1) !important;
}

@media (max-width: 768px) {
    #floating-button .audio-play {
        position: fixed !important;
        top: auto !important;
        bottom: 85px !important;
        right: 18px !important;
        left: auto !important;
        margin: 0 !important;
        width: 38px !important;
        height: 38px !important;
        background: #ffffff !important;
        border: 2px solid #395f95 !important;
        z-index: 1000 !important;
    }

    #floating-button .audio-play img {
        width: 20px !important;
        height: 20px !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* ==========================================
   WEDDING VIDEO SECTION (16:9 RESPONSIVE)
========================================== */
.wedding-video-container {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 15px auto 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(17, 52, 104, 0.18), 0 0 0 1px rgba(201, 155, 79, 0.35);
    background: #000;
}

.wedding-video-container .video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.wedding-video-container .video-responsive iframe,
.wedding-video-container .video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* ========================================================
   ROYAL BABY PINK & BLUSH PASTEL THEME
   Replaces cold blue/gray background with dreamy baby pink
======================================================== */
body, #page {
    background-color: #fff5f7 !important;
}

/* Header section background */
#fh5co-header {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(254, 215, 226, 0.45) 0%, transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fff2f5 100%) !important;
}

/* Couple section background */
#fh5co-couple {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 230, 236, 0.50) 0%, transparent 80%),
        linear-gradient(180deg, #fff2f5 0%, #fdebee 50%, #fff0f3 100%) !important;
}

/* Event Section Background - Luxurious Baby Pink & Rose Quartz Wash */
#fh5co-event {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 204, 218, 0.60) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(254, 214, 226, 0.65) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(255, 235, 240, 0.70) 0%, transparent 75%),
        linear-gradient(180deg, #fff2f5 0%, #fdebed 50%, #fce4eb 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(230, 180, 195, 0.35) !important;
}

/* Remove old blue brush image completely */
#fh5co-event::before {
    display: none !important;
}

/* Soft ambient watercolor wash on event section */
#fh5co-event::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 25%, rgba(255, 220, 230, 0.40) 0%, transparent 35%),
        radial-gradient(circle at 88% 25%, rgba(255, 210, 225, 0.45) 0%, transparent 35%),
        radial-gradient(circle at 35% 80%, rgba(254, 215, 226, 0.45) 0%, transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(255, 225, 235, 0.40) 0%, transparent 35%);
    opacity: 0.9;
    z-index: 0;
}

/* Keep event content above the background effects */
#fh5co-event .container {
    position: relative;
    z-index: 1;
}

/* Event cards: Opulent pearlescent card on baby pink background */
#fh5co-event .event-wrap {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid rgba(189, 150, 86, 0.45) !important;
    border-radius: 18px !important;
    box-shadow:
        0 14px 42px rgba(180, 80, 110, 0.12),
        0 2px 8px rgba(189, 150, 86, 0.15) !important;
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

#fh5co-event .event-wrap:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 20px 48px rgba(180, 80, 110, 0.18),
        0 4px 14px rgba(189, 150, 86, 0.22) !important;
}

/* Date box inside event cards: Soft blush tint */
.event-date-box {
    background: rgba(255, 240, 244, 0.90) !important;
    border: 1px solid rgba(189, 150, 86, 0.38) !important;
    box-shadow: 0 4px 14px rgba(180, 80, 110, 0.06);
}

/* Venue box inside event cards */
.event-venue-box {
    background: rgba(255, 248, 250, 0.85) !important;
    border: 1px solid rgba(225, 185, 195, 0.45) !important;
}

/* Event card buttons: Royal burgundy with gold hover */
#fh5co-event .event-wrap .btn-primary {
    background: #963b50 !important;
    border-color: #963b50 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 18px rgba(150, 59, 80, 0.28) !important;
    transition: all 0.3s ease !important;
}

#fh5co-event .event-wrap .btn-primary:hover {
    background: #7c263c !important;
    border-color: #bd9656 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(124, 38, 60, 0.38) !important;
    transform: translateY(-2px);
}


