/* style.css — Premium Wedding Edition */

:root {
    --bg-color: #FAF9F6;              /* Дорогой оттенок слоновой кости */
    --text-color: #2C2C2C;            /* Мягкий черный */
    --accent-color: #B89D7E;           /* Приглушенное золото / Шампань */
    --secondary-color: #7D8471;        /* Оливковый акцент */
    --border-color: #E5E1DA;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 140px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0; /* Для эффекта появления при скролле (нужен JS или просто убрать для статики) */
    animation: fadeIn 1.5s forwards;
}

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

/* -- Hero Section -- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color); 
    /* Замени на свои названия файлов из assets/images/ */
    background: 
        linear-gradient(rgba(250, 249, 246, 0.4), rgba(250, 249, 246, 0.4)), 
        url('assets/images/hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Эффект параллакса */
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-date {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 400;
}

/* -- Typography & Elements -- */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-color);
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid var(--text-color);
}

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

/* -- Details & Images -- */
.details-address {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* Добавим стильный контейнер для фото в секции деталей */
#details::before {
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    margin-bottom: 60px;
    background: url('assets/images/location.jpg') center/cover;
    border-radius: 2px;
}

/* -- Timeline -- */
.timeline {
    border-left: 1px solid var(--border-color);
    padding-left: 50px;
    text-align: left;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -55px;
    top: 10px;
    width: 9px;
    height: 9px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-time {
    font-family: var(--font-body);
    letter-spacing: 2px;
    font-size: 0.8rem;
}

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

/* -- Dress Code -- */
.dresscode-palette {
    gap: 30px;
    margin-top: 40px;
}

.dresscode-color {
    width: 70px;
    height: 70px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 4px solid #fff;
}

/* -- RSVP Form -- */
.rsvp-form {
    background: #FFF;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.form-group input, .form-group textarea {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 15px 0;
}

.form-group input:focus {
    border-bottom-color: var(--accent-color);
}
