/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #064e3b; /* Deep Forest Green - More premium */
    --primary-hover: #043d2e;
    --orange-color: #d4a373; /* Sophisticated Gold/Tan accent */
    --light-bg: #f8faf9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Top bar */
.top-bar {
    font-size: 0.8rem;
    padding: 10px 0;
    color: white;
    font-weight: 500;
}
.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    padding: 15px 0;
}
.navbar-brand .logo-icon {
    color: var(--primary-color);
    position: relative;
}
.navbar-brand .logo-icon::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background-color: var(--orange-color);
    border-radius: 50%;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: #555;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 650px;
}
.carousel-item {
    height: 650px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    right: auto;
    text-align: left;
    z-index: 2;
    padding-bottom: 0;
}
.badge-sale {
    background-color: var(--orange-color);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    transform: skewX(-10deg);
}
.badge-sale span {
    display: inline-block;
    transform: skewX(10deg);
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 550px;
    opacity: 0.9;
}
.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}

/* Hero Controls */
.carousel-control-prev, .carousel-control-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
}
.carousel-control-prev { left: 30px; background: rgba(255,255,255,0.1); }
.carousel-control-next { right: 30px; background: white; color: var(--primary-color); }
.carousel-control-next:hover { background: var(--orange-color); }
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(200);
}
.carousel-control-next .carousel-control-next-icon {
    filter: none;
}

/* Search Box */
.search-container {
    position: relative;
    margin-top: -50px;
    z-index: 10;
}
.search-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: stretch;
    min-height: 100px;
}
.search-item {
    flex: 1;
    padding: 20px 25px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.search-item:last-child {
    border-right: none;
    padding: 0;
    flex: 0 0 200px;
}
.search-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px;
    text-align: center;
}
.search-icon.light-green {
    color: #81c784;
}
.search-text {
    flex-grow: 1;
}
.search-text label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 500;
}
.search-text select, .search-text input {
    border: none;
    outline: none;
    font-weight: 700;
    color: #333;
    width: 100%;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1rem;
    cursor: pointer;
}
.search-text input::placeholder {
    color: #333;
    font-weight: 700;
}
.search-item-dropdown {
    font-size: 0.7rem;
    color: #aaa;
    margin-left: 10px;
}
.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    height: 100%;
    width: 100%;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 1.05rem;
    transition: 0.3s;
}
.search-btn:hover {
    background-color: var(--primary-hover);
}

/* Section Products */
.section-products {
    padding: 80px 0 100px;
    background-color: #fafafa;
}
.badge-light-green {
    background-color: #e8f5e9;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 50px;
}

.card-product {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    background: white;
}
.card-product:hover {
    transform: translateY(-10px);
}
.card-product-img-wrap {
    position: relative;
    overflow: hidden;
}
.card-product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}
.card-product:hover .card-product-img {
    transform: scale(1.05);
}
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e53935;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 1;
}
.card-product-body {
    padding: 20px;
    text-align: left;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}
.product-title:hover {
    color: var(--primary-color);
}
.product-rating {
    color: #ffc107;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.product-rating span {
    color: #888;
    margin-left: 5px;
}
.product-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.product-price {
    color: var(--orange-color);
    font-weight: 800;
    font-size: 1.3rem;
}
.product-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 10px;
    font-weight: 500;
}
.btn-cart {
    background-color: #e8f5e9;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 1.1rem;
}
.btn-cart:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .search-box {
        flex-direction: column;
    }
    .search-item {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    .search-item:last-child {
        flex: none;
        height: 60px;
    }
    .search-btn {
        border-radius: 0 0 8px 8px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .search-container {
        margin-top: -20px;
        padding: 0 20px;
    }
}