* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #C2511D;
    --secondary: #E89C3A;
    --background: #F8F1E5;
    --text-dark: #2B1B0F;
    --accent1: #8B3C1C;
    --accent2: #6A2C14;
    --highlight-fade: #FFE4C7;
    --contrast-shadow: #5A4637;
    --text-light: #FFFDFB;
    --box-background: #FDFAF5;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(248, 241, 229, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(90, 70, 55, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    line-height: 0.9;
    white-space: nowrap;
}

.wedding-date {
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 0.125rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: 'Inter', sans-serif;
}

.wedding-location {
    font-size: 0.85rem;
    color: var(--contrast-shadow);
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-style: italic;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--box-background);
    border: 1px solid rgba(90, 70, 55, 0.15);
    border-radius: 2px;
    width: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.countdown-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.countdown-item span {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-feature-settings: 'tnum';
    margin-bottom: 0.25rem;
}

.countdown-item label {
    font-size: 0.65rem;
    color: var(--contrast-shadow);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* General Section Styles */
.section {
    padding: 8rem 0;
    position: relative;
    scroll-margin-top: 100px;
    background: var(--background);
}

.section:not(:last-child) {
    border-bottom: 1px solid rgba(90, 70, 55, 0.1);
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: var(--primary);
}

/* h3 styling (subsection headers) */
.rsvp-item h3,
.venue-item h3,
.food-item h3,
.gift-item h3,
.accommodation-box h3,
.contact-person h3,
.timeline-content h3,
.morning-after h3,
.venue-content > h3,
.food-content > h3,
.gift-content > h3,
.accommodation-content > h3,
.faq-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: left;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.venue-content > h3,
.food-content > h3,
.gift-content > h3,
.accommodation-content > h3 {
    margin: 2rem 0 1rem 0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.morning-after h3 {
    margin-bottom: 0.85rem;
}

.faq-item h3 {
    background: var(--box-background);
    color: var(--text-dark);
    padding: 1.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    text-align: left;
    line-height: 1.3;
}

/* h4 styling (hotel names - clean and prominent) */
.hotel-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.hotel-item p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hotel-item p:last-child {
    margin-bottom: 0;
}

.hotel-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.hotel-links p {
    margin-bottom: 0;
}

.hotel-item a {
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.hotel-item a:hover {
    background: var(--primary);
    color: var(--box-background);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(194, 81, 29, 0.3);
}

/* Make venue links look like hotel buttons */
.venue-item .hotel-links a {
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.venue-item .hotel-links a:hover {
    background: var(--primary);
    color: var(--box-background);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(194, 81, 29, 0.3);
}

/* Remove underlines from all subsection headers */
.rsvp-item h3::after,
.venue-item h3::after,
.food-item h3::after,
.gift-item h3::after,
.accommodation-box h3::after,
.faq-item h3::after,
.contact-person h3::after,
.timeline-content h3::after,
.morning-after h3::after,
.venue-content > h3::after,
.food-content > h3::after,
.gift-content > h3::after,
.accommodation-content > h3::after {
    display: none;
}

/* Content Sections */
.rsvp-content,
.venue-content,
.food-content,
.gift-content,
.accommodation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.rsvp-content > p,
.venue-content > p,
.food-content > p,
.gift-content > p,
.accommodation-content > p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.65;
    font-weight: 400;
}

.venue-content > p {
    text-align: center;
}

.gift-content > p:last-of-type,
.accommodation-content > p:last-of-type {
    margin-bottom: 2rem;
}


/* Content Links */
.rsvp-content a,
.venue-content a,
.food-content a,
.gift-content a,
.accommodation-content a,
.morning-after a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.rsvp-content a:hover,
.venue-content a:hover,
.food-content a:hover,
.gift-content a:hover,
.accommodation-content a:hover,
.morning-after a:hover {
    color: var(--accent1);
    border-bottom-color: var(--accent1);
}

/* Grid Layouts */
.rsvp-info,
.venue-info,
.food-info,
.gift-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hotel-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Box Items */
.rsvp-item,
.venue-item,
.food-item,
.gift-item {
    background: var(--box-background);
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
}


.rsvp-item p,
.venue-item p,
.food-item p,
.gift-item p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.rsvp-item p:last-child,
.venue-item p:last-child,
.food-item p:last-child,
.gift-item p:last-child {
    margin-bottom: 0;
}

.rsvp-item a,
.venue-item a,
.food-item a,
.gift-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.rsvp-item a:hover,
.venue-item a:hover,
.food-item a:hover,
.gift-item a:hover {
    color: var(--accent1);
    border-bottom-color: var(--accent1);
}

.venue-item ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 1.5rem 0;
}

.venue-item li {
    color: var(--contrast-shadow);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.venue-item li:last-child {
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    align-items: start;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 50px;
    width: 1px;
    height: calc(100% + 1rem);
    background: rgba(90, 70, 55, 0.15);
}

.timeline-time {
    background: var(--box-background);
    color: var(--text-dark);
    padding: 0.85rem 0.5rem;
    border: 1px solid rgba(90, 70, 55, 0.2);
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.7rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    min-width: 100px;
}

.timeline-content {
    padding-top: 0;
}


.timeline-content p {
    color: var(--contrast-shadow);
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.morning-after {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(90, 70, 55, 0.15);
}


.morning-after p {
    color: var(--contrast-shadow);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.morning-after p:last-child {
    margin-bottom: 0;
}

/* Accommodation Box */
.accommodation-box {
    background: var(--box-background);
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
    margin-top: 2rem;
}


.accommodation-box > p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hotel-item {
    background: var(--box-background);
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
}


.hotel-item p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hotel-item p:last-child {
    margin-bottom: 0;
}

.hotel-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.hotel-links p {
    margin-bottom: 0;
}

.hotel-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.hotel-item a:hover {
    color: var(--accent1);
    border-bottom-color: var(--accent1);
}

/* FAQ */
.faq-list {
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    background: var(--box-background);
    margin-bottom: 1rem;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
}


.faq-item p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    background: var(--box-background);
    color: var(--contrast-shadow);
    font-size: 0.85rem;
    line-height: 1.65;
    font-weight: 400;
}

.faq-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.faq-item a:hover {
    color: var(--accent1);
    border-bottom-color: var(--accent1);
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info-stacked {
    margin-top: 2rem;
}

.contact-email {
    margin-bottom: 2rem;
}

.contact-phones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-info-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-highlight {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
}

.contact-primary {
    border: 2px solid var(--primary);
    background: var(--highlight-fade);
}

.contact-simple {
    max-width: 400px;
    margin: 2rem auto 0;
    text-align: center;
}

.contact-item {
    background: var(--box-background);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent1);
    border-bottom-color: var(--accent1);
}

.contact-person {
    background: var(--box-background);
    padding: 1.75rem;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(90, 70, 55, 0.1);
}


.contact-person p {
    color: var(--contrast-shadow);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-person p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.25rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        margin-top: 100px;
        padding: 2rem 1rem;
    }
    
    .main-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }
    
    .timeline-time {
        min-width: 80px;
        font-size: 0.65rem;
        padding: 0.7rem 0.25rem;
    }
    
    .rsvp-info,
    .venue-info,
    .food-info,
    .gift-info,
    .hotel-info {
        grid-template-columns: 1fr;
    }
    
    .hotel-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .accommodation-box {
        padding: 1.25rem;
    }
    
    .hotel-item {
        padding: 1rem;
    }
    
    .hotel-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hotel-item a {
        text-align: center;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}