@font-face {
    font-family: 'Lovers in New York';
    src: url('Lovers in New York.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: rgb(245, 239, 232);
    color: rgb(92, 23, 69);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION (STICKY) ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(245, 239, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92, 23, 69, 0.08);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(92, 23, 69, 0.06);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    position: relative;
}

.header-logo {
    font-family: 'Lovers in New York', cursive;
    font-size: 22px;
    font-weight: 700;
    color: rgb(92, 23, 69);
    text-decoration: none;
    white-space: nowrap;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: rgb(92, 23, 69);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgb(92, 23, 69);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    opacity: 0.75;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgb(92, 23, 69);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: rgb(92, 23, 69);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 23, 69, 0.15), transparent);
}

/* ===== HERO / HOME ===== */
#home {
    text-align: center;
    padding: 100px 40px 80px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.monogram {
    margin-bottom: 50px;
    animation: fadeInDown 1s ease 0.2s both;
}

.monogram img {
    width: 180px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 2px 8px rgba(92, 23, 69, 0.08));
}

.hero-names {
    font-family: 'Lovers in New York', cursive;
    font-size: 52px;
    font-weight: 400;
    color: rgb(92, 23, 69);
    padding: 15px 20px 20px;
    margin-bottom: 45px;
    line-height: 3;
    letter-spacing: 1px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-rendering: optimizeLegibility;
    transform: translateZ(0);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-date {
    font-family: 'Lovers in New York', cursive;
    font-size: 34px;
    font-weight: 400;
    color: rgb(92, 23, 69);
    line-height: 2;
    margin-bottom: 8px;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-rendering: optimizeLegibility;
    transform: translateZ(0);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-location {
    font-family: 'Lovers in New York', cursive;
    font-size: 26px;
    font-weight: 400;
    line-height: 3;
    color: rgb(92, 23, 69);
    margin-bottom: 40px;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-rendering: optimizeLegibility;
    transform: translateZ(0);
    animation: fadeInUp 1s ease 0.7s both;
}

.countdown {
    font-size: 18px;
    color: rgb(92, 23, 69);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.8s both;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background-color: rgb(92, 23, 69);
    color: rgb(245, 239, 232);
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 1s both;
}

.btn-primary:hover {
    background-color: rgb(72, 15, 53);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 23, 69, 0.2);
}

.btn-calendar {
    display: inline-block;
    background-color: rgb(92, 23, 69);
    color: rgb(245, 239, 232);
    border: none;
    padding: 10px 24px;
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-calendar:hover {
    background-color: rgb(72, 15, 53);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 23, 69, 0.2);
}

/* ===== SECTION BASE ===== */
section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 5px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 50px;
    text-align: center;
    color: rgb(92, 23, 69);
}

.divider {
    width: 60px;
    height: 1px;
    background-color: rgba(92, 23, 69, 0.3);
    margin: 0 auto 50px;
}

/* ===== RSVP SECTION ===== */
#rsvp {
    text-align: center;
}

#rsvp .section-title {
    margin-bottom: 0;
}

.rsvp-description {
    font-size: 20px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
    color: rgba(92, 23, 69, 0.85);
}

.rsvp-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rsvp-form input {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    padding: 14px 20px;
    border: 1px solid rgba(92, 23, 69, 0.2);
    background: rgba(255, 255, 255, 0.5);
    color: rgb(92, 23, 69);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.5px;
}

.rsvp-form input::placeholder {
    color: rgba(92, 23, 69, 0.4);
}

.rsvp-form input:focus {
    border-color: rgb(92, 23, 69);
    box-shadow: 0 0 0 3px rgba(92, 23, 69, 0.06);
}

.rsvp-form .btn-primary {
    animation: none;
    align-self: center;
}

/* ===== ITINERARY SECTION ===== */
#itinerary {
    text-align: center;
}

.day-group {
    margin-bottom: 55px;
}

.day-group:last-child {
    margin-bottom: 0;
}

.day-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: rgb(92, 23, 69);
}

.event-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(92, 23, 69, 0.08);
    padding: 30px 35px;
    margin-bottom: 16px;
}

.event-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: rgb(92, 23, 69);
    margin-bottom: 8px;
}

.event-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: rgba(92, 23, 69, 0.7);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.event-location {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: rgba(92, 23, 69, 0.6);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.event-note {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(92, 23, 69, 0.75);
    margin-bottom: 8px;
}

.event-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(92, 23, 69, 0.6);
    padding: 6px 12px;
    border: 1px solid rgba(92, 23, 69, 0.2);
    border-radius: 2px;
}

/* ===== ACCOMMODATIONS SECTION ===== */
#accommodations {
    text-align: center;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.hotel-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(92, 23, 69, 0.08);
    padding: 40px 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
}

.hotel-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(92, 23, 69, 0.15);
    box-shadow: 0 6px 25px rgba(92, 23, 69, 0.06);
    transform: translateY(-3px);
}

.hotel-card * {
    text-decoration: none !important;
    color: inherit !important;
}

.hotel-icon {
    font-size: 28px;
    margin-bottom: 18px;
    opacity: 0.6;
}

.hotel-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.6;
    margin-bottom: 10px;
}

.hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: rgb(92, 23, 69);
    line-height: 1.3;
}

.hotel-address {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.6;
    margin-top: 10px;
    margin-bottom: 10px;
}

.travel-planner {
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(92, 23, 69, 0.85);
}

.travel-planner a {
    color: rgb(92, 23, 69);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.travel-planner a[href^="tel:"] {
    text-decoration: none;
}

/* ===== FAQS SECTION ===== */
#faqs {
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(92, 23, 69, 0.1);
    text-align: left;
}

.faq-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: rgb(92, 23, 69);
    padding: 20px 35px 20px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: rgba(92, 23, 69, 0.8);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(92, 23, 69, 0.75);
    padding: 0 20px 25px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Scroll-based fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .header-inner {
        padding: 12px 20px;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(245, 239, 232, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 30px 30px;
        gap: 18px;
        border-bottom: 1px solid rgba(92, 23, 69, 0.08);
    }

    nav.open {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    section {
        padding: 60px 24px;
    }

    #home {
        padding: 80px 24px 60px;
        min-height: auto;
    }

    .hero-names {
        font-size: 36px;
    }

    .hero-date {
        font-size: 26px;
        line-height: 2.5;
    }

    .hero-location {
        font-size: 20px;
    }

    .monogram img {
        width: 180px;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-card {
        padding: 24px 20px;
    }

    .faq-question {
        font-size: 19px;
        padding: 20px 35px 20px 0;
    }

    .faq-answer-inner {
        font-size: 16px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-names {
        font-size: 28px;
    }

    .btn-primary {
        padding: 12px 40px;
    }
}