/* ============================================================================
   Lazzat — Premium Food Brand | Design System
   ============================================================================ */

:root {
  --primary: #1A3C2E;
  --secondary: #C9A84C;
  --accent: #E8F5E9;
  --dark: #0D1F18;
  --text: #2E2E2E;
  --text-light: #6B7280;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* ── Typography ───────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* ── Utility Bar ──────────────────────────────────────────────────────────── */
.utility-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar a {
  color: rgba(255, 255, 255, 0.7);
}

.utility-bar a:hover {
  color: var(--secondary);
}

.utility-bar .social-icons a {
  margin-right: 12px;
  font-size: 0.9rem;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.main-navbar {
  background: transparent;
  padding: 0;
  transition: transform 0.4s ease, background 0.3s ease;
  z-index: 1050;
  box-shadow: none;
  min-height: 60px;
}

.main-navbar.scrolled {
  background: rgba(13, 31, 24, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-navbar .navbar-brand {
  padding: 0;
}

.main-navbar .navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.main-navbar .navbar-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1.5px;
}

.main-navbar .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--secondary) !important;
}

.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px 2px 0 0;
}

.main-navbar .dropdown-menu {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  animation: fadeInDown 0.3s ease;
  min-width: 220px;
}

.main-navbar .dropdown-item {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}

.main-navbar .dropdown-item:hover {
  background: var(--accent);
  color: var(--primary);
  padding-left: 2rem;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,168,76,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 0.7rem 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(26, 60, 46, 0.3);
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 0.7rem 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-gold {
  background: var(--secondary);
  color: var(--dark);
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-gold:hover {
  background: #b8963f;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
  color: var(--dark);
}

/* ── Section Spacing ──────────────────────────────────────────────────────── */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

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

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 1rem auto 0;
}

.section-bg {
  background: var(--accent);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

/* ── Hero Slider ──────────────────────────────────────────────────────────── */
.hero-slider .carousel-item {
  height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 24, 19, 0.005) 0%, rgba(15, 15, 15, 0) 100%);
}

.hero-slider .carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: left;
  max-width: 650px;
}

.hero-slider .carousel-caption h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slider .carousel-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
}

.hero-slider .carousel-indicators .active {
  background: var(--secondary);
}

/* ── Page Hero Banner ─────────────────────────────────────────────────────── */
.page-hero {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 31, 24, 0.568) 0%, rgba(26, 60, 46, 0.7) 100%);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
  background: none;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item.active {
  color: var(--secondary);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: "/";
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card-custom {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-custom .card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-custom .card-img-wrapper img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-custom:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom .card-body h4 {
  font-size: 1.1rem;
}

.card-custom .category-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



/* ── About Teaser / Stats ─────────────────────────────────────────────────── */
.stat-counter {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-counter .counter-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.stat-counter .counter-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--dark);
  background-image: repeating-linear-gradient(45deg, rgba(201, 168, 76, 0.03) 0, rgba(201, 168, 76, 0.03) 1px, transparent 1px, transparent 10px);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.site-footer h5 {
  color: var(--secondary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
  color: var(--secondary);
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}

.site-footer .footer-links li a {
  font-size: 0.9rem;
}

.site-footer .footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 700;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 8px;
  transition: var(--transition);
  font-size: 0.85rem;
}

.site-footer .footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--dark);
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 4px 0 0 4px;
  padding: 0.6rem 1rem;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .btn {
  background: var(--secondary);
  color: var(--dark);
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}

/* ── Sidebar Nav (About pages) ────────────────────────────────────────────── */
.sidebar-nav {
  list-style: none;
  padding: 0;
}

.sidebar-nav li a {
  display: block;
  padding: 0.8rem 1.2rem;
  border-left: 3px solid transparent;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  border-left-color: var(--secondary);
  background: var(--accent);
  color: var(--primary);
}

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

/* ── Product Modal ────────────────────────────────────────────────────────── */
.modal-content {
  border: none;
  border-radius: var(--radius);
}

.modal-header {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.page-link {
  color: var(--primary);
}

.page-link:hover {
  background: var(--accent);
  color: var(--primary);
}

.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Team Cards ───────────────────────────────────────────────────────────── */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card .team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.5rem;
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.team-card .designation {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.team-card .bio {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ── Tabs (Media page) ────────────────────────────────────────────────────── */
.nav-tabs-custom .nav-link {
  color: var(--text);
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.8rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav-tabs-custom .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--secondary);
  background: none;
}

/* ── Career Cards ─────────────────────────────────────────────────────────── */
.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.career-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.career-card .job-meta span {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-right: 1.5rem;
}

.career-card .job-meta i {
  color: var(--secondary);
  margin-right: 4px;
}

/* ── Certifications ───────────────────────────────────────────────────────── */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin: 0.3rem;
}

/* ── Animations ───────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Map ──────────────────────────────────────────────────────────────────── */
.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: var(--radius);
}

/* ── Shop Filters ─────────────────────────────────────────────────────────── */
.filter-sidebar {
  position: sticky;
  top: 100px;
}

.filter-sidebar h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.filter-sidebar .form-check {
  margin-bottom: 0.5rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .section-padding {
    padding: 40px 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-slider .carousel-item {
    height: 500px;
  }

  .hero-slider .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .hero-slider .carousel-caption {
    text-align: center;
    max-width: 100%;
  }

  .page-hero {
    height: 250px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .main-navbar .navbar-collapse {
    background: rgba(13, 31, 24, 0.96);
    padding: 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-slider .carousel-item {
    height: 400px;
  }

  .hero-slider .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .stat-counter .counter-number {
    font-size: 2rem;
  }
}

/* ── Custom UI Enhancements ──────────────────────────────────────────────── */

.feature-img-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-img-wrapper img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.col-md-4:hover .feature-img-wrapper img {
  transform: scale(1.15) rotate(3deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* ── Quality Certifications Strip (Premium Redesign) ───────────────────────── */
.cert-logos-strip {
  background: #fdfdfb;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.1), 0 10px 30px rgba(0, 0, 0, 0.03);
  border-left: 4px solid var(--secondary);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 2rem;
}

.cert-logos-strip::-webkit-scrollbar {
  display: none;
}

.cert-logo-wrapper {
  flex: 0 0 auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  position: relative;
}

.cert-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid var(--secondary);
  opacity: 0;
  transition: var(--transition);
  transform: scale(0.9);
}

.cert-logo-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(201, 168, 76, 0.15);
}

.cert-logo-wrapper:hover::after {
  opacity: 0.3;
  transform: scale(1);
}

.cert-logo-wrapper img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: grayscale(20%);
}

.cert-logo-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}