/* style.css - Consolidated version */
/*
  KKP - Khundkar Khamar Prakalpa
  Main Stylesheet

  Color Scheme:
  - Gold/Bronze: #D4AF37 (Primary accent)
  - Light Gray: #E5E5E5 (Secondary background)
  - Deep Green: #2E5D4B (Agriculture accent)
  - Warm Brown: #8B6B3D (Earth tones)
  - Off-White: #F9F9F9 (Main content background)
  - Dark Gray: #333333 (Text and footer)
*/

/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* === Base Styles === */
:root {
    --gold: #D4AF37;
    --light-gray: #E5E5E5;
    --deep-green: #2E5D4B;
    --warm-brown: #8B6B3D;
    --off-white: #F9F9F9;
    --dark-gray: #333333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    background-color: var(--off-white);
    line-height: 1.6;
}

body[lang="bn"] {
    font-family: 'Hind Siliguri', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-green);
}

a {
    color: var(--deep-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* === Button Styles === */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
}

.btn-primary:hover {
    background-color: var(--warm-brown);
    border-color: var(--warm-brown);
}

.btn-outline-primary {
    color: var(--deep-green);
    border-color: var(--deep-green);
}

.btn-outline-primary:hover {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
    color: white;
}

.btn-light {
    background-color: white;
    border-color: white;
    color: var(--deep-green);
}

.btn-light:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--deep-green);
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--deep-green);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* === Section Styles === */
.section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--deep-green);
    font-weight: 600;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 15px auto 0;
}

/* === Header Styles === */
.top-bar {
    background-color: var(--deep-green);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: var(--gold);
    opacity: 0.9;
}

.top-social a {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.top-social a:hover {
    opacity: 0.8;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--deep-green);
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.navbar .container,
.navbar .navbar-collapse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-nav {
    flex-grow: 1;
    justify-content: center;
    gap: 1rem;
}

.navbar-brand {
    margin-right: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--deep-green);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--gold);
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    border: none;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--dark-gray);
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(46, 93, 75, 0.1);
    color: var(--deep-green);
}

.dropdown-divider {
    margin: 0.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-toggle {
    background-color: var(--deep-green);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: auto;
}

.lang-toggle:hover {
    background-color: var(--gold);
    color: var(--deep-green);
}

/* === Hero Section === */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 5px solid var(--gold);
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* === Products Section === */
.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--deep-green);
}

.product-price {
    color: var(--deep-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-location {
    color: var(--warm-brown);
    font-size: 0.9rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--deep-green);
    color: white;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.add-to-cart:hover {
    background-color: var(--gold);
}

/* === Operation Cards === */
.operation-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.operation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.operation-img {
    height: 250px;
    overflow: hidden;
}

.operation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.operation-card:hover .operation-img img {
    transform: scale(1.05);
}

.operation-body {
    padding: 1.5rem;
    background-color: white;
}

.operation-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-green);
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--deep-green);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background-color: var(--gold);
    color: white;
}

/* === About Section === */
.about-section {
    background-color: var(--light-gray);
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.value-icon {
    color: var(--deep-green);
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.value-text h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-box {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-box .icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* === Contact Section === */
.contact-info i {
    color: var(--gold);
    width: 20px;
    margin-right: 10px;
}

.contact-form .form-control {
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--deep-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 93, 75, 0.25);
}

.map-container {
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === Footer === */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
    opacity: 0.8;
}

footer a:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a,
.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:hover,
.footer-social a:hover {
    background-color: var(--gold);
    color: var(--dark-gray);
}

/* === Cart Button === */
.cart-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.cart-button:hover {
    background-color: var(--deep-green);
    transform: scale(1.05);
}

.cart-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--deep-green);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
}

/* Toast notifications */
.toast-container {
    z-index: 1060;
}

/* Product Card Styling */
.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-green);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-pricing {
    margin-bottom: 1.25rem;
}

.price-location {
    color: var(--warm-brown);
    font-size: 0.85rem;
    font-weight: 500;
}

.price-value {
    font-weight: 700;
    color: var(--deep-green);
}

.add-to-cart {
    background-color: var(--deep-green);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart:hover {
    background-color: var(--gold);
}

/* Section Title Enhancement */
.section-title {
    position: relative;
    text-align: center;
    color: var(--deep-green);
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 0.75rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}