/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-color: #d4a574;
    --primary-light: #e8c9a5;
    --primary-dark: #b8935f;
    --primary-gold: #c9a962;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #faf9f7;
    --bg-cream: #fffef9;
    --bg-gradient: linear-gradient(135deg, #f5e6d3 0%, #e8d5b5 100%);
    --white: #ffffff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Arial', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    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);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-light);
}

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

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

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

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

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

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

.nav-btn {
    background: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--white) !important;
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,44,44,0.4) 0%, rgba(212,165,116,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 1.2s ease-out;
    color: var(--white);
}

.hero-pretitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-title .ampersand {
    font-style: italic;
    color: var(--primary-light);
}

.hero-date {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-invitation {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .scroll-arrow {
        font-size: 1.5rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.music-control:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.music-icon {
    width: 24px;
    height: 24px;
}

.music-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.music-control.playing {
    background: var(--primary-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(212, 165, 116, 0); }
}

/* Кнопка связи для мобильных */
.contact-btn-mobile {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 998;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-btn-mobile svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-btn-mobile:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===================================
   Story Section
   =================================== */
.story {
    padding: 120px 0;
    background: var(--bg-cream);
}

/* Dresscode List */
.dresscode-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.dresscode-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.dresscode-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.dresscode-note {
    margin-top: 15px;
    padding: 12px;
    background: rgba(212, 165, 116, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text {
    padding-right: 20px;
}

.story-intro {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

/* Relationship Timeline */
.relationship-timeline {
    position: relative;
    padding: 40px 0;
}

.relationship-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(212,165,116,0.4);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* ===================================
   Details Section
   =================================== */
.details {
    padding: 120px 0;
    background: var(--bg-light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.detail-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.detail-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Map */
.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    height: 450px;
    width: 100%;
}

.map-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   Venue Section (Ресторан)
   =================================== */
.venue {
    padding: 120px 0;
    background: var(--bg-cream);
}

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

.venue-info h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 25px;
}

.venue-address,
.venue-time {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.venue-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 30px;
}

.venue-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.venue-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.venue-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.8rem;
}

.venue-feature span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.venue-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#venueMap {
    height: 450px;
    width: 100%;
}

/* ===================================
   Program Section
   =================================== */
.program {
    padding: 120px 0;
    background: var(--bg-cream);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
    border-radius: 2px;
}

.timeline-item-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item-wrapper:nth-child(odd) {
    direction: rtl;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(212,165,116,0.4);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-item-wrapper:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item-wrapper:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-time {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===================================
   Dress Code Section
   =================================== */
.dresscode {
    padding: 120px 0;
    background: var(--bg-gradient);
}

.dresscode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.dresscode-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.dresscode-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.dresscode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dresscode-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
    cursor: pointer;
}

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

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 0;
    background: var(--text-dark);
    text-align: center;
}

.footer-content {
    color: var(--white);
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.footer-names .ampersand {
    color: var(--primary-color);
    font-style: italic;
}

.footer-date {
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.footer-hashtag {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-love {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dresscode-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-text {
        order: 2;
        padding-right: 0;
    }
    
    .relationship-timeline {
        order: 1;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 70px;
    }
    
    .timeline-item-wrapper:nth-child(odd) {
        direction: ltr;
    }
    
    .timeline-item-wrapper:nth-child(odd) .timeline-content {
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-pretitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-date {
        font-size: 1.3rem;
    }
    
    .countdown {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .countdown-item {
        padding: 12px 18px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .story {
        padding: 80px 0;
    }
    
    .story-content {
        gap: 40px;
    }
    
    .story-intro {
        font-size: 1.5rem;
    }
    
    .story-text p {
        font-size: 1rem;
    }
    
    .relationship-timeline::before {
        left: 15px;
    }
    
    .timeline-dot {
        left: 9px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-item::before {
        left: 9px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-date {
        font-size: 0.85rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(250px, auto);
        gap: 15px;
    }

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

    .gallery-overlay span {
        font-size: 0.9rem;
    }
    
    .details {
        padding: 80px 0;
    }
    
    .detail-card {
        padding: 35px 20px;
    }
    
    .detail-icon {
        font-size: 2.5rem;
    }
    
    .detail-card h3 {
        font-size: 1.3rem;
    }
    
    .detail-value {
        font-size: 1.05rem;
    }
    
    #map {
        height: 350px;
    }
    
    .program {
        padding: 80px 0;
    }
    
    .timeline-item-wrapper {
        padding-left: 55px;
        gap: 15px;
    }
    
    .timeline-marker {
        left: 25px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-time {
        font-size: 1rem;
        padding: 6px 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .dresscode {
        padding: 80px 0;
    }
    
    .dresscode-card {
        padding: 30px 20px;
    }
    
    .dresscode-icon {
        font-size: 2.5rem;
    }
    
    .dresscode-card h3 {
        font-size: 1.3rem;
    }
    
    .dresscode-card p {
        font-size: 0.95rem;
    }
    
    .color-swatch {
        width: 40px;
        height: 40px;
    }
    
    .faq {
        padding: 80px 0;
    }
    
    .faq-question {
        font-size: 1.05rem;
        padding: 20px 0;
    }
    
    .faq-icon {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 16px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    
    .music-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-pretitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .hero-date {
        font-size: 1.1rem;
    }
    
    .countdown {
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 10px 12px;
    }
    
    .countdown-number {
        font-size: 1.4rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
    
    .scroll-arrow {
        font-size: 1.3rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .divider {
        margin-bottom: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .story {
        padding: 60px 0;
    }
    
    .story-content {
        gap: 30px;
    }
    
    .story-intro {
        font-size: 1.3rem;
    }
    
    .story-text p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .relationship-timeline {
        padding: 30px 0;
    }
    
    .relationship-timeline::before {
        left: 12px;
    }
    
    .timeline-dot {
        left: 6px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-item {
        padding-left: 38px;
        margin-bottom: 25px;
    }
    
    .timeline-item::before {
        left: 6px;
        top: 6px;
        width: 10px;
        height: 10px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-desc {
        font-size: 0.85rem;
    }
    
    .gallery {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(300px, auto);
        gap: 12px;
    }

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

    .gallery-overlay span {
        font-size: 0.9rem;
    }
    
    .details {
        padding: 60px 0;
    }
    
    .details-grid {
        gap: 20px;
    }
    
    .detail-card {
        padding: 30px 20px;
    }
    
    .detail-icon {
        font-size: 2.2rem;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
    }
    
    .detail-value {
        font-size: 1rem;
    }
    
    .detail-sub {
        font-size: 0.85rem;
    }
    
    .venue {
        padding: 60px 0;
    }
    
    .venue-content {
        gap: 30px;
    }
    
    .venue-info h3 {
        font-size: 1.3rem;
    }
    
    .venue-address,
    .venue-time {
        font-size: 0.95rem;
    }
    
    .venue-desc {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .venue-features {
        gap: 12px;
    }
    
    .venue-feature {
        padding: 10px 14px;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    .venue-feature span {
        font-size: 0.9rem;
    }
    
    #venueMap {
        height: 300px;
    }
    
    .venue {
        padding: 80px 0;
    }
    
    .venue-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .venue-info h3 {
        font-size: 1.5rem;
    }
    
    .venue-address,
    .venue-time {
        font-size: 1rem;
    }
    
    .venue-desc {
        font-size: 1rem;
    }
    
    .venue-feature {
        padding: 12px 16px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    #venueMap {
        height: 350px;
    }
    
    #map {
        height: 350px;
    }
    
    .map-link {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .program {
        padding: 60px 0;
    }
    
    .timeline-item-wrapper {
        padding-left: 45px;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .timeline-marker {
        left: 22px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-content {
        padding: 18px;
    }
    
    .timeline-time {
        font-size: 0.95rem;
        padding: 5px 12px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .dresscode {
        padding: 60px 0;
    }
    
    .dresscode-card {
        padding: 25px 18px;
    }
    
    .dresscode-icon {
        font-size: 2.2rem;
    }
    
    .dresscode-card h3 {
        font-size: 1.2rem;
    }
    
    .dresscode-card p {
        font-size: 0.9rem;
    }
    
    .color-palette {
        gap: 10px;
    }
    
    .color-swatch {
        width: 35px;
        height: 35px;
    }
    
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 18px 0;
    }
    
    .faq-icon {
        font-size: 1.3rem;
    }
    
    .faq-answer p {
        padding-bottom: 18px;
        font-size: 0.9rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 15px 25px;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 60px 0;
    }
    
    .footer-names {
        font-size: 1.8rem;
    }
    
    .footer-date {
        font-size: 1.1rem;
    }
    
    .footer-hashtag {
        font-size: 0.95rem;
    }
    
    .footer-love {
        font-size: 0.95rem;
    }
    
    .music-control {
        bottom: 15px;
        right: 15px;
        padding: 10px 12px;
    }
    
    .music-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Показываем кнопку связи только на мобильных */
    .contact-btn-mobile {
        display: flex;
    }
}

/* ===================================
   Notification Styles
   =================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===================================
   Loading States
   =================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
