@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=Montserrat:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   COVER (OBLOZKA)
   ======================================== */
.cover {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(183, 28, 28, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(183, 28, 28, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cover-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cover-season {
    color: #d32f2f;
    font-weight: 500;
}

.cover-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.cover-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cover-title span {
    display: block;
    font-size: 0.35em;
    font-weight: 400;
    letter-spacing: 8px;
    color: #d32f2f;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
}

.cover-subline {
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 30px;
    font-weight: 300;
}

.cover-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    position: relative;
    z-index: 1;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    animation: bounce 2s infinite;
}

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 40px;
    position: relative;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    max-width: 200px;
    margin: 0 auto;
}

/* ========================================
   EDITOR'S NOTE
   ======================================== */
.editors-note {
    text-align: center;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d32f2f;
    margin-bottom: 40px;
    font-weight: 500;
}

.editors-note h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #fff;
}

.editors-note p {
    font-size: 1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

/* ========================================
   TABLE OF CONTENTS (DETAILS)
   ======================================== */
.contents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.contents-item {
    padding: 50px 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.contents-item:nth-child(2n) {
    border-right: none;
}

.contents-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.contents-item:hover {
    background: rgba(211, 47, 47, 0.05);
}

.contents-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(211, 47, 47, 0.3);
    line-height: 1;
    margin-bottom: 15px;
}

.contents-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.contents-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

/* ========================================
   FASHION (DRESS CODE)
   ======================================== */
.fashion-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fashion-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.2;
}

.fashion-text p {
    color: #aaa;
    font-weight: 300;
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.palette {
    display: flex;
    gap: 20px;
}

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

.palette-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.palette-swatch:hover {
    transform: scale(1.1);
    border-color: #fff;
}

.palette-swatch.black { background: #1a1a1a; }
.palette-swatch.red { background: #d32f2f; }
.palette-swatch.gold { background: #c5a059; }

.palette-name {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.fashion-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fashion-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(211, 47, 47, 0.3);
    transform: rotate(45deg);
}

.fashion-visual::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.visual-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

/* ========================================
   RUNWAY (PROGRAM)
   ======================================== */
.runway-section {
    text-align: center;
}

.runway-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 60px;
}

.runway-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.runway-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: padding-left 0.3s ease;
}

.runway-item:hover {
    padding-left: 15px;
    border-bottom-color: rgba(211, 47, 47, 0.3);
}

.runway-item:last-child {
    border-bottom: none;
}

.runway-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: 0.5px;
}

.runway-tag {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d32f2f;
    font-weight: 500;
    border: 1px solid rgba(211, 47, 47, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ========================================
   RSVP
   ======================================== */
.rsvp-section {
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rsvp-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 20px;
}

.rsvp-text {
    color: #888;
    font-weight: 300;
    margin-bottom: 50px;
    font-size: 0.95rem;
}

.rsvp-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 18px 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.contact-line {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
}

.contact-line a {
    color: #d32f2f;
    text-decoration: none;
    border-bottom: 1px solid rgba(211, 47, 47, 0.3);
    transition: border-color 0.3s ease;
}

.contact-line a:hover {
    border-bottom-color: #d32f2f;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #888;
    margin-bottom: 15px;
}

.footer-credit {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #444;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
    }
    
    .contents-grid {
        grid-template-columns: 1fr;
    }
    
    .contents-item {
        border-right: none;
    }
    
    .contents-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .contents-item:last-child {
        border-bottom: none;
    }
    
    .fashion-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fashion-visual {
        height: 300px;
    }
    
    .cover-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

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

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.8s ease forwards;
}
