@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;

}

body {
    font-family: 'Figtree', 'sans-serif';
    overflow-x: hidden;
}

.--root {
    --color: #8E806A;
    --color: #C3B091;
    --color: #E4CDA7;
    --color: #FFE6BC;
    --color: #f1eee8;
    --color: #EDEDED;
    --color: #F5F3F0;
}

/* ############ header ################ */

.header-container {
    background-color: #785C37;
    color: #FCFCFC;

}

.header-container h2 {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
}

.social-links a {
    display: inline-block;
    color: #f1eee8;
    font-size: 22px;
    margin-left: 30px;
}

.social-links a:hover {
    color: #000;
    transform: translateY(-3px);
    transition: 0.2s ease-in;
}

.search-bar {
    position: relative;
}

.search-bar input {
    display: inline-block;
    padding: 10px;
}

.search-btn .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.search-btn {
    position: absolute;
    padding: 7px 10px;
    margin-top: 5px;
    border: none;
    top: -4px;
    left: -37px;
}

.search-btn .material-symbols-outlined:hover {
    transform: scale(0.8);
    transition: all 0.3s ease-in-out;
}

/* ############ navbar ################# */

.navbar-nav .nav-link {
    font-weight: 500;
    color: #222222;
    /* dark earthy tone */
    margin-right: 15px;
    transition: color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #d9b382;
    /* warm beige accent */
    transform: translateY(-2px);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Active link style */
.navbar-nav .nav-link.active {
    color: #d9b382;
    font-weight: 600;
}

/* .navbar-section {
    padding: 5px 0;
    background-color: #fff;
}

.sticky {
    position: fixed;
    top: 0;
    padding: 5px 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 0 90px;
}

.nav-image {
    width: 15%;
    margin-left: 10px;
}

.nav-image img {
    width: 70%;
}

.nav-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 50px;
    list-style: none;
}

.home {
    color: #716654;
}

.nav-items a {
    font-size: 17px;
    text-decoration: none;
    color: #6D4721;
    font-weight: 500;
}

.nav-items a:hover {
    color: #716654;
    transition: all 0.3s ease-in-out;
} */

/* Hero section */
#hero-slider .carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    animation: zoomSlide 10s ease-in-out infinite;
}

.nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(45deg, #ff7a00, #ffbb33);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.5);
}


.navbar-nav {
    font-size: 16px;
}

@keyframes zoomSlide {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

#hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(63, 99, 50, 0.252);
}

#hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 600px;
    animation: fadeInUp 1.5s ease;

}

#hero-slider .btn.btn-warning {
    text-transform: capitalize;
    font-size: 18px;
    /* Increased text size */
    padding: 15px 20px
        /* Adjust padding proportionally */
}

#hero-slider .btn.btn-warning:hover {
    background-color: #fff;
    transition: all 0.5s ease-in;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.gradient-text {
    background: linear-gradient(to right, #fff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text1 {
    background: linear-gradient(to right, #fff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero-slider .carousel-caption h1,
#hero-slider .carousel-caption p {
    color: white;
    animation: fadeIn 2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#hero-slider .btn {
    border-radius: 30px;
    padding: 0.7rem 2rem;
    animation: fadeIn 2.5s ease;
}

/* ################ About us ################### */

.about-section {
    padding: 120px 0;
}

.about-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 70px;
}

.about-text {
    width: 50%;
    margin-right: 20px;
}

.about-text h1 {
    font-size: 60px;
    color: #432c08;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 17px;
    font-weight: 400;
    color: #1f1f1f;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 30px;
}

.about-btn {
    padding: 17px 30px;
    border-radius: 50px;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: #EDEDED;
    background-color: #6D4721;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.about-btn:hover {
    border: none;
    color: #fff;
}

.about-btn::before {
    content: "";
    display: block;
    height: 65px;
    top: -3px;
    left: -2px;
    position: absolute;
    background-color: #716654;
    z-index: -1;
}

.about-btn:hover::before {
    animation: buttonFill 0.5s ease forwards;
    color: #EDEDED;
}

@keyframes buttonFill {
    from {
        transform: translateX(-150px);
        width: 103%;
    }

    to {
        transform: translate(0);
        width: 103%;
    }
}

.about-img {
    width: 50%;
    animation: floatingImg 4s ease-in-out infinite;
}

.about-img img {
    width: 100%;
}

@keyframes floatingImg {
    0% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Fact Counter */

.counter-card {
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #925f2c;
    /* warm beige like HomeTown accent */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.counter {
    font-size: 2rem;
    color: #4b3e2a;
    /* dark earthy tone matching HomeTown typography */
}

/* our products */

/* ############## product Container #################### */

.product-section {
    padding: 120px 0;
}

.product-section h1 {
    font-size: 55px;
    font-weight: 700;
    color: #716654;
    margin-bottom: 50px;
    text-align: center;
}

.product-container {
    margin: 0 70px;
}

.product-container h2 {
    font-size: 45px;
    color: #1f1f1f;
    font-weight: 600;
    margin-top: 60px;
}

.all-products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-bottom: 60px;
    padding-top: 30px;
    border-bottom: 1px solid #C3B091;
}

.last-product {
    border: none;
    padding-bottom: 0;
}

.product {
    width: 25%;
    box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.4);
    padding: 20px;
}

.product:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.product-image {
    width: 100%;
}

.product-image img {
    width: 100%;
}

.product-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.product-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #6D4721;
}

.product-text a {
    font-size: 15px;
    text-decoration: none;
    font-weight: 800;
    color: #6D4721;
}

.product-text a:hover {
    color: #1f1f1f;
    transition: all 0.5s ease-in-out;
}


/* Product Carousel */
.swiper-slide .card img {
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: #4b3e2a;
    /* earthy tone like HomeTown */
}

.card-title {
    color: #4b3e2a;
}

.btn-outline-dark {
    border-color: #d9b382;
    color: #4b3e2a;
}

.btn-outline-dark:hover {
    background-color: #d9b382;
    border-color: #d9b382;
    color: #ffffff;
}

/* testimonial Section */

.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title h2 {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #5a8a78;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 50px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-icon {
    font-size: 2.5rem;
    color: #5a8a78;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    /* Pushes author to the bottom */
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Animation class */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* footer section */

footer {
    font-family: 'Segoe UI', sans-serif;
}

.footer-link:hover {
    color: #d9b382;
    /* warm beige accent like HomeTown */
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .btn-warning {
        margin-bottom: 10px;
    }


}

/* =================================== */
/* Responsive Top-Header Styles       */
/* =================================== */

/* For Tablets and smaller devices (screens less than 992px wide) */
@media screen and (max-width: 992px) {
    .header-container {
        /* Reduce horizontal padding for smaller screens */
        padding: 10px 20px;
    }

    .header-container h2 {
        /* Slightly reduce font size of the brand name */
        font-size: 16px;
    }

    .social-links a {
        /* Reduce icon size and spacing */
        font-size: 20px;
        margin-left: 20px;
    }
}

/* For Mobile devices (screens less than 768px wide) */
@media screen and (max-width: 768px) {
    .header-container {
        /* Stack elements vertically instead of horizontally */
        flex-direction: column;
        /* Add some vertical spacing between elements */
        gap: 15px;
        padding: 15px 10px;
    }

    /* Re-order elements for a better mobile experience */
    .gmail {
        /* Brand name appears first */
        order: 1;
    }

    /* --- NEW RESPONSIVE SEARCH BAR STYLES --- */
    .search-bar {
        order: 2;
        /* Search bar appears second */
        position: relative;
        width: 90%;
        /* Make search bar wider */
        max-width: 400px;
        margin: 0 auto;
        /* Center the search bar */
    }

    .search-bar input {
        width: 100%;
        height: 45px;
        /* Taller for easier tapping */
        border-radius: 50px;
        /* Fully rounded */
        border: 1px solid #ddd;
        padding-left: 20px;
        padding-right: 50px;
        /* Make space for the icon button */
        font-size: 16px;
    }

    .search-bar input:focus {
        outline: none;
        border-color: #4b3e2a;
        box-shadow: 0 0 5px rgba(75, 62, 42, 0.3);
    }

    .search-btn {
        position: absolute;
        right: 5px;
        /* Position inside the input field */
        top: 50%;
        transform: translateY(-50%);
        /* Center vertically */
        height: 35px;
        width: 35px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        /* Circular button */
        background-color: #4b3e2a;
        /* Brand color */
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .search-btn:hover {
        background-color: #d9b382;
    }

    .search-btn .material-symbols-outlined {
        font-size: 20px;
    }
}