/* =======================================================
   RESET
======================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Manrope",sans-serif;
    background:#f7f3ee;
    color:#2d241f;
    line-height:1.7;
}

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

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

ul{
    list-style:none;
}

/* =======================================================
   CONTAINER
======================================================= */

.container{
    width:min(1200px,90%);
    margin:auto;
}

/* =======================================================
   HEADER
======================================================= */

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(247,243,238,.92);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(0,0,0,.05);
}

nav{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:34px;
    font-weight:800;
    color:#2d241f;
}

nav ul{
    display:flex;
    gap:45px;
}

nav ul li a{
    font-size:18px;
    transition:.3s;
}

nav ul li a:hover{
    color:#8d6d58;
}

.btn{
    background:#6d4a37;
    color:#fff;
    padding:15px 32px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#8a624d;
    transform:translateY(-2px);
}

/* =======================================================
   HERO
======================================================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.badge{
    display:inline-block;
    padding:10px 20px;
    border-radius:50px;
    background:#fff;
    border:1px solid #e8ddd1;
    margin-bottom:28px;
    font-size:15px;
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 92px;
    line-height: 0.88;
    margin: 0;
    font-weight: 500;
    color: #2d241f;
    max-width: 650px;
    letter-spacing: -2px;
}

.hero h1 span{
    font-weight:300;
    font-style:italic;
}

.hero p{
    font-size:22px;
    color:#6b615a;
    max-width:520px;
    margin-bottom:45px;
}

.hero-photo{
    display:flex;
    justify-content:center;
}

.hero-photo img{
    width:100%;
    max-width:540px;
    aspect-ratio:4/5;
    object-fit:cover;
    border-radius:45px;
    box-shadow:0 30px 60px rgba(0,0,0,.08);
}
/* =======================================================
   ABOUT
======================================================= */

.about{
    padding:120px 0;
}

.about h2{
    text-align:center;
    font-size:52px;
    margin-bottom:70px;
    color:#2d241f;
}

.about-grid{
    display:grid;
    grid-template-columns:520px 1fr;
    gap:90px;
    align-items:start;
}

/* =======================================================
   SLIDER
======================================================= */

.slider{
    position:relative;
}

.slider-container{
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:40px;
    background:#ece2d7;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
}

.slide{
    display:none;
    width:100%;
    height:100%;
}

.slide.active{
    display:block;
    animation:fade .4s ease;
}

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

@keyframes fade{

    from{
        opacity:0;
        transform:scale(.98);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

/* =======================================================
   SLIDER BUTTONS
======================================================= */

.slider-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:28px;
}

.slider-buttons button{

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#6d4a37;

    color:white;

    font-size:22px;

    transition:.3s;

}

.slider-buttons button:hover{

    background:#8a624d;

    transform:translateY(-3px);

}

/* =======================================================
   ABOUT TEXT
======================================================= */

.about-text h3{

    font-size:36px;

    margin-bottom:20px;

    color:#2d241f;

}

.about-text h4{

    font-size:28px;

    margin-top:45px;

    margin-bottom:15px;

    color:#6d4a37;

}

.about-text p{

    font-size:18px;

    color:#5f5650;

    line-height:1.9;

    margin-bottom:24px;

    max-width:720px;

}
/* =======================================================
   CONTACT
======================================================= */

.contact{
    padding:140px 0 100px;
}

.contact h2{
    text-align:center;
    font-size:52px;
    margin-bottom:70px;
}

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

.contact-card{

    background:white;

    border-radius:30px;

    padding:40px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

    transition:.35s ease;

}

.contact-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 45px rgba(0,0,0,.08);

}

.contact-card h3{

    font-size:24px;

    margin-bottom:18px;

    color:#2d241f;

}

.contact-card a{

    font-size:18px;

    color:#6d4a37;

    word-break:break-word;

}

.contact-card p{

    font-size:18px;

    color:#5f5650;

}

/* =======================================================
   FOOTER
======================================================= */

footer{

    padding:35px 0;

    text-align:center;

    color:#7b726c;

    font-size:15px;

}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width:1000px){

.hero-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.hero p{

    margin:auto;

    margin-bottom:40px;

}

.hero-photo{

    margin-top:50px;

}

.about-grid{

    grid-template-columns:1fr;

    gap:60px;

}

.slider-container{

    max-width:520px;

    margin:auto;

}

.about-text{

    text-align:left;

}

.contact-grid{

    grid-template-columns:1fr;

}

nav{

    flex-direction:column;

    height:auto;

    padding:25px 0;

    gap:20px;

}

nav ul{

    gap:25px;

    flex-wrap:wrap;

    justify-content:center;

}

}

@media (max-width:700px){

.hero h1{

    font-size:60px;

}

.about h2,
.contact h2{

    font-size:40px;

}

.logo{

    font-size:28px;

}

.hero p{

    font-size:18px;

}

.about-text p{

    font-size:17px;

}

}
/* =======================================================
   SMOOTH ANIMATIONS
======================================================= */

section{
    scroll-margin-top:100px;
}

.hero,
.about,
.contact{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =======================================================
   BEAUTIFUL SCROLLBAR
======================================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f3ece5;

}

::-webkit-scrollbar-thumb{

    background:#b6947d;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#8d6d58;

}

/* =======================================================
   SECTIONS
======================================================= */

section{

    position:relative;

}

section::after{

    content:"";

    display:block;

    width:90px;

    height:2px;

    background:#d8c6b8;

    margin:90px auto 0;

}

.contact::after{

    display:none;

}

/* =======================================================
   SMALL IMPROVEMENTS
======================================================= */

.hero-photo img{

    transition:.45s ease;

}

.hero-photo img:hover{

    transform:scale(1.02);

}

.slide img{

    transition:.4s ease;

}

.slide img:hover{

    transform:scale(1.02);

}

.about-text h3{

    letter-spacing:-1px;

}

.hero h1{

    letter-spacing:-3px;

}

.logo{

    letter-spacing:-1px;

}

nav a{

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#8d6d58;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}
/* =======================================================
   FINAL POLISH
======================================================= */

/* Мягкий фон страницы */

body{
    background:
        radial-gradient(circle at top right, #fffaf5 0%, transparent 35%),
        radial-gradient(circle at bottom left, #f2e7dc 0%, transparent 40%),
        #f7f3ee;
}

/* Hero */

.hero{
    overflow:hidden;
}

.hero h1{
    max-width:650px;
}

.hero-photo img{

    border:8px solid rgba(255,255,255,.65);

    transition:.5s ease;

}

.hero-photo img:hover{

    transform:scale(1.03) rotate(.4deg);

}

/* ABOUT */

.about{

    position:relative;

}

.about::before{

    content:"";

    position:absolute;

    top:0;
    left:50%;

    transform:translateX(-50%);

    width:140px;
    height:2px;

    background:#d8c6b8;

}

/* Карточка текста */

.about-text{

    background:rgba(255,255,255,.45);

    backdrop-filter:blur(10px);

    padding:45px;

    border-radius:35px;

}

.about-text p{

    color:#5a514c;

}

/* Слайдер */

.slider-container{

    transition:.4s;

}

.slider-container:hover{

    transform:translateY(-6px);

    box-shadow:0 40px 80px rgba(0,0,0,.12);

}

/* Контакты */

.contact-card{

    border:1px solid rgba(0,0,0,.05);

}

.contact-card a{

    transition:.3s;

}

.contact-card a:hover{

    color:#8b644c;

}

/* Кнопки */

button{

    font-family:"Manrope",sans-serif;

}

.slider-buttons button{

    box-shadow:0 10px 20px rgba(0,0,0,.08);

}

.slider-buttons button:hover{

    transform:translateY(-4px);

}

/* Плавное выделение текста */

::selection{

    background:#8b644c;

    color:white;

}

/* =======================================================
   VIDEOS UNDER PHOTO
======================================================= */

.video-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.video-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 40px;
    background: #efe4d8;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 25%;
}

@media (max-width: 700px) {

    .hero {
        min-height: auto;
        padding: 40px 0 80px;
        text-align: center;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 45px;
    }

    .hero-grid > div:first-child {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge {
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 60px;
        line-height: 0.9;
        letter-spacing: -2px;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-photo {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-photo img {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    /* убираем палку справа на телефоне */
    .hero::after {
        display: none;
    }

}