/* ===========================
   General Styles
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&family=Tangerine:wght@400;700&family=Great+Vibes:wght@400&family=Lora:wght@400;600;700&display=swap');

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

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    --dark-color: #0a0a0a;
    --light-color: #f5f5f5;
    --text-color: #2a2a2a;
    --border-radius: 0px;
    --box-shadow: none;
    --transition: all 0.4s ease;
    --font-display: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-elegant: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
    background-color: #ffffff;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation Bar
   =========================== */
.navbar {
    background: #ffffff;
    color: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid #000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #666;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #000;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 0;
    transition: var(--transition);
    display: block;
}

/* ===========================
   Language Selector
   =========================== */
.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.lang-btn {
    background: none;
    border: 1px solid #000;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    min-width: 45px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background-color: #f0f0f0;
}

.lang-btn.active {
    background-color: #000;
    color: #fff;
}

.lang-btn .flag {
    font-size: 0.85rem;
    line-height: 1;
    font-weight: 600;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: #ffffff;
    color: #000;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #000;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero a,
.hero a:visited,
.hero a:focus,
.hero a:hover {
    color: #000;
    transition: color 0.2s ease;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-shadow: none;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
    font-family: var(--font-script);
    letter-spacing: 1px;
}

.wedding-date {
    background: transparent;
    padding: 2rem;
    border: 1px solid #000;
    margin: 2rem 0;
    backdrop-filter: none;
    border-radius: 8px;
}

.wedding-date h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-family: var(--font-display);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.countdown-item {
    background: transparent;
    padding: 1.5rem;
    border: 1px solid #000;
    backdrop-filter: none;
    border-radius: 8px;
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
    letter-spacing: 0px;
}

.countdown-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: var(--font-body);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #000;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    background: transparent;
}

.btn-primary {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: none;
    box-shadow: none;
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.8rem;
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-small:hover {
    background: #fff;
    color: #000;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 100px 20px;
    border-bottom: 1px solid #e5e5e5;
}

section h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #000;
    position: relative;
    padding-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 1px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: #000;
    border-radius: 0px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

/* ===========================
   About Section
   =========================== */
.about {
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
    font-family: var(--font-body);
}

.couple-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.photo-frame {
    overflow: hidden;
    border: 1px solid #000;
    box-shadow: none;
    aspect-ratio: 3/4;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-body);
}

/* ===========================
   Events Section
   =========================== */
.events {
    background-color: #ffffff;
    display: none;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: #fff;
    border-radius: 0px;
    padding: 2.5rem 2rem;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid #000;
}

.event-card:hover {
    transform: none;
    box-shadow: none;
    background: #f9f9f9;
}

.event-card.highlight {
    border: 2px solid #000;
    background: #ffffff;
}

.event-icon {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.event-card h3 {
    color: #000;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.event-card .date {
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    font-family: var(--font-body);
}

.event-card .time {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-family: var(--font-body);
}

.event-card .location {
    color: #777;
    margin: 1rem 0;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.event-card .location i {
    color: #000;
    margin-right: 0.5rem;
}
/* ===========================
   Timeline Section
   =========================== */
.timeline {
    background: #ffffff;
    display: none;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: #000;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    padding-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 52%;
    text-align: left;
}

.timeline-time {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 1rem;
    width: fit-content;
    font-family: var(--font-body);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    box-shadow: none;
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 0px;
    box-shadow: none;
    margin-top: 1rem;
    border: 1px solid #e5e5e5;
}

.timeline-content h4 {
    color: #000;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
    font-family: var(--font-body);
   color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===========================
   Why Tepoztlan Section
   =========================== */
.why-tepoztlan {
    background: #ffffff;
    padding: 100px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.tepoztlan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tepoztlan-text h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.tepoztlan-text p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
    font-family: var(--font-body);
}

.tepoztlan-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tepoztlan-gallery-column {
    display: flex;
    flex-direction: column;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid #000;
    box-shadow: none;
    aspect-ratio: 1;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e5e5 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    text-align: center;
    padding: 1rem;
}

/* ===========================
   Accommodations Section
   =========================== */
.accommodations {
    background-color: #ffffff;
    display: none;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.hotel-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0px;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid #000;
}

.hotel-card:hover {
    transform: none;
    box-shadow: none;
    background: #f9f9f9;
}

.hotel-card h3 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.hotel-card .address,
.hotel-card .distance,
.hotel-card .price,
.hotel-card .phone,
.hotel-card .note {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #666;
    font-family: var(--font-body);
}

.hotel-card .address i,
.hotel-card .phone i,
.hotel-card .phone i {
    color: #000;
    margin-right: 0.5rem;
    width: 20px;
}

.hotel-card .price {
    font-weight: 600;
    color: #000;
    font-size: 1.1rem;
}

.travel-info {
    background: #fff;
    padding: 3rem;
    border-radius: 0px;
    box-shadow: none;
    border: 1px solid #000;
}

.travel-info h3 {
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.travel-card {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 0px;
    border-left: 2px solid #000;
}

.travel-card h4 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-display);
}

.travel-card i {
    color: #000;
    margin-right: 0.5rem;
}

.travel-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}
.travel-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   RSVP Section
   =========================== */
.rsvp {
    background: #000;
    color: #fff;
    display: none;
}

.rsvp h2 {
    color: #fff;
}

.rsvp h2::after {
    background: #fff;
}

.rsvp-form {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 0px;
    color: var(--text-color);
    border: 1px solid #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000;
    font-family: var(--font-body);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #000;
}

.rsvp-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

.rsvp-deadline {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 2rem;
    color: #fff;
}

.rsvp-deadline i {
    margin-right: 0.5rem;
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
    background-color: #ffffff;
    display: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 0px;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid #000;
}

.faq-item:hover {
    box-shadow: none;
    transform: none;
    background: #f9f9f9;
}

.faq-item h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
    font-family: var(--font-body);
}
/* ===========================
   Footer
   =========================== */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.footer-section i {
    color: #fff;
    margin-right: 0.5rem;
    width: 20px;
}

.footer-section .icon {
    fill: currentColor;
    height: 1em;
    margin-right: 0.5rem;
    vertical-align: -0.125em;
    width: 1em;
}


.social-links {
    display: flex;
    gap: 1rem;
}

.footer-section a,
.footer-section a:visited,
.footer-section a:focus,
.footer-section a:hover {
    color: #fff;
    transition: color 0.2s ease;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: #fff;
    color: #000;
    transform: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-body);
   text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
   About Page
   =========================== */

.important-dates {
    margin-top: 4rem;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.date-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.date-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date-card .date-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.date-card p {
    color: #666;
    font-size: 0.95rem;
}

@media (min-width: 1200px) {
    .about-dates-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.photo-grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px; /* Optional padding */
    box-sizing: border-box;
}

.photo-grid {
    display: grid;
    /* Force 3 columns on desktop, 2 on mobile, or keep 3 for both */
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px;
    width: 100%;
    max-width: 800px;
    /* Set a fixed aspect ratio for the container to prevent jumping */
    aspect-ratio: 2 / 5; 
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px; /* Optional: softer look */
    /* Ensure images don't stretch the grid */
    min-width: 0;
    min-height: 0;
    display: block;
    transition: opacity 0.5s ease-in-out;
}


/* Mobile Adjustment: if you want 2 columns on small screens */
@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
    .photo-grid img {
        object-fit: contain;
        height: 70vh;
    }
    .photo-grid-container {
        padding: 0;
    }
}


/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        max-width: 100%;
        padding: 1rem 15px;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid #000;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid #e5e5e5;
        font-size: 0.95rem;
        width: 100%;
    }

    .hamburger span {
        width: 25px;
        height: 2.5px;
        margin: 0;
    }

    .language-selector {
        gap: 5px;
        margin-left: 10px;
        order: 3;
    }

    .lang-btn {
        padding: 6px 8px;
        font-size: 0.75rem;
        min-width: 38px;
    }

    .lang-btn .flag {
        font-size: 0.7rem;
    }

    .hero {
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .wedding-date {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .wedding-date h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .wedding-date p {
        font-size: 0.95rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin: 2rem 0;
    }

    .countdown-item {
        padding: 1.2rem;
    }

    .countdown-item span {
        font-size: 2rem;
    }

    .countdown-item p {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .couple-photos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .photo-frame {
        aspect-ratio: 3/4;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        padding: 1.8rem 1.5rem;
    }

    .event-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .event-card .date {
        font-size: 0.95rem;
    }

    .event-icon {
        font-size: 2rem;
    }

    .tepoztlan-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tepoztlan-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .tepoztlan-text p {
        font-size: 0.95rem;
    }

    .tepoztlan-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        margin-bottom: 2.5rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .timeline-time {
        position: relative;
        left: 0;
        transform: none;
        text-align: left;
        padding: 0;
        background: transparent;
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    section h2::after {
        width: 60px;
    }

    .section-intro {
        font-size: 1rem;
    }

    .timeline {
        display: none;
    }

    .hotel-grid,
    .travel-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hotel-card {
        padding: 1.5rem;
    }

    .hotel-card h3 {
        font-size: 1.2rem;
    }

    .travel-card {
        padding: 1.3rem;
    }

    .travel-card h4 {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .rsvp-form {
        padding: 1.8rem;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 1.3rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .radio-group {
        flex-direction: column;
        gap: 1.2rem;
    }

    .radio-label {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.8rem;
        width: auto;
    }

    .rsvp-form .btn-primary {
        width: 100%;
    }

    .btn-small {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
        width: 100%;
    }

    .nav-container {
        padding: 0.8rem 12px;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        width: 100vw;
        max-width: 100vw;
    }

    .nav-link {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 50px 15px 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .wedding-date {
        padding: 1.2rem;
        margin: 1.2rem 0;
        border: 1px solid #000;
    }

    .wedding-date h2 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .wedding-date p {
        font-size: 0.85rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin: 1.5rem 0;
    }

    .countdown-item {
        padding: 1rem;
        border: 1px solid #000;
    }

    .countdown-item span {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .countdown-item p {
        font-size: 0.7rem;
    }

    section {
        padding: 50px 15px;
    }

    section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    section h2::after {
        width: 50px;
        height: 1px;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .event-card {
        padding: 1.3rem;
    }

    .event-card h3 {
        font-size: 1.1rem;
    }

    .event-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .event-card .date,
    .event-card .time,
    .event-card .location,
    .event-card .description {
        font-size: 0.85rem;
    }

    .tepoztlan-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tepoztlan-text h3 {
        font-size: 1.4rem;
    }

    .tepoztlan-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .tepoztlan-gallery {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .gallery-item {
        aspect-ratio: 3/2;
    }

    .gallery-placeholder {
        font-size: 0.9rem;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 8px;
        width: 12px;
        height: 12px;
    }

    .timeline-time {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .hotel-card {
        padding: 1.2rem;
    }

    .hotel-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .hotel-card .address,
    .hotel-card .distance,
    .hotel-card .price,
    .hotel-card .phone,
    .hotel-card .note {
        font-size: 0.8rem;
    }

    .travel-info {
        padding: 1.5rem;
    }

    .travel-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .travel-card {
        padding: 1.1rem;
    }

    .travel-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .travel-card p {
        font-size: 0.8rem;
    }

    .faq-item {
        padding: 1.2rem;
    }

    .faq-item h3 {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .faq-item p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .rsvp-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .form-group {
        margin-bottom: 1.1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        padding: 11px;
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .radio-group {
        gap: 1rem;
    }

    .radio-label {
        font-size: 0.9rem;
    }

    .rsvp-form .btn-primary {
        padding: 12px;
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }

    .rsvp-deadline {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

    .footer {
        padding: 2rem 15px 0.8rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.2rem;
        font-size: 0.8rem;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.event-card,
.hotel-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

section h2 {
    animation: slideInLeft 0.6s ease-out;
}
