/* =====================================================================
   CSS Reset & Custom Properties (Yeti Carpet Inspired Aesthetic)
===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --primary:        #FF8800;
  --primary-light:  #FF9933;
  --primary-dark:   #CC6D00;

  --bg-dark:        #09314f;
  --bg-darker:      #062338;
  --bg-light:       #ffffff;
  --bg-muted:       #f4f6f8;

  --text-dark:      #1a1a1a;
  --text-light:     #ffffff;
  --text-muted:     #8898aa;

  --border-light:   rgba(255, 255, 255, 0.1);
  --border-dark:    rgba(0, 0, 0, 0.1);

  /* Layout */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-hover:0 20px 40px rgba(0,0,0,0.15);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

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

/* =====================================================================
   Scrollbar
===================================================================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: rgba(9, 49, 79, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================================
   Navigation — Mobile-first
===================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  transition: all 0.4s ease;
  background: transparent;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .nav {
    padding: 1rem clamp(1rem, 4vw, 4rem);
  }
}

.nav.scrolled {
  background: var(--bg-light);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.6rem 1rem;
}

@media (min-width: 768px) {
  .nav.scrolled {
    padding: 0.8rem clamp(1rem, 4vw, 4rem);
  }
}

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

.nav-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
}

@media (min-width: 768px) {
  .nav-brand-title {
    font-size: 1.5rem;
  }
}

.nav.scrolled .nav-brand-title {
  color: var(--bg-dark);
}

.nav-brand-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .nav-brand-sub {
    font-size: 0.7rem;
  }
}

/* Mobile nav links — hamburger menu */
.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
}

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: inherit;
  letter-spacing: 0.05em;
  opacity: 0.9;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary);
}

/* Hamburger button — mobile only */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
}

@media (min-width: 768px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-drawer.open {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

@media (min-width: 768px) {
  .nav-drawer { display: none !important; }
}

.nav-drawer a {
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--primary); }

/* =====================================================================
   Hero Section
===================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 40%, rgba(9,49,79,0.8) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 1.25rem;
  animation: fadeInUp 1s ease both;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 2rem;
  }
}

.hero-title {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

/* =====================================================================
   Sections
===================================================================== */
.section {
  padding: 4rem 1.25rem;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem clamp(1rem, 4vw, 4rem);
  }
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-muted {
  background: var(--bg-muted);
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

/* Text Stroke effect */
.section-dark .section-title.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
}

.section-light .section-title.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--bg-dark);
}

.section-desc {
  max-width: 800px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.8;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .section-desc {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
}

/* =====================================================================
   Carousel Grid
===================================================================== */
.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
  /* Add visible scroll hint on mobile via padding */
  padding-left: 0;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .carousel-track {
    gap: 2rem;
    padding-bottom: 2rem;
    padding-right: 0;
  }
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 72vw;
  max-width: 280px;
  scroll-snap-align: start;
  background: var(--bg-light);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  color: var(--text-dark);
}

@media (min-width: 480px) {
  .product-card {
    flex: 0 0 55vw;
    max-width: 320px;
  }
}

@media (min-width: 768px) {
  .product-card {
    flex: 0 0 calc(40vw);
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    flex: 0 0 calc(25vw);
    max-width: 350px;
  }
}

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

.card-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .card-image {
  transform: scale(1.1);
}

.card-body {
  padding: 1rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .card-body {
    padding: 1.5rem;
  }
}

.card-name {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--bg-dark);
}

@media (min-width: 768px) {
  .card-name {
    font-size: 1.25rem;
  }
}

.card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* =====================================================================
   Location Section
===================================================================== */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .location-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.map-container {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.location-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--bg-dark);
}

@media (min-width: 768px) {
  .location-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.location-details {
  list-style: none;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .location-details {
    font-size: 1.1rem;
  }
}

.location-details li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* =====================================================================
   Footer
===================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem clamp(1rem, 4vw, 4rem) 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
  }
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

@media (min-width: 768px) {
  .footer-col ul li {
    margin-bottom: 0.8rem;
  }
}

.footer-col ul li a {
  opacity: 0.8;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =====================================================================
   WhatsApp Floating Button
===================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .whatsapp-fab {
    right: 1.25rem;
    bottom: 1.25rem;
    gap: 0.75rem;
  }
}

/* Hide text popup on mobile to avoid clutter */
.whatsapp-popup {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .whatsapp-popup {
    display: flex;
  }
}

.whatsapp-popup strong {
  font-size: 0.95rem;
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
}

@media (min-width: 768px) {
  .whatsapp-icon {
    width: 56px;
    height: 56px;
  }
}

.whatsapp-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

@media (min-width: 768px) {
  .whatsapp-icon svg {
    width: 28px;
    height: 28px;
  }
}

.whatsapp-fab:hover .whatsapp-popup,
.whatsapp-fab:hover .whatsapp-icon {
  transform: translateY(-2px);
}

/* =====================================================================
   Animations
===================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
