/* =====================================================
   THE WEDDING ATELIER - Public Invitation Styles
   ===================================================== */

/* ===== COVER SECTION ===== */
.section-cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    overflow: hidden;
}

#cover {
    padding: 0 !important;
    margin: 0 !important;
}

.cover-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cover-image-container {
    position: absolute;
    inset: 0;
}

/* ===== BISMILLAH SECTION ===== */
.section-bismillah {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

.bismillah-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.bismillah-text {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--color-accent);
    line-height: 2;
    margin-bottom: var(--space-md);
    opacity: 0.85;
}

.bismillah-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 350;
    line-height: var(--leading-relaxed);
    font-style: italic;
}

.bismillah-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.bismillah-verse {
    max-width: 640px;
    margin: 0 auto;
}

.verse-arabic {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 2;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    direction: rtl;
    text-align: center;
    opacity: 0.85;
}

.verse-translation {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    font-weight: 350;
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.verse-reference {
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F5EFE4 0%, #D8C7B8 50%, #F5EFE4 100%);
}

.cover-placeholder-texture {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(158,47,63,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158,47,63,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(111, 43, 53, 0.25);
}

.cover-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: var(--space-xl);
}

.cover-content .cover-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.cover-names {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 300;
    line-height: var(--leading-snug);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.cover-bride, .cover-groom {
    display: block;
}

.cover-and {
    font-size: 0.4em;
    font-style: italic;
    font-weight: 300;
    display: block;
    margin: var(--space-xs) 0;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

.cover-date {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 0.15em;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    font-weight: 350;
}

.cover-guest {
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
}

.cover-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--color-white);
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.cover-scroll-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BRIDE & GROOM SECTION ===== */
.section-bride-groom {
    background: var(--color-bg);
    min-height: 80vh;
}

.section-date {
    min-height: 70vh;
}

.section-countdown {
    min-height: 50vh;
}

.section-event {
    min-height: 80vh;
}

.section-rsvp {
    min-height: 80vh;
}

.section-video {
    min-height: 80vh;
}

.section-maps {
    min-height: 80vh;
}

.section-closing {
    min-height: 70vh;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.couple-card {
    text-align: center;
}

.couple-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 3px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

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

.couple-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D8C7B8, #F5EFE4);
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
}

.couple-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.couple-parents {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
    font-weight: 350;
}

.couple-instagram {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-accent);
    transition: all var(--transition-fast);
}

.couple-instagram:hover {
    opacity: 0.7;
}

.couple-divider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.couple-divider {
    width: 1px;
    height: 120px;
    background: var(--color-border);
}

.couple-heart {
    font-size: 1.5rem;
}

/* ===== DATE SECTION ===== */
.section-date {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(216,199,184,0.2) 50%, var(--color-bg) 100%);
}

.date-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.date-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.date-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.date-day {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.03em;
}

.date-month-year {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.date-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.date-time {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ===== COUNTDOWN SECTION ===== */
.section-countdown {
    background: var(--color-bg);
    padding: var(--space-2xl) 0;
}

.countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    margin-top: var(--space-xs);
}

.countdown-separator {
    width: 2px;
    height: 48px;
    background: var(--color-border);
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
}

/* ===== EVENT DETAILS SECTION ===== */
.section-event {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(216,199,184,0.15) 100%);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.event-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.event-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.event-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.event-time {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.event-venue {
    font-size: 0.85rem;
    color: var(--color-accent);
}

.venue-info {
    max-width: 600px;
    margin: 0 auto;
}

.venue-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.venue-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.venue-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.venue-address {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.venue-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 20px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

.venue-btn:hover {
    background: #8a2836;
}

/* ===== LOVE STORY SECTION ===== */
.section-love-story {
    background: var(--color-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-3xl);
    width: calc(50% - 40px);
}

.timeline-left {
    margin-right: auto;
    padding-right: var(--space-xl);
    text-align: right;
}

.timeline-right {
    margin-left: auto;
    padding-left: var(--space-xl);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 0.5rem;
    z-index: 2;
}

.timeline-left .timeline-dot {
    right: -43px;
}

.timeline-right .timeline-dot {
    left: -43px;
}

.timeline-content {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.timeline-text {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    font-weight: 350;
}

/* ===== GALLERY SECTION ===== */
.section-gallery {
    background: linear-gradient(180deg, rgba(216,199,184,0.15) 0%, var(--color-bg) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(111, 43, 53, 0.6));
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 1;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: rgba(111, 43, 53, 0.55);
}

.gallery-title {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.lightbox-prev { left: var(--space-lg); }
.lightbox-next { right: var(--space-lg); }
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== VIDEO SECTION ===== */
.section-video {
    background: var(--color-bg);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2D1B1F, #4A2530);
    color: var(--color-white);
    cursor: pointer;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.video-placeholder:hover .video-play-btn {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
    transform: scale(1.1);
}

.video-placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ===== RSVP SECTION ===== */
.section-rsvp {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(216,199,184,0.2) 100%);
}

.rsvp-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.rsvp-status-group {
    display: flex;
    gap: var(--space-sm);
}

.rsvp-status-option {
    flex: 1;
    cursor: pointer;
}

.rsvp-status-option input {
    display: none;
}

.rsvp-status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.rsvp-status-option input:checked + .rsvp-status-card {
    border-color: var(--color-accent);
    background: rgba(158, 47, 63, 0.05);
}

.rsvp-status-icon {
    width: 28px;
    height: 28px;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.rsvp-status-option input:checked + .rsvp-status-card .rsvp-status-icon {
    color: var(--color-accent);
}

.rsvp-status-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.rsvp-submit {
    width: 100%;
}

.rsvp-success {
    text-align: center;
    padding: var(--space-xl);
}

.rsvp-success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-md);
}

.rsvp-success-text {
    font-size: 1rem;
    color: var(--color-text);
}

/* ===== WISHES SECTION ===== */
.section-wishes {
    background: var(--color-bg);
}

.wish-form-wrapper {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.wish-submit {
    width: 100%;
}

.wishes-list {
    max-width: 700px;
    margin: 0 auto;
}

.wish-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.wish-card:hover {
    box-shadow: var(--shadow-md);
}

.wish-pinned {
    border-color: var(--color-accent);
    background: rgba(158, 47, 63, 0.03);
}

.wish-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.wish-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.wish-relation {
    font-size: 0.75rem;
    color: var(--color-text-light);
    padding: 2px 8px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
}

.wish-pin {
    margin-left: auto;
    font-size: 0.8rem;
}

.wish-message {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.wish-time {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.wishes-load-more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ===== GIFT SECTION ===== */
.section-gift {
    background: linear-gradient(180deg, rgba(216,199,184,0.15) 0%, var(--color-bg) 100%);
}

.gift-accounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.gift-account-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.gift-account-card:hover {
    box-shadow: var(--shadow-md);
}

.gift-bank-header {
    margin-bottom: var(--space-md);
}

.gift-bank-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.gift-account-number {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    font-variant-numeric: tabular-nums;
}

.gift-account-holder {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.gift-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 20px;
    background: rgba(158,47,63,0.08);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.gift-copy-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.gift-copy-btn.copied {
    background: var(--color-success);
    color: var(--color-white);
}

.digital-gifts-title {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.2rem;
}

.digital-gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.digital-gift-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.digital-gift-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.digital-gift-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.digital-gift-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ===== RUNDOWN SECTION ===== */
.section-rundown {
    background: var(--color-bg);
}

.rundown-list {
    max-width: 600px;
    margin: 0 auto;
}

.rundown-item {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.rundown-item:last-child {
    padding-bottom: 0;
}

.rundown-time {
    min-width: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent);
}

.rundown-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rundown-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.rundown-line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
    margin-top: var(--space-xs);
}

.rundown-item:last-child .rundown-line {
    display: none;
}

.rundown-content {
    padding-bottom: var(--space-lg);
}

.rundown-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.rundown-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ===== MAPS SECTION ===== */
.section-maps {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(216,199,184,0.15) 100%);
}

.maps-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.maps-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-lg);
}

.maps-directions {
    margin-top: var(--space-md);
}

/* ===== CLOSING SECTION ===== */
.section-closing {
    background: var(--color-bg);
    text-align: center;
}

.closing-content {
    max-width: 600px;
    margin: 0 auto;
}

.closing-thanks {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.closing-message {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.closing-couple {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: var(--space-2xl);
}

.closing-footer {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
}

.closing-powered {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 768px) {
    .couple-grid { display: block; }
    .couple-divider-container { flex-direction: row; }
    .couple-divider { width: 80px; height: 1px; }
    .timeline-line { left: 32px; }
    .timeline-item {
        width: calc(100% - 64px);
        margin-left: 64px;
        padding-left: 24px;
        text-align: left;
    }
    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        left: -39px;
        right: auto;
    }
    .rsvp-status-group { flex-direction: column; }
    .event-grid { display: block; }
    .gift-accounts { display: block; }
    .digital-gifts-grid { display: block; }
    .form-row { flex-direction: column; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .countdown-wrapper { gap: 8px; flex-wrap: nowrap; }
    .countdown-item { min-width: 50px; }
    .countdown-number { font-size: clamp(1.5rem, 7vw, 2rem); }
    .countdown-label { font-size: 0.6rem; }
    .countdown-separator { height: 32px; }
    .section-closing { padding-bottom: 120px; }
    .cover-scroll { bottom: 80px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: auto auto; gap: 8px; }
    .cover-names { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (min-width: 1024px) {
    .section-bride-groom .section-container { max-width: 1000px; }
}

@media (min-width: 1440px) {
    .section-container { max-width: 1200px; }
}
