/* ==============================================
   LAYAM FOODS - MODERN DESIGN SYSTEM (Nankatrathu Style)
   ============================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ---- CSS Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--white);
  color: var(--black);
  min-height: 100dvh;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --red: #8d4433; /* Updated Main Red */
  --red-dark: #8a4535; /* Updated Dark Red */
  --red-bg: #914235; /* Updated Background Red */
  --maroon: #4a2218;
  --orange: #ef6f2e;
  --orange-light: #ff9d3f;
  --mustard: #ffc614; /* Vibrant Gold/Mustard */
  --mustard-dark: #f4a804;
  --mustard-deep: #ed900a;
  --gold: #ffd750;
  --green: #2d6a4f; /* Forest Green */
  --green-dark: #1b4332;
  --green-accent: #40916c;
  --beige: #ffffff; /* White */
  --white: #ffffff;
  --black: #000000;

  /* Legacy aliases for any old Bootstrap code that references them */
  --primary-color: #8d4433; /* Updated to match --red */
  --gold-legacy: #ffc614;
  --accent: #ffffff;
  --text-color: #000000;
  --text-light: #666666;
  --bg-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-display: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Spacing */
  --nav-padding-x: 2.5vw;
  --nav-padding-y: 1vw;
  --section-padding-x: 2.5vw;

  /* Z-index scale */
  --z-loading: 99999;
  --z-nav: 999;
  --z-menu-backdrop: 998;
  --z-content: 100;
  --z-floating: 50;
  --z-base: 1;

  --transition: all 0.3s ease;
}

/* ---- Headings ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--black);
  font-weight: 600;
}

/* =============================================
   NAVBAR — CRAV STYLE
   ============================================= */
.navbar {
  background: var(--white); /* Changed from transparent to solid white */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Adds a subtle divider line */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Soft shadow for depth */
  transition: background 0.4s ease;
  padding: var(--nav-padding-y) var(--nav-padding-x);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: var(--red) !important;
  letter-spacing: 0;
  line-height: 1;
}

.navbar-brand img {
  display: block; /* show the logo image */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Nav links - hide default bootstrap nav, use CRAV buttons */

.navbar .navbar-collapse {
  display: none !important;
}

/* CRAV Nav buttons container */
.crav-nav-right {
  display: flex;
  align-items: center;
  gap: 1vw;
}

/* SHOP pill button */
.crav-shop-btn {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  /* Match the font-size of the menu toggle */
  font-size: clamp(14px, 1.3vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  /* Match the padding of the menu toggle */
  padding: 0.5vw 1.5vw;
  /* Creates the perfect pill shape */
  border-radius: 999px;
  /* Add a border to perfectly match the menu toggle's height */
  border: 2px solid var(--red);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(249, 25, 20, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.crav-shop-btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: scale(1.1);
}

/* MENU toggle button */
.crav-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 999px;
  padding: 0.5vw 1.5vw;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(249, 25, 20, 0.3);
}

.crav-menu-toggle:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: scale(1.1);
}

.crav-menu-toggle .hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.crav-menu-toggle .hamburger-lines span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.crav-menu-toggle.open .hamburger-lines span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.crav-menu-toggle.open .hamburger-lines span:nth-child(2) {
  opacity: 0;
}
.crav-menu-toggle.open .hamburger-lines span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Cart button */
.crav-cart-btn {
  position: relative;
  background: var(--red);
  width: clamp(35px, 3.5vw, 50px);
  height: clamp(35px, 3.5vw, 50px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 25, 20, 0.3);
}

.crav-cart-btn:hover {
  transform: scale(1.1);
}

.crav-cart-btn svg {
  width: 50%;
  height: 50%;
  fill: var(--white);
}

.crav-icon-btn {
  background: var(--red);
  color: var(--white) !important;
  width: clamp(35px, 3.5vw, 50px);
  height: clamp(35px, 3.5vw, 50px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 25, 20, 0.3);
}

.crav-icon-btn:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.crav-icon-btn svg {
  width: 45%;
  height: 45%;
  fill: currentColor;
}

.crav-menu-close {
  display: none;
}

.crav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mustard);
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}


/* checkout */
.checkout-card {
    max-width: 100%;
    background: var(--white);
    padding: 3vw;
    border-radius: 1.5vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.checkout-card h4 {
    font-family: var(--font-display);
    color: var(--red);
    font-size: clamp(22px, 3vw, 36px);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.contact-field {
    margin-bottom: 1.5rem;
}

.contact-field label {
    display: block;
    margin-bottom: 0.5vw;
    font-family: var(--font-body);
    font-weight: bold;
    color: var(--black);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    background: #F8F9FA;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--black);
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(166, 30, 34, 0.12);
}

.contact-input::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.contact-input textarea,
textarea.contact-input {
    resize: vertical;
}

.checkout-btn {
    width: 100%;
    background: #25D366;
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.checkout-btn:active {
    transform: translateY(0);
}

/* Menu Overlay */
.crav-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  z-index: var(--z-menu-backdrop);
  pointer-events: none;
  opacity: 0;
}

.crav-menu-overlay.open {
  pointer-events: all;
  opacity: 1;
}

.crav-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crav-menu-overlay.open .crav-menu-backdrop {
  opacity: 1;
}

.crav-menu-panel {
  position: absolute;
  top: 110px;
  right: 10px;
  width: min(400px, 90vw);
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  transform: scale(0.8);
  transform-origin: top right;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .crav-menu-panel {
    top: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    padding: 90px 20px 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
  }
}

.crav-menu-overlay.open .crav-menu-panel {
  transform: scale(1);
  opacity: 1;
}

.crav-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--black);
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  .crav-menu-close {
    display: block;
  }
}

.crav-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.crav-menu-nav li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.crav-menu-nav li:last-child {
  border-bottom: none;
}

.crav-menu-nav a {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 18px 10px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.crav-menu-nav a::after {
  content: '→';
  opacity: 0.5;
  font-size: 18px;
  transition: all 0.2s ease;
}

.crav-menu-nav a:hover, .crav-menu-nav a:active {
  color: var(--red);
  background: rgba(178,18,34,0.03);
  padding-left: 15px;
}

.crav-menu-nav a:hover::after, .crav-menu-nav a:active::after {
  opacity: 1;
  color: var(--red);
  transform: translateX(5px);
}

.crav-menu-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: clamp(12px, 1vw, 16px);
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 100%;
}

/* =============================================
   BUTTONS — MODERN STYLE
   ============================================= */

.btn-premium {
  display: block;
  width: fit-content;
  margin: 3vw auto 0;
  padding: 1vw 4vw;
  background: transparent;
  color: var(--black);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--black);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}

.btn-premium:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-outline-premium {
  background-color: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 0.8vw 2vw;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.btn-outline-premium:hover {
  background-color: var(--red);
  color: var(--white);
}

.btn-premium-black {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black) !important;
}

.btn-premium-black:hover {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black) !important;
}

/* =============================================
   HERO BANNER CAROUSEL STYLES
   ============================================= */
.hero-banner-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  margin-top: 115px; /* Pushes the image down to clear the solid navbar */
  background-color: var(--white);
}

.hero-banner-slide {
  display: none;
  width: 100%;
}

.hero-banner-slide.active {
  display: block;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =============================================
   SECTION UTILITIES
   ============================================= */
.section-padding {
  padding: 6vw 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4vw;
}

.section-title h2 {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 600;
  position: relative;
  display: inline-block;
  color: var(--black);
  font-family: var(--font-display);
  text-transform: uppercase;
  padding-bottom: 0;
  line-height: 1.1;
}

.section-title h2::after {
  display: none; /* remove gold underline */
}

/* =============================================
   SIMPLE FEATURES SECTION (LIKE PICTURE)
   ============================================= */
.simple-features-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8vw; /* Creates the wide spacing between the words */
  padding: 5vw 2vw;
  background-color: var(--white);
  text-align: center;
}

.simple-feature {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800; /* Extra bold like the image */
  color: var(--red); /* Deep red matching the picture */
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* Make it stack neatly on smaller mobile screens so the text doesn't squish */
@media (max-width: 768px) {
  .simple-features-section {
    flex-direction: column;
    gap: 5vw;
    padding: 10vw 5vw;
  }
  .simple-feature {
    font-size: 6vw; /* Makes it highly readable on phones */
  }
}

/* =============================================
   PRODUCT CARDS — CRAV STYLE
   ============================================= */
.product-card-wrapper {
  margin-bottom: 2vw;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 0;
  text-align: left;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-image-container {
  transition: transform 0.4s ease;
  height: auto;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.product-image-container img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-category {
  font-size: clamp(12px, 0.9vw, 14px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 0.5vw;
  font-family: var(--font-body);
}

.product-title {
  font-size: clamp(16px, 1.2vw, 20px);
  margin-bottom: 0.5vw;
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
}

.product-price {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1vw;
  font-family: var(--font-display);
}

.product-card .product-card-body {
  padding: 1.5vw;
}

.product-actions {
  margin-top: auto;
  transform: none;
  opacity: 1;
  padding: 0 1.5vw 1.5vw;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: none;
}

/* =============================================
   contact section heading
   ============================================= */

.contact-hero {
  padding-top: 115px;
}

.contact-badge {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--black);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2vw;
  margin-top: 8vw!important;
  text-align: center;
  overflow: hidden;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: clamp(28px, 8vw, 80px);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

.contact-heading .word {
  display: inline-block;
}

/* =============================================
   FOOTER BANNER IMAGE
   ============================================= */
.footer-banner-container {
  width: 100%;
  position: relative;
  z-index: 10;
  display: block;
  margin: 0;
  padding: 0;
}

.footer-banner-img {
  width: 100%; /* Forces the image to stretch exactly to the side edges */
  height: auto; /* Maintains the perfect original aspect ratio */
  display: block; /* Removes any invisible space below the image */
  object-fit: cover; /* Ensures it fills the space beautifully without warping */
}

/* =============================================
   FOOTER — CRAV STYLE
   ============================================= */
.footer {
  background-color: var(--beige);
  color: var(--black);
  padding: 12vw 0 0;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-wave {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 200px;
}

.footer-floating {
  position: absolute;
  z-index: var(--z-floating);
  will-change: transform;
}

.footer-floating img {
  width: 100%;
  height: auto;
}

.footer-fish {
  width: 14vw;
  left: 5%;
  bottom: 35%;
}

.footer-prawn {
  width: 14vw;
  right: 22%;
  bottom: 20%;
}

.footer-chicken {
  width: 10vw;
  left: 25%;
  bottom: 15%;
}

.footer-mutton {
  width: 13vw;
  right: 6%;
  bottom: 40%;
}

.footer-curry {
  width: 12vw;
  left: 45%;
  bottom: 30%;
}

.footer-tomato {
  width: 10vw;
  right: 40%;
  bottom: 25%;
}

.footer-giant-text {
  text-align: center;
  z-index: 10;
  position: relative;
}

.footer-giant-text .word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(60px, 18vw, 300px);
  color: var(--red);
  -webkit-text-stroke: 0.4vw var(--white);
  paint-order: stroke fill;
  text-shadow:
    0.2vw 0.2vw 0 var(--white),
    -0.2vw -0.2vw 0 var(--white);
  line-height: 0.85;
  will-change: transform;
}

/* =============================================
   FOOTER BANNER IMAGE
   ============================================= */

.footer-nav {
  text-align: center;
  z-index: 15;
  position: relative;
  padding: 2vw 0;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  gap: 2vw;
  flex-wrap: wrap;
  margin-bottom: 1vw;
  padding: 0;
  list-style: none;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  transition: all 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--red);
  transform: scale(1.05);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.9vw, 14px);
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.footer-divider {
  width: 90%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 1vw auto;
  position: relative;
  z-index: 15;
}

.footer-tagline {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 18px);
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 2vw;
  position: relative;
  z-index: 15;
}

.footer h4 {
  display: none; /* hide old column headers */
}

.footer .row,
.footer .container > .row {
  display: none; /* hide old footer columns */
}

.footer .footer-bottom {
  display: none; /* hide old footer bottom */
}

/* =============================================
   SEARCH MODAL
   ============================================= */
#searchModal .modal-content {
  background: var(--beige);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5vw;
}

#searchModal .form-control {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--red);
  border-radius: 0;
  font-size: 1.5rem;
  font-family: var(--font-body);
  padding-left: 0;
  color: var(--black);
  box-shadow: none;
}

#searchModal .form-control:focus {
  border-color: var(--red);
}

#searchModal .form-control::placeholder {
  color: rgba(27, 27, 27, 0.3);
}

/* =============================================
   TEXT UTILITIES
   ============================================= */
.text-stroke {
  -webkit-text-stroke: 0.15vw var(--white);
  paint-order: stroke fill;
  text-shadow:
    0 0 0.3vw rgba(255, 255, 255, 0.3),
    0.1vw 0.1vw 0 var(--white),
    -0.1vw -0.1vw 0 var(--white),
    0.1vw -0.1vw 0 var(--white),
    -0.1vw 0.1vw 0 var(--white);
}

/* Text reveal hover */
.text-reveal-wrap {
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.text-reveal-wrap .primary {
  display: block;
  transition: transform 0.3s ease;
}

.text-reveal-wrap .secondary {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.text-reveal-wrap:hover .primary {
  transform: translateY(-100%);
}

.text-reveal-wrap:hover .secondary {
  transform: translateY(0);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Selection */
::selection {
  background: var(--red);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--beige);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 4px;
}

/* =============================================
   FORM CONTROLS (Bootstrap override)
   ============================================= */
.form-control {
  font-family: var(--font-body);
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0.15);
  font-size: clamp(14px, 1.2vw, 18px);
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.15rem rgba(255, 198, 20, 0.25);
}

.form-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(12px, 1vw, 16px);
}

.form-select {
  font-family: var(--font-body);
}

/* =============================================
   ALERTS & BADGES (Bootstrap override)
   ============================================= */
.alert-danger {
  background: rgba(249, 25, 20, 0.1);
  border-color: var(--red);
  color: var(--red);
  font-family: var(--font-body);
  border-radius: 0;
}

.alert-success {
  background: rgba(119, 196, 30, 0.1);
  border-color: var(--green);
  color: var(--green-dark);
  font-family: var(--font-body);
  border-radius: 0;
}

.badge.bg-dark {
  background: var(--red) !important;
  color: var(--white);
  font-family: var(--font-body);
}

/* =============================================
   CARDS (Bootstrap override for auth pages)
   ============================================= */
.card {
  border-radius: 1.5vw;
  border: none;
  background: var(--white);
  margin-top: 120px;
  margin-bottom: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  /* GLOBAL OVERRIDES */
  .section-padding {
    padding: 12vw 0 !important;
  }
  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  /* --- FIX FOR SIGNATURE COLLECTION / PRODUCT GRID --- */
  .section-padding .row {
    display: flex !important;
    flex-direction: column !important; /* Forces cards to stack vertically */
    gap: 5vw !important; /* Adds healthy space between the stacked cards */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section-padding .row > div[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
  }

  .product-card {
    border-radius: 3vw !important; /* Softer mobile corners */
  }

  .product-card .product-card-body {
    padding: 5vw !important; /* Gives the text and buttons breathing room */
  }

  .product-actions {
    padding: 0 5vw 5vw !important;
  }

  /* HEADER & NAV */
  .crav-nav-right {
    gap: 2vw;
  }
  .crav-icon-btn,
  .crav-cart-btn {
    width: 44px;
    height: 44px;
  }
  .crav-shop-btn,
  .crav-menu-toggle {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* HERO SECTION (MOBILE) */
  .hero-banner-section {
    margin-top: 110px; /* Slightly smaller gap for phones */
  }
  .hero-section {
    height: 100svh;
  }
  .hero-title {
    font-size: 20vw;
  }
  .hero-accent-label {
    font-size: 6vw;
  }
  .hero-accent-label.left {
    top: 25%;
    left: 5%;
  }
  .hero-accent-label.right {
    top: 30%;
    right: 5%;
  }
  .hero-burger-container {
    width: 70vw;
  }
  .hero-crav-text {
    font-size: 20vw;
    bottom: 18%;
  }
  .hero-bottom {
    flex-direction: column;
    gap: 4vw;
    align-items: center;
    padding: 0 5vw;
    bottom: 4vw;
  }
  .hero-desc {
    width: 100%;
    text-align: center;
    font-size: 4vw;
  }
  .hero-desc.right {
    text-align: center;
  }

  /* BUTTONS */
  .btn-premium,
  .btn-outline-premium {
    padding: 3vw 8vw;
    font-size: 4vw;
  }

  /* KIRUTHIGA / FOUNDER SECTION */
  .col-lg-5 img {
    width: 80% !important;
    margin: 0 auto 8vw;
    display: block;
    border-radius: 4vw !important;
    box-shadow: -2vw 2vw 0px var(--red) !important;
  }
  h3[style*="var(--font-display)"] {
    font-size: 28px !important;
    text-align: center !important;
    display: block !important;
  }
  h2[style*="var(--font-body)"] {
    font-size: 45px !important;
    text-align: center !important;
  }
  div[style*="border-left"] {
    font-size: 16px !important;
    padding-left: 4vw !important;
    margin-bottom: 6vw !important;
  }
  p[style*="var(--font-display)"] {
    font-size: 24px !important;
    text-align: center !important;
    margin-top: 4vw !important;
  }
  .badge {
    font-size: 14px !important;
    padding: 2vw 4vw !important;
  }
  .d-flex.flex-wrap {
    justify-content: center !important;
  }
  .mt-4 {
    text-align: center !important;
  }

  /* BURGER EYES SECTION */
  .burger-eyes-visual {
    max-width: 80vw !important;
  }
  .burger-eyes-container {
    gap: 20px !important;
  }
  .eye.left-eye,
  .eye.right-eye {
    width: 30px !important;
    height: 30px !important;
  }
  .pupil {
    width: 15px !important;
    height: 15px !important;
  }
  .burger-eyebrows {
    top: 20% !important;
  }

  /* LOCATIONS SECTION */
  .locations-heading {
    font-size: 8vw !important;
  }
  .locations-desc {
    font-size: 4vw !important;
    width: 90% !important;
  }

  /* FOOTER */
  .footer-floating.footer-fish {
    width: 20vw;
  }
  .footer-floating.footer-prawn {
    width: 15vw;
  }
  .footer-floating.footer-chicken {
    width: 12vw;
  }
  .footer-floating.footer-mutton {
    width: 18vw;
  }

  /* INTERNAL PAGES OVERRIDES */
  h1[style*="clamp"],
  h2[style*="clamp"] {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }
  h3[style*="clamp"],
  h4[style*="clamp"] {
    font-size: 24px !important;
    margin-bottom: 15px !important;
  }
  p[style*="clamp"] {
    font-size: 16px !important;
  }
  a[style*="clamp"] {
    font-size: 14px !important;
  }

  div[style*="padding: 8vw"] {
    padding: 40px 0 !important;
  }
  div[style*="padding: 10vw"] {
    padding: 40px 0 !important;
  }
  div[style*="padding: 3vw"] {
    padding: 20px !important;
  }
  div[style*="padding: 2vw 3vw"] {
    padding: 20px !important;
  }
  div[style*="padding: 2.5vw"] {
    padding: 20px !important;
  }

  img[style*="1vw"] {
    border-radius: 15px !important;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1) !important;
  }

  .footer-nav-links {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    align-items: center !important;
    margin: 15px auto 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .footer-policy-links {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .footer-policy-links .footer-nav-link {
    font-size: 11px !important;
    white-space: nowrap !important;
    padding: 2px !important;
  }
  .footer-copyright {
    margin-top: 25px !important;
    text-align: center !important;
  }
  .footer-nav-link {
    font-size: 14px !important;
    padding: 5px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

/* =============================================
   FLOATING ANIMATION (kept for product images)
   ============================================= */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* GSAP utility classes */
.gsap-reveal {
  opacity: 1;
  visibility: visible;
}

.gsap-fade-up {
  opacity: 1;
  transform: none;
}

/* Photo grid with fan layout */
.about-hero-crav {
  margin-top: 115px;
  padding: 8vw 0 4vw;
  background: var(--beige);
  text-align: center;
  overflow: hidden;
}

.about-hero-crav h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1vw;
}

.about-hero-crav .word {
  display: inline-block;
}

.about-hero-crav .subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--black);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-hero-crav p {
  margin: 1.5vw auto 0;
  max-width: 600px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 20px);
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
}

.about-photos-wrapper {
  position: relative;
  width: 100%;
  padding: 0 10vw 6vw;
}

.about-sticker img {
  width: 100%;
  height: auto;
}

.about-photo-grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  max-width: 70vw;
  margin: 0 auto;
  position: relative;
  height: 30vw;
}

.about-photo-card {
  height: 25vw;
  width: 20vw;
  border-radius: 4%;
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
  transition: transform 0.4s ease;
  position: absolute;
  box-shadow: 0 0.5vw 2vw rgba(0, 0, 0, 0.12);
}

.about-photo-card:hover {
  z-index: 20 !important;
  transform: scale(1.05) !important;
}

.about-photo-card:nth-child(1) {
  left: 8%;
  bottom: 0;
  transform: rotate(-8deg);
  z-index: 1;
}
.about-photo-card:nth-child(2) {
  left: 50%;
  bottom: 3vw;
  transform: translateX(-50%) rotate(0deg);
  z-index: 3;
}
.about-photo-card:nth-child(2):hover {
  transform: translateX(-50%) scale(1.05) !important;
}
.about-photo-card:nth-child(3) {
  right: 8%;
  bottom: 0;
  transform: rotate(8deg);
  z-index: 2;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) { .footer-wave { display: none !important; } }

/* =============================================
   MOBILE VIEW - GENERAL TYPOGRAPHY & LAYOUT
   ============================================= */
@media (max-width: 768px) {
    .about-hero-crav p {
        font-size: 16px;
        padding: 0 20px;
        margin-top: 20px;
    }

    .about-photo-grid {
        flex-direction: column;
        height: auto;
        align-items: center;
        gap: 20px;
    }

    .about-photo-card {
        position: relative !important; /* Removes absolute positioning overlaps */
        width: 80vw !important;
        height: 80vw !important;
        margin: 0 auto;
    }
}

/* ==============================================
   NEW DESKTOP INLINE NAVIGATION (Redesign)
   ============================================== */
.crav-desktop-nav {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

.nav-link-custom {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--red);
}

/* Dropdown Triggers */
.nav-item-dropdown {
    position: static; /* Required for full-width mega menu */
}

/* My Account Simple Dropdown */
.nav-item-dropdown.relative-dropdown {
    position: relative;
}

.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: white;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    pointer-events: none;
}

.nav-item-dropdown.relative-dropdown:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.simple-dropdown .dropdown-header {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    padding: 8px 25px;
    letter-spacing: 1px;
}

.simple-dropdown li a {
    display: block;
    padding: 8px 25px;
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.simple-dropdown li a:hover {
    background: #f8f9fa;
    color: var(--red);
}

/* Mega Menu Panel */
.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1050;
    border-top: 1px solid #eee;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Target the mega menu specifically within static list item */
.nav-item-dropdown:not(.relative-dropdown):hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Invisible bridge to prevent dropdown from closing on hover gap */
.mega-menu-panel::before,
.simple-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--black);
    transition: transform 0.2s ease;
}

.mega-category-item:hover {
    transform: translateY(-3px);
    color: var(--red);
}

.mega-category-item .mega-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mega-category-item .mega-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-category-item span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

/* Desktop Hide Utility */
@media (max-width: 991px) {
    .d-lg-flex {
        display: none !important;
    }
}
