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

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

html {
    scroll-behavior: smooth;
}

/* ==========================================================
   GENERAL
========================================================== */

body {
    font-family: "Montserrat", sans-serif;
    color: #3b342d;
    background: #f7f4ef;
    line-height: 1.8;
}

h1,
h2,
h3 {
    /* font-family: "Cormorant Garamond", serif; */
}

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

.hero {
    position: relative;

   
    min-height: 100vh;

    /* background: url("images/sugarcreekhome.jpg") center center / cover; */
    
   

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.42);
}

/* ==========================================================
   NAVIGATION
========================================================== */

nav{
    position:fixed;
    top:0;
    left:0;
    right:0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 6%;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);

    z-index:999;
}

.logo{
    color:white;
    font-size:22px;
    font-weight:600;
}

.menu{
    display:flex;
    gap:24px;
    list-style:none;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:15px;
    transition:.3s;
}

.menu a:hover{
    color:#dcb46d;
}

.menu-toggle{
    display:none;
    font-size:34px;
    color:white;
    cursor:pointer;
}


nav.scrolled{

    background:white;

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

}

nav.scrolled .logo,
nav.scrolled a,
nav.scrolled .menu-toggle{

    color:#3b342d;

}


@media(max-width:1024px){

.menu-toggle{
    display:block;
}

.menu{

    position:fixed;

    top:80px;
    left:-100%;

    width:100%;
    height:calc(100vh - 80px);

    background:rgba(20,20,20,.96);

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    padding-top:50px;

    gap:30px;

    transition:.35s;
}

.menu.active{
    left:0;
}

.menu a{
    font-size:22px;
}

}

/* ==========================================================
   GLASS CARD
========================================================== */

.glass {

    position: relative;

    z-index: 1;

    width: min(850px, 90%);

    padding: 70px 80px;

    text-align: center;

    color: #fff;

    border-radius: 30px;

    /* Fond plus clair */

    background: linear-gradient(

        to bottom,

        rgba(255,255,255,.18),

        rgba(255,255,255,.08)

    );

    /* Flou moins prononcé */

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.35);

    box-shadow:

        0 25px 60px rgba(0,0,0,.30),

        inset 0 1px 0 rgba(255,255,255,.25);

}


.glass2 {

    position: relative;

    z-index: 1;

    width: min(850px, 90%);

    padding: 70px 80px;

    text-align: center;

    color: #fff;

 

 
}

.glass img {

    width:220px;

    filter:

        drop-shadow(0 10px 25px rgba(0,0,0,.35));

}

.glass h1{

    text-shadow:

        0 3px 15px rgba(0,0,0,.45);

}

.small {
    max-width: 900px;
    margin: auto;
}

.hero-logo{

    width:240px;

    height:240px;

    margin:0 auto 35px;

   background:url("images/logo.png") center center / contain no-repeat; 

    filter:drop-shadow(0 8px 20px rgba(0,0,0,.45));

}

@media (max-width: 900px) {

    .hero-logo {

        width: 70%;

        height: 170px;

    }

}
/* ==========================================================
   TYPOGRAPHY
========================================================== */

.sub {
    margin: 15px 0 28px;
}

span {
    letter-spacing: 3px;
    color: #73885c;
    font-size: .8rem;
    font-weight: 600;
}

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

.btn {
    display: inline-block;

    padding: 14px 30px;

    color: white;
    text-decoration: none;

    background: #728a58;

    border-radius: 30px;
}

/* ==========================================================
   SPLIT SECTION
========================================================== */

.split {
    width: min(1180px, 92%);
    margin: auto;

    padding: 90px 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;

    align-items: center;
}

.reverse > :first-child {
    order: 2;
}

.split img {
    width: 100%;

    border-radius: 20px;

    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* ==========================================================
   CONTENT
========================================================== */

.content {
    width: min(1100px, 92%);
    margin: auto;

    padding: 90px 0;
}

/* ==========================================================
   CARDS
========================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 35px;
}

.cards div {
    padding: 28px;

    background: white;

    border-radius: 18px;

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

/* ==========================================================
   QUOTE
========================================================== */

.quote {
    padding: 120px 20px;

    text-align: center;

    color: white;
    font-size: 2rem;

    background: #45553f;
}

/* ==========================================================
   STATS
========================================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 70px 20px;

    text-align: center;

    color: white;

    background: #556845;
}

.stats b {
    display: block;

    font-size: 4rem;
}

/* ==========================================================
   CTA
========================================================== */

.cta {
    padding: 120px 20px;

    text-align: center;

    background: #ece7de;
}

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

footer {
    padding: 30px;

    text-align: center;

    color: white;

    background: #2f372d;
}

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

@media (max-width: 900px) {

    .split,
    .cards,
    .stats {
        grid-template-columns: 1fr;
    }

    .reverse > :first-child {
        order: 0;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

}

/* ==========================================================
   GALLERY
========================================================== */

.gallery-section{

    width:min(1200px,92%);
    margin:auto;

    padding:100px 0;

}

.gallery-header{

    text-align:center;

    max-width:750px;

    margin:0 auto 60px;

}

.gallery-header h2{

    margin:10px 0 20px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:30px;

}

.horse-card{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:#fff;

    box-shadow:0 18px 35px rgba(0,0,0,.12);

    transition:.35s;

}

.horse-card:hover{

    transform:translateY(-8px);

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

}

.horse-card img{

    width:100%;

    height:380px;

    object-fit:cover;

    display:block;

    transition:transform .6s;

}

.horse-card:hover img{

    transform:scale(1.08);

}

.horse-info{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:22px;

    color:white;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.45),
        transparent
    );

    backdrop-filter:blur(4px);

}

.horse-info h3{

    margin-bottom:8px;

    font-size:1.4rem;

    color:#fff;

}

.horse-info p{

    font-size:.92rem;

    line-height:1.5;

    color:rgba(255,255,255,.92);

}

@media (max-width:900px){

    .gallery-section{

        padding:70px 0;

    }

    .horse-card img{

        height:300px;

    }

}

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

.contact-section{

    background:#ece7de;

    padding:110px 20px;

}

.contact-container{

    width:min(900px,95%);

    margin:auto;

    text-align:center;

}

.contact-container h2{

    margin:12px 0 20px;

}

.contact-container p{

    max-width:700px;

    margin:0 auto 50px;

}

.contact-form{

    background:white;

    border-radius:25px;

    padding:45px;

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

}

.row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.field{

    display:flex;

    flex-direction:column;

    margin-bottom:25px;

    text-align:left;

}

.field label{

    margin-bottom:8px;

    font-weight:600;

    color:#556845;

}

.field input,
.field textarea,
.field select{

    border:none;

    border-radius:15px;

    background:#f6f6f6;

    padding:16px;

    font-size:15px;

    font-family:Montserrat,sans-serif;

    transition:.3s;

}

.field input:focus,
.field textarea:focus,
.field select:focus{

    outline:none;

    background:white;

    box-shadow:0 0 0 3px rgba(114,138,88,.25);

}

.contact-form button{

    margin-top:15px;

    width:250px;

    cursor:pointer;

    border:none;

    font-size:16px;

}

@media(max-width:900px){

.row{

    grid-template-columns:1fr;

}

.contact-form{

    padding:30px;

}

.contact-form button{

    width:100%;

}

}

/* ==========================================================
   PHOTO CAROUSEL
========================================================== */

.photo-carousel-section{

    width:min(1300px,94%);
    margin:auto;

    padding:100px 0;

}

.carousel{

    position:relative;

    overflow:hidden;

    border-radius:22px;

}

.carousel-track{

    display:flex;

    transition:transform .6s ease;

}

.slide{

    min-width:100%;

}

.slide img{

    display:block;

    width:100%;

    height:650px;

    object-fit:cover;

    border-radius:22px;

}

.carousel-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

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

    backdrop-filter:blur(8px);

    font-size:28px;

    cursor:pointer;

    z-index:10;

    transition:.3s;

}

.carousel-btn:hover{

    background:white;

    transform:translateY(-50%) scale(1.08);

}

.prev{

    left:20px;

}

.next{

    right:20px;

}

@media(max-width:900px){

.slide img{

    height:350px;

}

.carousel-btn{

    width:45px;
    height:45px;
    font-size:22px;

}

}

.footer {
    display: flex;
    width: 100%;
}

.footer-block {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.footer-block + .footer-block {
    border-left: 1px solid #ccc;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
    }

    .footer-block + .footer-block {
        border-left: none;
        border-top: 1px solid #ccc;
    }
}