:root {
    /* Paper texture background colors */
    --paper-bg: #f4ede3;
    --paper-light: #faf7f2;
    --paper-dark: #e8dfd0;
    
    --text-dark: #2c2c2c;
    --text-light: #666;
    --accent-gold: #d4af37;
    --accent-soft: #e8dfd0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    
    /* Main background image */
    background-color: var(--paper-bg);
    background-image:
        linear-gradient(135deg, rgba(244, 237, 227, 0.72) 0%, rgba(250, 247, 242, 0.68) 50%, rgba(240, 232, 219, 0.72) 100%),
        url('Images/all.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--paper-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loading-rings {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--accent-soft);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* Envelope Animation */
#envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--paper-bg);
    background-image:
        linear-gradient(135deg, rgba(244, 237, 227, 0.72) 0%, rgba(250, 247, 242, 0.68) 50%, rgba(240, 232, 219, 0.72) 100%),
        url('Images/all.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
    transition: opacity 1s ease, transform 1s ease;
}

#envelope-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.2);
}

.envelope-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.envelope {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
    border-radius: 10px 10px 0 0;
    transform-origin: top center;
    animation: flap-wave 2s ease-in-out infinite;
    border-bottom: 2px solid var(--accent-gold);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
}

.flap-seal {
    font-size: 30px;
    animation: seal-pulse 2s ease-in-out infinite;
}

@keyframes seal-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes flap-wave {
    0%, 100% { transform: rotateX(0deg); }
    50% { transform: rotateX(-15deg); }
}

.letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 75%;
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    box-shadow: var(--shadow-md);
    animation: letter-pulse 2s ease-in-out infinite;
}

@keyframes letter-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.03); }
}

.letter-header {
    margin-bottom: 15px;
}

.letter-decorative {
    font-size: 24px;
    color: var(--accent-gold);
}

.letter-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.letter-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--accent-gold);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.letter-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
}

.click-hint {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: hint-bounce 2s ease-in-out infinite;
}

.hint-icon {
    font-size: 32px;
}

.click-hint span:last-child {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 1px;
}

@keyframes hint-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Hearts Background */
.hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.hearts-background.active {
    opacity: 1;
}

.heart {
    position: absolute;
    color: var(--accent-gold);
    opacity: 0.2;
    animation: float-heart linear forwards;
}

@keyframes float-heart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Main Content */
#main-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
}

#main-content.visible {
    opacity: 1;
    pointer-events: all;
}

/* Navigation */
.nav-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: slideDown 0.8s ease forwards 2s;
    max-width: 95%;
    justify-content: center;
}

@keyframes slideDown {
    to {
        opacity: 1;
    }
}

.nav-link {
    font-size: 11px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

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

.hero-badge {
    display: inline-block;
    background: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.badge-text {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 500;
}

.wedding-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 40px;
}

.photos-container {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-frame {
    width: 100%;
    max-width: 280px;
    background: var(--white);
    padding: 15px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.photo-frame:nth-child(2) {
    transform: rotate(2deg);
}

.photo-frame:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.photo-inner {
    position: relative;
}

.photo-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

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

.photo-caption {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    text-align: center;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.5;
}

.couple-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    font-weight: 300;
    letter-spacing: 15px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-part {
    display: block;
}

.couple-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    line-height: 1.4;
}

.name {
    position: relative;
}

.names-separator {
    color: var(--accent-gold);
    font-size: 36px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--accent-gold);
    border-radius: 25px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 25px;
        opacity: 0.5;
    }
}

/* Sections */
.section-wrapper {
    padding: 80px 20px;
    position: relative;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    max-width: 150px;
    min-width: 50px;
}

.title-text {
    white-space: nowrap;
    font-size: 32px;
}

/* Invitation */
.invitation {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.invitation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.invitation-content {
    position: relative;
    z-index: 1;
}

.invitation-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.couple-illustration {
    text-align: center;
    margin: 30px 0;
}

.illustration-couple {
    display: inline-block;
    position: relative;
}

.couple-icon {
    font-size: 80px;
    display: block;
    animation: couple-dance 3s ease-in-out infinite;
}

@keyframes couple-dance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

/* Calendar */
.save-date {
    background: 
        linear-gradient(135deg, rgba(232, 223, 208, 0.85) 0%, rgba(245, 237, 227, 0.85) 100%),
        url('Images/fone.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.calendar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 25px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.calendar-header {
    text-align: center;
    margin-bottom: 35px;
}

.calendar-month {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.calendar-year {
    font-size: 15px;
    color: var(--text-light);
    letter-spacing: 1.5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 40px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 300;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.calendar-day.header {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.calendar-day.empty {
    opacity: 0;
}

.calendar-day:not(.header):not(.empty):not(.special):hover {
    background: var(--accent-soft);
    transform: scale(1.1);
}

.calendar-day.special {
    background: var(--accent-gold);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    animation: pulse-calendar 2s ease-in-out infinite;
}

@keyframes pulse-calendar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6); }
}

.calendar-footer {
    text-align: center;
}

.calendar-note {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}

.calendar-date-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--accent-gold);
}

/* Venue */
.venue-section {
    background: var(--white);
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.venue-info {
    text-align: center;
}

.venue-icon {
    font-size: 70px;
    margin-bottom: 25px;
}

.venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.venue-address {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.address-icon {
    font-size: 20px;
}

.venue-time {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-icon {
    font-size: 22px;
}

.how-to-get {
    background: var(--accent-soft);
    padding: 30px 25px;
    border-radius: 20px;
    margin-top: 30px;
}

.how-to-get-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.map-button {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.map-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.button-icon {
    font-size: 18px;
}

.venue-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.venue-photo {
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.venue-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.venue-photo.large {
    height: 250px;
}

/* Venue specific photo backgrounds */
.venue-photo-main {
    background-image: url('Images/Zags.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.venue-photo-grounds {
    background-image: url('Images/image.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.venue-photo-hall {
    background-image: url('Images/build.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.venue-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Timeline */
.timeline-section {
    background: transparent;
}

.timeline-container {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    z-index: 2;
}

.icon-emoji {
    position: relative;
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0;
    animation: pulse-icon 2s ease-out infinite;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.timeline-item:not(:last-child) .timeline-icon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-soft) 100%);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.timeline-description {
    font-size: 17px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-details {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Countdown */
.countdown-section {
    background: var(--white);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
}

.countdown-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-circle-bg {
    fill: none;
    stroke: var(--accent-soft);
    stroke-width: 6;
}

.countdown-circle-progress {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--accent-gold);
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 500;
}

/* Wishes */
.wishes-section {
    background: linear-gradient(135deg, #f9f6f2 0%, var(--accent-soft) 100%);
}

.wishes-quote {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 30px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
}

.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    color: var(--accent-gold);
    opacity: 0.15;
    position: absolute;
    line-height: 1;
}

.quote-mark-left {
    top: 15px;
    left: 20px;
}

.quote-mark-right {
    bottom: 15px;
    right: 20px;
}

.quote-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 25px;
}

.quote-text:last-of-type {
    margin-bottom: 0;
}

.decorative-line-small {
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
    margin: 25px auto;
}

.dress-code {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.dress-code-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.dress-code-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 25px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* Dress-code palette (extended, with labels) */
.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.color-chip {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 14px 12px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.color-chip:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.color-chip .color-swatch {
    width: 52px;
    height: 52px;
    background: var(--swatch, #ddd);
    position: relative;
}

.color-chip .color-swatch::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.color-chip.is-dark .color-swatch::after {
    border-color: rgba(255, 255, 255, 0.35);
}

.color-label {
    font-size: 12px;
    letter-spacing: 0.4px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.25;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-rings {
    font-size: 50px;
    margin-bottom: 25px;
    animation: rotate-rings 10s linear infinite;
}

@keyframes rotate-rings {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 6px;
    margin-bottom: 18px;
}

.footer-date {
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0.8;
}

.footer-heart {
    margin-top: 35px;
}

.heart-svg {
    width: 35px;
    height: 35px;
    fill: var(--accent-gold);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.4);
}

.back-to-top-icon {
    display: block;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .envelope-container {
        width: 85%;
        max-width: 320px;
        height: 260px;
    }

    .letter {
        padding: 20px 15px;
        width: 90%;
        height: 80%;
    }

    .letter-text {
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .letter-date {
        font-size: 32px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .letter-names {
        font-size: 12px;
        letter-spacing: 1px;
        word-break: break-word;
        text-align: center;
        padding: 0 5px;
    }

    .letter-header {
        margin-bottom: 10px;
    }

    .letter-decorative {
        font-size: 20px;
    }

    .nav-menu {
        top: 15px;
        gap: 10px;
        padding: 10px 18px;
        font-size: 10px;
    }

    .nav-link {
        font-size: 10px;
        padding: 4px 0;
    }

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

    .hero-badge {
        padding: 8px 20px;
        margin-bottom: 25px;
    }

    .badge-text {
        font-size: 10px;
    }

    .wedding-title {
        font-size: 16px;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }

    .couple-date {
        font-size: 56px;
        letter-spacing: 10px;
        margin-bottom: 20px;
    }

    .couple-names {
        font-size: 32px;
        letter-spacing: 5px;
        gap: 12px;
    }

    .names-separator {
        font-size: 28px;
    }

    .photos-container {
        gap: 25px;
        margin-bottom: 35px;
    }

    .photo-frame {
        max-width: 250px;
        padding: 12px;
    }

    .photo-placeholder {
        height: 260px;
    }

    .photo-emoji {
        font-size: 60px;
    }

    .photo-caption {
        font-size: 13px;
    }

    .section-wrapper {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 45px;
        gap: 15px;
    }

    .title-text {
        font-size: 26px;
    }

    .title-line {
        max-width: 80px;
    }

    .invitation,
    .save-date,
    .calendar-card,
    .wishes-quote,
    .dress-code {
        padding: 35px 22px;
        border-radius: 18px;
    }

    .invitation-text {
        font-size: 14.5px;
        line-height: 1.8;
    }

    .couple-icon {
        font-size: 70px;
    }

    .calendar-month {
        font-size: 28px;
    }

    .calendar-year {
        font-size: 13px;
    }

    .calendar-grid {
        gap: 6px;
        margin-bottom: 30px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .calendar-day.header {
        font-size: 10px;
    }

    .calendar-day.special {
        font-size: 15px;
    }

    .calendar-note {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .calendar-date-big {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .venue-content {
        gap: 40px;
    }

    .venue-icon {
        font-size: 60px;
    }

    .venue-name {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .venue-address {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }

    .venue-time {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .how-to-get {
        padding: 25px 20px;
    }

    .how-to-get-title {
        font-size: 20px;
    }

    .map-button {
        padding: 12px 30px;
        font-size: 13px;
    }

    .timeline-item {
        margin-bottom: 50px;
    }

    .timeline-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-right: 20px;
    }

    .timeline-item:not(:last-child) .timeline-icon::after {
        height: 70px;
    }

    .timeline-time {
        font-size: 22px;
    }

    .timeline-description {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .timeline-details {
        font-size: 13px;
    }

    .countdown-timer {
        gap: 20px;
        margin-top: 50px;
    }

    .countdown-circle {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }

    .countdown-number {
        font-size: 40px;
    }

    .countdown-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .quote-mark {
        font-size: 50px;
    }

    .quote-text {
        font-size: 14.5px;
    }

    .dress-code-title {
        font-size: 26px;
    }

    .dress-code-text {
        font-size: 14px;
    }

    .color-swatch {
        width: 50px;
        height: 50px;
    }

    .color-palette-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .color-chip {
        padding: 12px 10px;
    }

    .color-label {
        font-size: 11px;
    }

    .footer {
        padding: 50px 20px;
    }

    .footer-rings {
        font-size: 45px;
    }

    .footer-names {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .footer-date {
        font-size: 14px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .envelope-container {
        width: 90%;
        max-width: 280px;
        height: 240px;
    }

    .letter {
        padding: 18px 12px;
        width: 92%;
        height: 82%;
    }

    .letter-text {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .letter-date {
        font-size: 28px;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
    }

    .letter-names {
        font-size: 11px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .letter-header {
        margin-bottom: 8px;
    }

    .letter-decorative {
        font-size: 18px;
    }

    .couple-date {
        font-size: 48px;
        letter-spacing: 8px;
    }

    .couple-names {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .photo-frame {
        max-width: 220px;
    }

    .photo-placeholder {
        height: 230px;
    }

    .section-title {
        font-size: 24px;
    }

    .title-text {
        font-size: 22px;
    }

    .venue-name {
        font-size: 24px;
    }

    .footer-names {
        font-size: 28px;
        letter-spacing: 3px;
    }
}

@media (min-width: 769px) {
    .venue-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .venue-photos {
        grid-template-columns: 1fr 1fr;
    }

    .venue-photo.large {
        grid-column: span 2;
        height: 280px;
    }
}

/* Utility Classes */
.decorative-line {
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    margin: 35px auto;
}
