/* ============================================
   KATJA & IVAN — WEDDING WEBSITE
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --cream: #fff9ef;
    --cream-dark: #f5edd9;
    --dark: #242424;
    --dark-light: #2e2e2e;
    --white: #ffffff;
    --text-dark: #242424;
    --text-light: #ffffff;
    --text-muted: #6b6b6b;
    --text-muted-light: rgba(255, 255, 255, 0.7);

    --font-display: 'Noto Serif Display', 'Georgia', serif;
    --font-body: 'Solway', 'Georgia', serif;
    --font-calligraphy: 'Great Vibes', cursive;

    --container-max: 1100px;
    --container-narrow: 720px;
    --section-padding: 100px 0;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Language Switcher --- */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    background: rgba(255, 249, 239, 0.9);
    backdrop-filter: blur(8px);
    padding: 4px;
    border-radius: 4px;
    border: 1px solid rgba(36, 36, 36, 0.1);
}

.lang-btn {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border-radius: 2px;
}

.lang-btn:hover {
    color: var(--text-dark);
}

.lang-btn.active {
    color: var(--text-dark);
    background: var(--dark);
    color: var(--text-light);
}

/* --- RTL Support for Farsi --- */
.rtl {
    font-family: 'Noto Naskh Arabic', var(--font-body);
}

.rtl .welcome__text,
.rtl .weekend__description,
.rtl .weekend__event-info,
.rtl .weekend__note,
.rtl .venue__text p,
.rtl .stay__hotel-desc,
.rtl .stay__hotel-distance,
.rtl .rec__item-desc,
.rtl .details__item p,
.rtl .rsvp__text,
.rtl .footer__text,
.rtl .footer__celebrate {
    font-family: 'Noto Naskh Arabic', var(--font-body);
    text-align: right;
}

.rtl .weekend__day-content {
    text-align: right;
}

.rtl .rec__category-label {
    text-align: right;
}

.rtl .lang-switcher {
    right: auto;
    left: 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section--cream {
    background: var(--cream);
    color: var(--text-dark);
}

.section--dark {
    background: var(--dark);
    color: var(--text-light);
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
}

.section-title--light {
    color: var(--text-light);
}

/* --- Divider --- */
.divider {
    width: 60px;
    height: 1px;
    background: var(--text-dark);
    margin: 16px auto 32px;
}

.divider--light {
    background: var(--text-muted-light);
}

/* --- Navigation Dots --- */
.nav-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: var(--text-dark);
    border-color: var(--text-dark);
    transform: scale(1.3);
}

.dot.dot--light {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.dot.dot--light.active {
    background: var(--white);
    border-color: var(--white);
}

/* ============================================
   HERO SECTION — 4 photos left, names right
   ============================================ */
.hero {
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
}

.hero__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    min-height: 100vh;
    position: relative;
    width: 100%;
    padding: 60px 48px;
}

.hero__stripes {
    display: none;
}

.hero__stripes-img {
    display: none;
}

/* 2x2 Photo Grid on the left */
.hero__photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.hero__grid-photo {
    width: 160px;
    height: 200px;
}

.hero__grid-placeholder {
    width: 100%;
    height: 100%;
    background: var(--cream-dark);
    border: 1.5px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Names & date on the right */
.hero__text {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero__name {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.05;
    display: block;
}

.hero__and-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 8px 0;
}

.hero__and {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.15em;
}

.hero__est {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero__year {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

/* ============================================
   WELCOME SECTION — Compact card, stripes left+bottom, photo right
   ============================================ */
.welcome {
    padding: 80px 24px;
    min-height: auto;
}

.welcome__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left half: stripes background with text overlay */
.welcome__left {
    position: relative;
    background: url('assets/stripes.png') repeat;
    background-size: auto 100%;
}

/* Hide the separate stripe elements — using background instead */
.welcome__stripes,
.welcome__stripes-top,
.welcome__stripes-bottom {
    display: none;
}

/* Text area — cream box overlaid on stripes with margin to reveal stripes around edges */
.welcome__text-area {
    margin: 198px 0 198px 80px;
    padding: 120px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    position: relative;
}

.welcome__heading {
    font-family: var(--font-display);
    font-size: 2.74rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.15;
}

.welcome__heading em {
    font-style: italic;
    font-weight: 300;
}

.welcome__text {
    font-family: var(--font-body);
    font-size: 0.855rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-align: justify;
    color: rgb(36, 36, 36);
    font-kerning: none;
}

.welcome__sign {
    font-family: var(--font-calligraphy);
    font-size: 2.05rem;
    margin-top: 10px;
    line-height: 1.4;
    color: var(--text-dark);
}

/* Right half: photo */
.welcome__photo {
    min-height: 100%;
}

.welcome__photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   WEDDING WEEKEND — Vertical stacked timeline
   ============================================ */
.weekend {
    min-height: auto;
    padding: 100px 0;
    background: var(--dark);
}

.weekend .container {
    background: var(--cream);
    padding: 80px 60px;
    max-width: 1000px;
}

.weekend__timeline {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.weekend__day {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: center;
}

.weekend__day-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.weekend__icon {
    width: 160px;
    height: 160px;
    object-fit: contain;
    opacity: 0.85;
}

.weekend__day-content {
    text-align: left;
}

.weekend__day-label {
    font-family: var(--font-calligraphy);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-dark);
}

.weekend__event-info {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1.7;
    color: var(--text-dark);
}

.weekend__description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-top: 16px;
    text-align: justify;
}

.weekend__note {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   VENUE SECTION
   ============================================ */
.venue__name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 48px;
}

.venue__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.venue__photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid var(--dark);
}

.venue__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
}

.venue__text p {
    margin-bottom: 20px;
}

/* Modern venue photo gallery */
.venue__slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.venue__slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.venue__slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.venue__slide.active {
    display: block;
}

.venue__slide img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    border: none;
    transition: transform 0.6s ease;
}

.venue__slide:hover img {
    transform: scale(1.05);
}

.venue__slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: none;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    color: var(--dark);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.venue__slider-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.venue__slider-btn--prev {
    left: 20px;
}

.venue__slider-btn--next {
    right: 20px;
}

.venue__slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.venue__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.venue__dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.venue__dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

.venue__dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Photo counter overlay */
.venue__counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 10;
    backdrop-filter: blur(10px);
    font-family: var(--font-display);
}

/* ============================================
   WEDDING DAY SCHEDULE SECTION
   ============================================ */
.schedule {
    min-height: auto;
    padding: 100px 0 120px;
}

.container--wide {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px;
}

.schedule__timeline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 60px auto 0;
    gap: 32px;
}

.schedule__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.schedule__time {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--dark);
    margin-bottom: 20px;
}

.schedule__icon {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.schedule__item:hover .schedule__icon {
    transform: scale(1.08);
}

.schedule__icon-img {
    max-height: 100%;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(100%) hue-rotate(314deg) brightness(95%) contrast(90%);
}

.schedule__event {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* ============================================
   WEDDING MAP SECTION
   ============================================ */
.map {
    padding: var(--section-padding);
}

.map__svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0;
    max-width: 100%;
}

.map__svg {
    width: 100%;
    height: auto;
    max-width: 1000px;
    max-height: 750px;
    object-fit: contain;
    filter: sepia(10%) saturate(110%) hue-rotate(5deg) brightness(1.05) contrast(1.05);
    display: block;
    margin: 0 auto;
    transform: translateX(-40px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1.5px solid var(--dark);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn--dark {
    background: var(--dark);
    color: var(--white);
}

.btn--dark:hover {
    background: transparent;
    color: var(--dark);
}

/* ============================================
   RECOMMENDATIONS — Calligraphy category labels
   ============================================ */
.recommendations {
    min-height: auto;
    padding: 100px 0;
}

.rec__category {
    margin-bottom: 56px;
}

.rec__category:last-child {
    margin-bottom: 0;
}

/* Calligraphic "to see", "to eat", "to drink" */
.rec__category-label {
    font-family: var(--font-calligraphy);
    font-size: 3.5rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 36px;
    color: var(--white);
    letter-spacing: 0.02em;
    text-transform: none;
}

.rec__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.rec__item-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.rec__item-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted-light);
}

/* ============================================
   OTHER DETAILS SECTION
   ============================================ */
.details {
    min-height: auto;
    padding: 100px 0;
}

.details__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    margin-top: 16px;
}

.details__item-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.details__item p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 8px;
}

.details__item p a {
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.details__item p a:hover {
    color: #2563eb;
}

/* ============================================
   RSVP SECTION — Cream card on dark background
   ============================================ */
.rsvp {
    text-align: left;
    min-height: auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp__card {
    background: var(--cream);
    color: var(--text-dark);
    max-width: 700px;
    width: 100%;
    padding: 72px 64px;
}

.rsvp__title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.rsvp__text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rsvp__link {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 28px;
}

.rsvp__link a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rsvp__phone {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 20px;
}

.rsvp__phone a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   FOOTER — Black & white stripes with dark card
   ============================================ */
.footer {
    text-align: center;
    min-height: auto;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.footer__stripes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer__stripes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark card centered on top of stripes */
.footer__card {
    position: relative;
    z-index: 2;
    background: var(--dark);
    color: var(--text-light);
    width: 90%;
    max-width: 884px;
    margin: 0 auto;
    padding: 64px 56px;
    box-sizing: border-box;
}

.footer__text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer__celebrate {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: var(--text-light);
}

.footer__names {
    font-family: var(--font-calligraphy);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero__content {
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px;
    }

    .hero__photos-grid {
        order: 2;
    }

    .hero__text {
        order: 1;
    }

    .hero__grid-photo {
        width: 130px;
        height: 170px;
    }

    .welcome__layout {
        grid-template-columns: 1fr;
    }

    .welcome__text-area {
        margin: 56px 0 56px 56px;
        padding: 40px 32px;
    }

    .welcome__photo-placeholder {
        min-height: 350px;
    }

    .venue__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .venue__photo {
        max-height: 400px;
        object-fit: cover;
    }

    .container--wide {
        padding: 0 32px;
    }

    .schedule__timeline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px 20px;
    }

    .schedule__item {
        flex: 0 0 calc(33.333% - 16px);
    }

    .schedule__icon {
        height: 90px;
        margin-bottom: 14px;
    }

    .schedule__icon-img {
        max-width: 80px;
    }

    .schedule__time {
        font-size: 1rem;
    }

    .schedule__event {
        font-size: 0.9rem;
    }

    .map__svg-container {
        margin: 40px auto 0;
    }

    .map__svg {
        max-width: 850px;
        max-height: 650px;
    }

    .rec__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .details__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Venue slider tablet adjustments */
    .venue__slide img {
        height: 450px;
    }
    
    .venue__slider-btn {
        width: 44px;
        height: 44px;
    }
    
    .venue__slider-btn--prev {
        left: 16px;
    }
    
    .venue__slider-btn--next {
        right: 16px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --section-padding: 60px 0;
    }

    .container,
    .container--narrow {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero__name {
        font-size: 3.2rem;
    }

    .hero__grid-photo {
        width: 110px;
        height: 140px;
    }

    .hero__content {
        padding: 30px 16px;
    }

    .welcome__text-area {
        margin: 40px 0 40px 40px;
        padding: 28px 20px;
    }

    .rec__category-label {
        font-size: 2.8rem;
    }

    .nav-dots {
        right: 12px;
        gap: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .schedule {
        padding: 60px 0 80px;
    }

    .container--wide {
        padding: 0 20px;
    }

    .schedule__timeline {
        gap: 32px 16px;
    }

    .schedule__item {
        flex: 0 0 calc(50% - 12px);
    }

    .schedule__icon {
        height: 70px;
        margin-bottom: 12px;
    }

    .schedule__icon-img {
        max-width: 60px;
    }

    .schedule__time {
        font-size: 0.95rem;
    }

    .schedule__event {
        font-size: 0.85rem;
    }

    .map__svg-container {
        margin: 30px auto 0;
    }

    .map__svg {
        max-width: 650px;
        max-height: 500px;
    }

    /* Wedding weekend mobile fixes */
    .weekend {
        padding: 60px 0;
    }
    
    .weekend .container {
        padding: 0 20px;
    }

    .weekend__timeline {
        gap: 32px;
    }

    .weekend__day {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .weekend__day-icon {
        align-self: center;
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .weekend__icon {
        width: 60px;
        height: 60px;
    }

    .weekend__day-content {
        text-align: center;
    }

    .weekend__day-label {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .weekend__event-info {
        font-size: 0.75rem;
        margin-bottom: 1px;
    }
    
    .weekend__description {
        font-size: 0.7rem;
        text-align: center;
        line-height: 1.6;
        margin-top: 12px;
    }
    
    .weekend__note {
        font-size: 0.65rem;
        margin-top: 8px;
    }

    .rsvp__card {
        padding: 48px 32px;
    }

    .footer__card {
        margin: 0 16px;
        padding: 48px 32px;
    }
    
    /* Enhanced venue slider for mobile */
    .venue__slide img {
        height: 250px;
    }
    
    .venue__slider {
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .venue__slider-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .venue__slider-btn--prev {
        left: 8px;
    }
    
    .venue__slider-btn--next {
        right: 8px;
    }
    
    .venue__slider-dots {
        bottom: 12px;
        padding: 4px 8px;
        gap: 6px;
    }
    
    .venue__dot {
        width: 6px;
        height: 6px;
    }
    
    .venue__counter {
        top: 12px;
        right: 12px;
        padding: 4px 8px;
        font-size: 0.65rem;
        border-radius: 12px;
    }
    
    /* Mobile dropdown language switcher */
    .lang-switcher {
        position: relative;
        top: 12px;
        right: 12px;
        flex-direction: column;
        width: auto;
        min-width: 60px;
        background: rgba(255, 249, 239, 0.95);
        border-radius: 8px;
        padding: 0;
        overflow: hidden;
        max-height: 44px;
        transition: max-height 0.3s ease;
    }
    
    .lang-switcher.open {
        max-height: 400px;
    }
    
    .lang-btn {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.7rem;
        text-align: center;
        border-radius: 0;
        border-bottom: 1px solid rgba(36, 36, 36, 0.05);
    }
    
    .lang-btn:last-child {
        border-bottom: none;
    }
    
    .lang-btn.active {
        order: -1;
        background: var(--dark);
        color: var(--white);
    }
    
    .lang-switcher:not(.open) .lang-btn:not(.active) {
        display: none;
    }
    
    .nav-dots {
        right: 8px;
        gap: 6px;
        padding: 8px 6px;
        border-radius: 12px;
        background: rgba(255, 249, 239, 0.9);
    }
    
    .nav-dots .dot {
        width: 8px;
        height: 8px;
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    /* Improved text sizes for mobile */
    .section-title {
        font-size: 1.8rem;
    }
    
    .venue__text {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .details__item p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .details__item-title {
        font-size: 1.1rem;
    }
    
    .rsvp__title {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }
    
    .rsvp__text {
        font-size: 0.6rem;
        margin-bottom: 16px;
    }
    
    .rsvp__phone {
        font-size: 0.6rem;
        margin-top: 16px;
    }
    
    .rsvp__link {
        font-size: 0.6rem;
        margin-top: 20px;
    }
    
    /* Hero section mobile improvements */
    .hero__and {
        font-size: 1.6rem;
    }
    
    .hero__est, .hero__year {
        font-size: 0.8rem;
    }
    
    /* Welcome section mobile */
    .welcome__heading {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .welcome__text {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    /* Recommendations mobile */
    .rec__item-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .rec__item-desc {
        font-size: 0.7rem;
        line-height: 1.6;
    }
    
    /* Better spacing for small screens */
    .venue {
        padding: 60px 0;
    }
    
    .venue__name {
        margin-bottom: 32px;
    }
    
    .venue__layout {
        gap: 24px;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hero__name {
        font-size: 2.8rem;
    }
    
    .hero__grid-photo {
        width: 95px;
        height: 125px;
    }
    
    .venue__slide img {
        height: 200px;
    }
    
    .venue__slider-btn {
        width: 28px;
        height: 28px;
    }
    
    .venue__counter {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .nav-dots {
        right: 6px;
        padding: 6px 4px;
    }
    
    .nav-dots .dot {
        min-width: 28px;
        min-height: 28px;
        width: 6px;
        height: 6px;
    }
    
    .weekend__day-label {
        font-size: 1.8rem;
    }
    
    .weekend__event-info {
        font-size: 0.7rem;
    }
    
    .weekend__description {
        font-size: 0.65rem;
    }
    
    .container,
    .container--narrow {
        padding: 0 16px;
    }
    
    .welcome__text-area {
        margin: 32px 0 32px 24px;
        padding: 20px 16px;
    }
    
    .schedule__item {
        flex: 0 0 100%;
    }
    
    .schedule__timeline {
        gap: 24px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .hero__grid-photo {
        width: 190px;
        height: 240px;
    }

    .welcome__text-area {
        margin: 100px 0 100px 100px;
    }
}
