html {
    font-size: 16px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    background-color: #9f8f87;
}

body {
    margin-bottom: 60px;
    font-family: "kepler-std-light", serif !important; 
    font-weight: 700;
    font-style: normal;
}

.navbar-bg {
    background-color:#cec6c0;
    font-size:18px;
}

.main-bg {
    background-color: #fdfcf9;
}

.alternative-bg {
    background-color: #9f8f87;
}

.alternative-bg2 {
    background-color: #cec6c0;
}

.main-header {
    background-color: #fdfcf9;
    font-weight: 100;
    font-size:48px;
    font-style: italic;
}

/* Tablet */
@media (max-width: 992px) {
    .main-header {
        font-size: 36px;
    }

        .main-header img {
            max-width: 90px;
        }
}

/* Mobile */
@media (max-width: 600px) {
    .main-header {
        font-size: 24px; /* more reasonable */
        text-align: center;
        flex-direction: column; /* stack logo on top of text */
    }

        .main-header img {
            max-width: 70px;
            margin-bottom: 0.5rem;
        }
}


.active-page {
    color: white !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    transition: color 0.3s, opacity 0.3s, transform 0.3s;
    font-weight: 400; /* keep it fixed */
}

    .navbar-nav .nav-link:hover {
        opacity: 0.8; /* subtle fade */
        /* optional: slightly enlarge without moving layout */
        transform: scale(1.02);
        color: #007bff; /* optional color change */
    }

.vieille-cabane {
    background-image: url('/images/vieille-cabane.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 80vh; /* makes it almost full-screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

@media (max-width: 992px) {
    .vieille-cabane {
        background-image: url('/images/vieille-cabane-small.jpg');
        height: 60vh; /* a bit shorter so it doesn’t overwhelm */
        background-position: center top; /* keeps important part visible */
    }
}

.recettes {
    background-image: url('/images/recettes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 80vh; /* makes it almost full-screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.main-carousel {
    width: 100%;
    max-width: 800px; /* desktop limit */
    aspect-ratio: 16 / 10; /* keeps proportions instead of fixed height */
    margin: auto;
    border-radius: 8px;
    overflow: hidden; /* clip overflowing images */
}

    .main-carousel .carousel-inner,
    .main-carousel .carousel-item,
    .main-carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tablet */
@media (max-width: 992px) {
    .main-carousel {
        max-width: 600px;
        aspect-ratio: 16 / 11;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .main-carousel {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

.separator {
    height: 20px;
    width: 100%;
    background: #cec6c0;
}

.paragraph {
    font-size: 18px;
    line-height: 1.8;
}

.super-padded-column {
    padding: 0px 220px !important;
}

.custom-button {
    background-color: #ae582d;
    height:45px;
    width:150px;
    border:none;
    color:whitesmoke;
}

.custom-button:hover {
    background-color: white;
    height: 45px;
    width: 150px;
    border: #ae582d 1px solid;
    color: #ae582d;
}

.missing-section {
    font-size:50px;
    background-color:black;
    padding:20px;
    opacity:0.8;
    border-radius:5px;
}

.sirop-cell {
    background-image: url("/images/sirop.jpg");
    background-size: cover;
    background-position: center;
    height: 20rem;
}

.tire-cell {
    background-image: url("/images/tire.jpg");
    background-size: cover;
    background-position: center;
    height: 20rem;
}

.sucre-cell {
    background-image: url("/images/sucre.jpg");
    background-size: cover;
    background-position: center;
    height: 20rem;
}

.foin-cell {
    background-image: url("/images/foin.jpg");
    background-size: cover;
    background-position: center;
    height: 20rem;
}

.avoine-cell {
    background-image: url("/images/avoine.jpg");
    background-size: cover;
    background-position: center;
    height: 20rem;
}

.text-center ul {
    display: inline-block;
    text-align: left; /* keeps bullet + text aligned */
    margin: 0;
    padding: 0;
}

.point-vente {
    background-color: #cec6c0;
    padding:50px;
    width:200px;
    height:250px;
}

.point-vente:hover {
    transform:scale(1.05);
}

.product-image {
    width:50%;
}

@media (max-width: 992px) {
    .mobile-padding {
        padding: 1rem;
    }

    .about-image {
        width:100%;
    }

    .super-padded-column {
        padding: 0px 20px !important;
    }

    
}

@media (max-width: 600px){
    .product-image {
        height: 12rem;
        margin: 10px 10px;
    }
}