/* =========================================================
   GAZILER YEM — Custom Stylesheet
   Earthy agricultural identity · Sage green + wheat gold
   Fonts: Fraunces (display serif) + Mulish (humanist sans)
   ========================================================= */

:root {
  --primary-color: #6d8c58;   /* Sage green (logo) */
  --primary-light: #88a673;
  --primary-dark:  #4c6640;   /* Deep forest green */
  --secondary-color: #b3924f; /* Wheat / olive gold */
  --secondary-light: #cdb079;
  --accent-color: #c79a3f;    /* Golden grain — CTAs */
  --accent-dark:  #a67f2d;
  --text-dark: #29331f;
  --text-muted: #6a7360;
  --cream: #f6f3ea;           /* warm off-white band */
  --cream-2: #efe9d9;
  --light-bg: #f4f6f0;
  --white: #ffffff;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.75;
  background-color: var(--white);
}

a { text-decoration: none; transition: all .25s ease; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.section-padding { padding: 100px 0; }
@media (max-width: 767px) { .section-padding { padding: 60px 0; } }

.section-tag {
  display: inline-block;
  color: var(--secondary-color);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
  padding-bottom: 6px;
  position: relative;
}
.section-tag::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background-color: var(--accent-color);
}
.text-center .section-tag::after { left: 50%; transform: translateX(-50%); }

.section-title { font-size: 2.4rem; margin-bottom: 1rem; line-height: 1.15; }
@media (max-width: 767px) { .section-title { font-size: 1.85rem; } }

.lead-muted { color: var(--text-muted); }
.bg-light-soft { background-color: var(--light-bg); }
.bg-cream { background-color: var(--cream); }

/* ---------- Buttons (pill) ---------- */
.btn-brand {
  background-color: var(--accent-color);
  color: #3a2f10;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  letter-spacing: .3px;
  box-shadow: 0 8px 20px rgba(199,154,63,0.28);
  transition: all .25s ease;
}
.btn-brand:hover {
  background-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(166,127,45,0.34);
}
.btn-brand-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 50px;
}
.btn-brand-outline:hover { background-color: var(--white); color: var(--primary-dark); }
.btn-brand-secondary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
}
.btn-brand-secondary:hover { background-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.top-bar {
  background-color: var(--primary-dark);
  color: #e7ecdf;
  font-size: 0.84rem;
  padding: 9px 0;
  letter-spacing: .2px;
}
.top-bar a { color: #e7ecdf; opacity: .95; }
.top-bar a:hover { color: var(--accent-color); }
.top-bar i { margin-right: 7px; color: var(--secondary-light); }

/* ---------- Navbar ---------- */
.main-navbar {
  background-color: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 18px rgba(76,102,64,0.08);
  transition: all .3s ease;
}
.main-navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 22px rgba(76,102,64,0.12); }
.main-navbar .navbar-brand img { height: 52px; }
.main-navbar .nav-link {
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  margin: 0 13px;
  padding: 8px 0 !important;
  position: relative;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover { color: var(--secondary-color); }
.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background-color: var(--accent-color);
}
.main-navbar .btn-brand { font-size: 0.82rem; white-space: nowrap; padding: 10px 22px; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; }
.hero-slide {
  height: 90vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35,48,26,0.86) 0%, rgba(35,48,26,0.55) 45%, rgba(35,48,26,0.20) 100%),
    linear-gradient(0deg, rgba(35,48,26,0.75) 0%, rgba(35,48,26,0) 55%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide .hero-tag {
  color: var(--accent-color);
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero-slide h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 600;
  max-width: 780px;
  margin: 16px 0 0;
  line-height: 1.08;
}
.hero-slide p {
  color: #eaf0e0;
  font-size: 1.16rem;
  max-width: 590px;
  margin: 22px 0 34px;
}
@media (max-width: 767px) {
  .hero-slide { height: 82vh; min-height: 480px; }
  .hero-slide h1 { font-size: 2.15rem; }
  .hero-slide p { font-size: 1rem; }
}
.hero-slider .carousel-indicators { bottom: 26px; }
.hero-slider .carousel-indicators button {
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  width: 12px; height: 12px; border-radius: 50%;
  opacity: 1;
}
.hero-slider .carousel-indicators button.active { background-color: var(--accent-color); border-color: var(--accent-color); }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 5%; opacity: 0.65; }

/* ---------- Page hero ---------- */
.page-hero {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
  position: relative;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35,48,26,0.90) 0%, rgba(35,48,26,0.62) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: 2.9rem; margin-bottom: 10px; }
.page-hero .breadcrumb-custom { color: #eaf0e0; font-weight: 600; letter-spacing: .3px; }
.page-hero .breadcrumb-custom a { color: var(--accent-color); }
.page-hero .breadcrumb-custom a:hover { color: var(--secondary-light); }
@media (max-width: 767px) { .page-hero { height: 260px; } .page-hero h1 { font-size: 2rem; } }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 26px 50px rgba(76,102,64,0.22);
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 120px; height: 120px;
  border-top: 4px solid var(--accent-color);
  border-left: 4px solid var(--accent-color);
  border-top-left-radius: 18px;
  z-index: -1;
}
.about-img-wrap .badge-float {
  position: absolute;
  bottom: -26px; right: -22px;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 20px 26px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  text-align: center;
}
@media (max-width: 991px) { .about-img-wrap .badge-float { right: 12px; } }
.about-img-wrap .badge-float .num { font-size: 1.9rem; font-weight: 700; color: var(--accent-color); display: block; font-family: var(--font-head); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 14px;
  color: var(--text-dark);
  font-weight: 600;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Why Choose Us — feature cards ---------- */
.feature-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 38px 30px;
  height: 100%;
  text-align: left;
  box-shadow: 0 10px 30px rgba(76,102,64,0.08);
  transition: all .3s ease;
  border: 1px solid #e8ebe1;
  border-left: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(76,102,64,0.16);
  border-left-color: var(--accent-color);
}
.feature-card .icon-wrap {
  width: 66px; height: 66px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: all .3s ease;
}
.feature-card:hover .icon-wrap { background-color: var(--accent-color); color: #3a2f10; }
.feature-card:nth-child(2n) .icon-wrap { background-color: var(--secondary-color); }
.feature-card:nth-child(2n):hover .icon-wrap { background-color: var(--accent-color); }
.feature-card h5 { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }

/* ---------- CTA section ---------- */
.cta-section {
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(35,48,26,0.93) 0%, rgba(76,102,64,0.86) 100%);
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 12px; font-size: 2.3rem; }
.cta-section p { color: #e4ecd8; margin-bottom: 0; font-size: 1.08rem; }

/* ---------- Products / categories ---------- */
.product-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(76,102,64,0.09);
  transition: all .3s ease;
  height: 100%;
  border: 1px solid #e8ebe1;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(76,102,64,0.16); }
.product-card .product-img { height: 240px; overflow: hidden; position: relative; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-card .product-body { padding: 24px 26px; text-align: center; }
.product-card .product-body h5 { margin-bottom: 0; font-size: 1.22rem; transition: color .25s ease; }

.category-card-link { display: block; color: inherit; text-decoration: none; }
.category-card-link .product-card { cursor: pointer; }
.category-card-link:hover .product-card h5 { color: var(--secondary-color); }

/* ---------- Item cards (category pages) ---------- */
.item-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(76,102,64,0.09);
  transition: all .3s ease;
  height: 100%;
  border: 1px solid #e8ebe1;
}
.item-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(76,102,64,0.16); }
.item-card .item-img { height: 220px; overflow: hidden; }
.item-card .item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.item-card:hover .item-img img { transform: scale(1.08); }
.item-card .item-body { padding: 22px 20px; text-align: center; }
.item-card .item-body h5 { margin-bottom: 0; font-size: 1.1rem; }

/* ---------- Mission / Vision ---------- */
.mv-card {
  background-color: var(--white);
  border-radius: 18px;
  padding: 42px 36px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(76,102,64,0.09);
  border: 1px solid #e8ebe1;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}
.mv-card i {
  font-size: 2rem;
  color: #fff;
  background-color: var(--primary-color);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-card:nth-child(1) .mv-card i { }
.mv-card h4 { margin-bottom: 14px; font-size: 1.5rem; }
.mv-card p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Value pills (defined for inventory completeness) ---------- */
.value-pill {
  background-color: var(--white);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 24px rgba(76,102,64,0.08);
  border: 1px solid #e8ebe1;
}
.value-pill i {
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--primary-color);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.value-pill h6 { font-weight: 700; margin-bottom: 8px; }
.value-pill p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-info-card {
  background-color: var(--primary-dark);
  color: var(--white);
  border-radius: 18px;
  padding: 44px 34px;
  height: 100%;
}
.contact-info-card h4 { color: var(--white); margin-bottom: 26px; font-size: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start;flex-wrap:wrap; margin-bottom: 28px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item .ci-icon {
  width: 48px; height: 48px;
  background-color: var(--accent-color);
  color: #3a2f10;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 16px; flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item .ci-text small {
  display: block;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.contact-info-item .ci-text a,
.contact-info-item .ci-text span { color: var(--white); font-weight: 600; }
.contact-info-item .ci-text a:hover { color: var(--accent-color); }

.contact-form-wrap {
  background-color: var(--white);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 10px 34px rgba(76,102,64,0.10);
  border: 1px solid #e8ebe1;
}
.contact-form-wrap h4 { font-size: 1.5rem; }
.contact-form-wrap .form-control {
  border: 1px solid #d9ded0;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 0.96rem;
}
.contact-form-wrap .row { --bs-gutter-x: 1.25rem; }
.contact-form-wrap .col-md-6, .contact-form-wrap .col-12 { margin-bottom: 14px; }
.contact-form-wrap .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(109,140,88,0.18);
}

/* ---------- Footer ---------- */
.site-footer { background-color: #2b3720; color: #cdd6c1; }
.site-footer .footer-top { padding: 74px 0 44px; }
.site-footer h5 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h5::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px;
  background-color: var(--accent-color);
}
.site-footer .footer-brand-text {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.site-footer .footer-brand-text img { height: 42px; }
.site-footer p { font-size: 0.94rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 13px; font-size: 0.94rem; }
.site-footer ul li a { color: #cdd6c1; }
.site-footer ul li a:hover { color: var(--accent-color); padding-left: 4px; }
.site-footer .footer-top i { color: var(--secondary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  font-size: 0.86rem;
  color: #b7c2a8;
}
.footer-bottom a { color: var(--accent-color); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  background-color: var(--accent-color);
  color: #3a2f10;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
  z-index: 999; font-size: 1.15rem;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: var(--accent-dark); color: #fff; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Mobile navbar ---------- */
@media (max-width: 991.98px) {
  .top-bar { display: none; }
  .main-navbar .navbar-brand img { height: 42px; }
  .main-navbar .navbar-collapse { flex-basis: 100%; width: 100%; }
  .main-navbar .navbar-collapse.show,
  .main-navbar .navbar-collapse.collapsing {
    padding: 10px 0 14px;
    border-top: 1px solid #eee;
    margin-top: 6px;
  }
  .main-navbar .navbar-nav { flex-direction: column; align-items: flex-start !important; }
  .main-navbar .navbar-nav .nav-link { margin: 0; padding: 10px 0 !important; }
  .main-navbar .navbar-nav .nav-item { width: 100%; }
  .nav-products-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .mobile-cat-toggle {
    background: none; border: none; padding: 6px 8px;
    color: var(--primary-dark); font-size: 0.85rem; cursor: pointer;
    transition: transform .25s ease; line-height: 1;
  }
  .mobile-cat-toggle.open { transform: rotate(180deg); }
  .main-navbar .navbar-nav .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 4px 16px !important;
    margin-top: 0 !important;
    animation: none !important;
    display: none;
  }
  .main-navbar .navbar-nav .dropdown-menu.show { display: block; }
}

/* ---------- Products dropdown ---------- */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(43,55,32,0.18);
  padding: 10px;
  margin-top: 8px;
  min-width: 240px;
}
.main-navbar .dropdown-item {
  color: var(--primary-dark);
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 8px;
}
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: rgba(109,140,88,0.10);
  color: var(--secondary-color);
}
@media (min-width: 992px) {
  .main-navbar .dropdown-menu { display: none; animation: fadeInUp .2s ease both; }
  .main-navbar .dropdown-menu.show { display: block; }
}
