/* =================================
   RESET
==================================== */
html {
    scroll-behavior: smooth;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* =================================
   GLOBAL STYLES
==================================== */
body {
    font-family: Georgia, serif;
    scroll-behavior: smooth;
}
section {
    scroll-margin: 140px;
}
.section-title {
    color: #2E2E2E;
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.hidden {
    opacity: 0;
    transform: translateY(60px);
    transition: 
            opacity 0.8s ease,
            transform 0.8s ease;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

/* =================================
   HEADER
==================================== */
header {
    background: rgba(255, 252, 247, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 164, 143, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 20px 40px;
    position: sticky;
    text-align: center;
    top: 0;
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
}
.header-content {
    padding: 20px;
}
.couple-names {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.main-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.nav-link {
    color: #5A4A42;
    font-size: 0.95rem;
    text-decoration: none;
}
.nav-link:hover {
    color: #b8860b;
}
.nav-link.active {
    color: #b8860b;
    font-weight: bold;
}
.menu-toggle{
    background:none;
    border:none;
    color:#5A4A42;
    cursor:pointer;
    display:none;
    font-size:2rem;
}

/* =================================
   HERO
==================================== */
.hero {
    isolation: isolate;
    overflow: hidden;
    padding: 80px 20px;
    position: relative;
    text-align: center;
    background: linear-gradient(
        to bottom,
        #fffefc,
        #fffdf8
    );
}
.hero-image {
    border: 12px solid #fff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto 45px;
    max-width: 700px;
    width: 100%;
}
.hero-initials {
    color: #222;
    font-family: "Cormorant Garamond", serif;
    font-size: 4.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.hero-date {
    color: #777;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.hero-message {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
}
.hero > * {
    position: relative;
    z-index: 2;
}

/* =================================
   HERO FLORAL WATERMARK
==================================== */

.hero::before {
    background: url("images/hero-floral-background.png") center center no-repeat;
    background-size: 95%;
    content: "";
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

/* =================================
   OUR STORY
==================================== */
.our-story {
    background: #fffdf8;
    padding: 55px 10px;
}
.story-container {
    margin: 0 auto;
    max-width: 850px;
    text-align: center;
}
.story-text {
    color: #6B6B6B;
    font-size: 1.1rem;
    line-height: 2;
}
.title-divider {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: center;
    margin: 0 0 35px;
}
.title-divider span:first-child,
.title-divider span:last-child {
    background: #D8A48F;
    height: 2px;
    width: 60px;
}
.heart {
    color: #D8A48F;
    font-size: 1.2rem;
}

/* =================================
   MEET THE COUPLE
==================================== */
.meet-the-couple {
    padding: 120px 10%;
}
.meet-container {
    margin: 0 auto;
    max-width: 1100px;
}
.meet-container .section-title {
    margin-bottom: 35px;
    text-align: center;
}
.meet-the-couple .title-divider {
    margin-top: -25px;
}
.couple-grid {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: 1100px;
}
.person-card {
    text-align: center;
}
.person-card img {
    border-radius: 12px;
    height: 300px;
    margin-bottom: 25px;
    object-fit: cover;
    width: 230px;
}
.person-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    margin-bottom: 25px;
}
.person-card p {
    color: #666;
    line-height: 1.8;
}
.name-divider {
    background: #D8A48F;
    height: 2px;
    margin: 0 0 18px;
    width: 40px;
}

/* =================================
   WEDDING DETAILS
==================================== */
.wedding-details {
    background: #fffdf8;
    padding: 120px 10px;
    text-align: center;
}
.wedding-details .title-divider {
    margin-top: 20px;
}
.details-container {
    margin: 0 auto;
    max-width: 1100px;
}
.details-container .section-title {
    margin-bottom: 60px;
    text-align: center;
}
.details-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 60px;
}
.detail-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: center;
    transition: 3s;
}
.detail-card:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    transform: translateY(-8px);
}
.detail-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}
.detail-card h3 {
    color: #2E2E2E;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 18px;
}
.detail-card p {
    color: #6B6B6B;
    font-size: 1rem;
    line-height: 1.8;
}

/* =================================
   COUNTDOWN
==================================== */
.countdown {
    padding: 120px 10px;
    text-align: center;
}
.countdown-subtitle {
    color: #B8895A;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}
.countdown-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: 900px;
}
.countdown-box {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}
.countdown-box span {
    color: #2E2E2E;
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
}
.countdown-box p {
    color: #777;
    margin-top: 10px;
}

/* =================================
   RSVP
==================================== */
.rsvp {
    background: #fffdf8;
    padding: 120px 10px;
}
.rsvp-container {
    margin: 0 auto;
    max-width: 700px;
    text-align: center;
}
.rsvp-subtitle {
    color: #B8895A;
    line-height: 1.8;
    margin-bottom: 50px;
}
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    background: white;
    border: 1px solid #E8E3DB;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    padding: 18px;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-color: #D8A48F;
    outline: none;
}
.rsvp-form button {
    background: #D8A48F;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 18px;
    transition: all 0.3s ease;
}
.rsvp-form button:hover {
    background: #C8917A;
}

/* =================================
   GALLERY
==================================== */
.gallery {
    background: #FAF7F2;
    padding: 120px 10px;
}
.gallery-container {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}
.gallery-subtitle {
    color: #6B6B6B;
    margin-bottom: 50px;
}
.gallery-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
.gallery-grid img {
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 350px;
    object-fit: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    width: 100%;
}
.gallery-grid img:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.03);
}

/* =================================
   WEDDING SCHEDULE
==================================== */
.schedule {
    background: #fff;
    padding: 120px 10px;
}
.schedule-container {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}
.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.timeline-item {
    align-items: flex-start;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    padding: 30px;
    transition: 0.3s ease;
}
.timeline-item:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}
.time {
    color: #D8A48F;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    min-width:110px;
}
.event {
    text-align: left;
}
.event h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.event p {
    color: #666;
    line-height: 1.8;
}

/* =================================
   GIFT REGISTRY
==================================== */
.gift {
    background: #FAF7F2;
    padding: 120px 10px;
}
.gift-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 750px;
    padding: 60px 40px;
    text-align: center;
}
.gift-text {
    color: #666;
    line-height: 2; 
    margin: 30px auto 45px;
    max-width: 550px;  
}
.gift-button {
    align-items:center;
    background: #D8A48F;
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    display:inline-flex;
    font-size: 1rem;
    gap: 10px;
    padding: 18px 40px;
    transition: 0.3s ease;
}
.gift-button:hover {
    background: #C8917A;
    box-shadow: 0 12px 30px rgba(216, 164, 143, 0.35);
    transform: translateY(-4px);
}
.gift-arrow {
    transition:transform 0.35s ease;
}
.gift-button.active .gift-arrow {
    transform:rotate(180deg);
}

/* =================================
   FAQ
==================================== */
.faq {
    background: white;
    padding: 120px 10px;
}
.faq-container {
    margin: 0 auto;
    max-width: 800px;
}
.faq-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    margin-bottom: 25px;
    padding: 30px;
    transition: 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    transform: translateY(-6px);
}
.faq-item h3 {
    color: #D8A48F;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* =================================
   CONTACT
==================================== */
.contact {
    background: #FAF7F2;
    padding: 120px 10px;
    text-align: center;
}
.contact-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
    margin: auto;
    max-width: 700px;
    padding: 60px 40px;
    text-align: center;
}
.contact p {
    color: #666;
    font-size: 1.05rem;
    line-height: 2;
    margin-top: 18px;
}

/* =================================
   DIRECTIONS
==================================== */
.direction {
    background: #fff;
    padding: 120px 10px;
    text-align: center;
}
.direction-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}
.direction-text {
    color: #6B6B6B;
    line-height: 1.8;
    margin: 0 auto 50px;
    max-width: 600px;
    text-align: center;
}
.location-card {
    background: #FFFDF8;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 50px 40px;
    text-align: center;
}
.location-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.location-card h3 {
    color: #2E2E2E;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.location-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}
.map-button {
    display: inline-block;
    background: #D8A48F;
    color: #fff;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s ease;
}
.map-button:hover {
    background: #C8917A;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(216, 164, 143, 0.35);
}

/* =================================
   FOOTER
==================================== */
footer {
    background: #1F1F1F;
    color: #F5F5F5;
    padding: 50px 20px;
    text-align: center;
}
footer p {
    color: #CCCCCC;
    font-size: 0.95rem;
    margin: 10px 0;
}

/* =================================
   LIGHTBOX
==================================== */
.lightbox {
    align-items: center;
    background: rgba(0, 0, 0, .9);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: fixed;
    transition: 3s ease;
    visibility: hidden;
    z-index: 5000;
}
.lightbox.show {
    opacity: 1;
    visibility: visible;
}
.lightbox-image {
    border-radius: 18px;
    max-width: 90%;
    max-height: 85%;
}
.close-lightbox {
    color: #fff;
    cursor: pointer;
    font-size: 3rem;
    position: absolute;
    right: 40px;
    top: 30px;
}

/* =================================
    FAQ Accordion Styles
==================================== */
.faq-question {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-icon {
    color: #D8A48F;
    font-size: 2rem;
    transition: 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 500px; 
}

/* =================================
    RSVP Success Message 
==================================== */
.success-message {
    color: #2E8B57;
    display: none;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 25px;
}
.success-message.show {
    display: block;
}
.rsvp-form button:disabled {
    cursor:not-allowed;
    opacity: 0.7;
}

/* ===========================
   Gift Details
=========================== */
.gift-details {
    display:none;
    gap: 25px;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    margin-top: 35px;
}
.gift-details.show {
    display:grid;
}
.gift-card {
    background:#fff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    opacity: 0;
    padding: 30px;
    text-align: left;
    transform:translateY(25px);
}
.gift-details.show .card-1 {
    animation:giftReveal 0.45s ease forwards;
}
.gift-details.show .card-2 {
    animation: giftReveal 0.45s ease forwards;
    animation-delay: 0.15s;
}
.gift-card h3 {  
    color: #C9A227;
    margin-bottom: 20px;
}
.copy-btn {
    background:#C9A227;
    border:none;
    border-radius:8px;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    margin-left:12px;
    padding:8px 14px;
    transition: 0.3s;
}
.copy-btn:hover {
    background:#b8921d;
}
.copy-btn:disabled {
    background:#2E8B57;
    cursor:default;
}
.copy-message {
    color:#2E8B57;
    font-weight:600;
    margin-top:16px;
    min-height:22px;
    opacity:0;
    transform:translateY(-5px);
    transition:opacity 0.3s ease, transform 0.3s ease;
}
.copy-message.show {
    opacity:1;
    transform:translateY(0);
}

@keyframes giftReveal {

    from {
        opacity:0;
        transform:translateY(25px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }
}



@media (max-width: 768px) {
.header-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0;
}
.menu-toggle {
    display: block;
}
.main-nav {
    display: none;
    flex-direction:column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}
.main-nav.show{
    display:flex;
}
    .hero h1 {
        font-size: 2.5rem;
    }
    .couple-names {
        font-size: 2rem;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .nav-link {
        padding: 6px 8px;
    }
    .hero {
        padding: 50px 20px;
    }
    .hero-initials {
        font-size: 3rem;
    }
    .hero-date {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    .hero-message {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .hero-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 25px;
    }
    .hero::before{
    background-size: 150%;
    opacity: 0.15;
    }
    section {
        scroll-margin-top: 250px;
    }
    .section-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    .meet-the-couple {
        padding: 80px 20px;
    }
    .meet-container {
        flex-direction: column;
        gap: 25px;
    }
    .meet-container::after {
        content: "";
        display: none;
    }
    .couple-grid {
        gap: 50px;
        grid-template-columns: 1fr;
    }
    .person-card {
        align-items: center;
        display: flex;
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 12px 35px rgba(0,0,0,.08);
        gap: 18px;
        padding: 18px;
    }
    .person-card img {
        border-radius: 12px;
        flex-shrink: 0;
        height: 160px;
        object-fit: cover;
        width: 120px;
    }
    .person-card h3 {
        font-size: 2rem;
        margin-bottom: 6px;
        text-align: left;
    }
    .person-card p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.9;
        margin-top: 12px;
        text-align: left;
    }
    .person-info {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        padding-left: 18px;
    }
    .details-grid {
        grid-template-columns:1fr;
    }
    .detail-card {
        padding: 30px 20px;
    }

.nav-link.active {
    color: #D8A48F !important;
    font-weight: bold !important;
}
.nav-link:hover {
    color: inherit;
}
.countdown-grid {
    gap:18px;
    grid-template-columns:repeat(2,1fr);
}
.countdown-box {
    padding: 25px 15px;
}
.countdown-box span {
    font-size: 2.5rem;
}
.countdown-box p {
    font-size: 0.9rem;
}
.countdown-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 0 10px;
}
.countdown {
    padding: 80px 20px;
}
.gallery-grid {
    gap: 20px;
    grid-template-columns: 1fr;
}
.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.timeline-item {
    flex-direction: column;
    text-align: center;
}
.time {
    font-size: 2rem;
    min-width: auto;
}
.event {
    text-align: center;
}
.gift-container {
    padding: 40px 25px;
}
.gift-text {
    font-size: 0.95rem;
}
.faq-item {
    padding: 22px;
}
.faq-item h3 {
    font-size: 1.5rem;
}
.contact-container {
    padding: 40px 25px;
}
.contact p {
    font-size: 0.95rem;
}
.directions {
    padding: 80px 20px;
}
.location-card {
    padding: 35px 25px;
}
.location-card h3 {
    font-size: 1.7rem;
}
.location-icon {
    font-size: 2.3rem;
}
.map-button {
    padding: 16px;
    width: 100%;
}
.photo-floral-top{
    left: -20px;
    top: -20px;
    width: 90px;
}
.photo-floral-bottom{
    bottom: -20px;
    right: -20px;
    width: 100px;
}
}





