/* ==========================================================================
   Design Tokens & Foundations
   ========================================================================== */
:root {
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-size-xs: 10px;
  --font-size-sm: 12px;
  --font-size-base: 13.5px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 48px;
  
  --line-height-base: 1.6;

  /* Colors */
  --color-primary: #c9302c; /* Brand Red */
  --color-primary-hover: #a12623;
  --color-surface-base: #ffffff;
  --color-surface-muted: #f5f5f5;
  --color-surface-dark: #111111;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-text-inverse: #ffffff;
  --color-border: #e0e0e0;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Borders & Shadows */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 25px;
  --shadow-1: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.12);
  
  /* Motion */
  --motion-duration: 300ms;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-main);
  background-color: var(--color-surface-base);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.center {
  text-align: center;
}

.section-head {
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-text-main);
  margin-bottom: var(--space-2);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  background: var(--color-surface-base);
  box-shadow: var(--shadow-1);
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 45px;
  object-fit: contain;
  transform: scale(3.0) translateY(4px);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  gap: var(--space-5);
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  color: var(--color-text-main);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.has-drop {
  position: relative;
}

.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface-base);
  box-shadow: var(--shadow-2);
  min-width: 180px;
  padding: var(--space-2) 0;
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.has-drop:hover .drop-menu {
  display: block;
}

.drop-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--color-text-main);
  font-size: var(--font-size-sm);
  transition: background var(--motion-duration), color var(--motion-duration);
}

.drop-menu li a:hover {
  background: var(--color-surface-muted);
  color: var(--color-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-search-btn, .nav-cart {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--color-primary);
  transition: opacity var(--motion-duration);
}

.nav-search-btn:hover, .nav-cart:hover {
  opacity: 0.8;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--font-size-xs);
  padding: 2px 6px;
  border-radius: 50%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-search-bar {
  display: none;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-muted);
  border-bottom: 1px solid var(--color-border);
}

.nav-search-bar.open {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-search-bar input {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1920 / 600;
  max-height: 600px;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--space-8);
  max-width: 1200px;
  text-align: center;
  color: var(--color-text-inverse);
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  line-height: 1.2;
  white-space: nowrap;
}

.hero-content h1 span {
  color: var(--color-primary);
}

.hero-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-xs);
  font-weight: 600;
  transition: background var(--motion-duration);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: none;
  font-size: 48px;
  font-weight: 100;
  cursor: pointer;
  z-index: 20;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.hero-arrow:hover { 
  opacity: 1;
  background: none;
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hdot {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.hdot.active { background: #000; }

/* ==========================================================================
   Category Strip & News
   ========================================================================== */
.cat-strip {
  background: var(--color-surface-base);
  box-shadow: var(--shadow-1);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 4px;
  background: white;
}

.cat-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #fdfdfd;
}

.cat-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-item:hover img {
  transform: scale(1.1);
}

/* Light Red Shutter Hover Effect */
.hover-shutter-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hover-shutter-item .red-shutter-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(201, 48, 44, 0.3); /* Even lighter red color */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-xl);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
  box-shadow: 0px 10px 20px rgba(201, 48, 44, 0.2);
}

.hover-shutter-item:hover .red-shutter-light {
  transform: scaleY(1);
}


.news-bar {
  display: flex;
  align-items: center;
  background: var(--color-surface-muted);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-border);
}

.news-label {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  margin-right: var(--space-4);
}

.news-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.news-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
}

.news-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Shop / Products
   ========================================================================== */
.shop-section {
  background: var(--color-surface-muted);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.fbtn {
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border);
  background: var(--color-surface-base);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--motion-duration);
}

.fbtn.active, .fbtn:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.fsort {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-base);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-5);
}

/* Dummy product card styles for JS injection */
.product-card {
  background: var(--color-surface-base);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--motion-duration);
  text-align: center;
  padding: var(--space-4);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.product-card img { height: 180px; object-fit: contain; margin: 0 auto var(--space-3); }
.product-card h3 { font-size: var(--font-size-lg); margin-bottom: var(--space-1); }
.product-price { color: var(--color-primary); font-weight: 700; font-size: var(--font-size-xl); margin-bottom: var(--space-3); }
.btn-add { background: var(--color-primary); color: white; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; width: 100%; }

/* ==========================================================================
   Three Cards Section
   ========================================================================== */
.cards3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}

.card3 {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  height: 350px;
  display: flex;
  align-items: flex-end;
}

.card3-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.card3:hover .card3-bg {
  transform: scale(1.05);
}

.card3-body {
  position: relative;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  width: 100%;
  padding: var(--space-6) var(--space-4) var(--space-4);
  color: var(--color-text-inverse);
}

.card3-body h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.card3-body p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.card3-btn {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid white;
  border-radius: var(--radius-xs);
  font-size: var(--font-size-sm);
}

.card3-btn:hover {
  background: white;
  color: black;
}

/* ==========================================================================
   About & Services
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-line {
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: var(--space-4);
}

.about-text h2 { font-size: var(--font-size-3xl); margin-bottom: var(--space-4); }
.about-text p { margin-bottom: var(--space-4); color: var(--color-text-muted); }
.about-more { font-weight: 600; color: var(--color-primary); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-item {
  background: var(--color-surface-muted);
  padding: var(--space-5);
  text-align: center;
  border-radius: var(--radius-md);
}

.stat-item strong { display: block; font-size: var(--font-size-2xl); color: var(--color-primary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}

.svc-card {
  text-align: center;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--motion-duration) ease, transform var(--motion-duration) ease;
}

.svc-card:hover { 
  box-shadow: var(--shadow-2); 
  transform: translateY(-5px);
}
.svc-icon { font-size: 40px; color: var(--color-primary); margin-bottom: var(--space-3); }

/* ==========================================================================
   Footer & Newsletter
   ========================================================================== */
.contact-page {
  background: var(--color-surface-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

/* Left Column */
.contact-left h2 {
  font-size: var(--font-size-3xl);
  color: #331a1a;
  margin-bottom: var(--space-3);
}

.contact-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.c-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.c-icon {
  width: 45px;
  height: 45px;
  background: #fdeaea;
  color: #c9302c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.c-info-item strong {
  display: block;
  font-size: var(--font-size-lg);
  color: #1a1a1a;
  margin-bottom: 4px;
}

.c-info-item p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.map-container iframe {
  box-shadow: var(--shadow-1);
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 0;
  border-radius: 8px;
}

/* Right Column */
.contact-card {
  background: var(--color-surface-base);
  border: 1px solid #e0b4b4;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 48, 44, 0.15);
}

.form-card h3 {
  font-size: var(--font-size-2xl);
  color: #331a1a;
  margin-bottom: 4px;
}

.form-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

#contactForm input, #contactForm select, #contactForm textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  font-size: var(--font-size-sm);
  font-family: inherit;
  background: #fafafa;
}

#contactForm input:focus, #contactForm select:focus, #contactForm textarea:focus {
  outline: none;
  border-color: #c9302c;
  background: white;
}

.btn-submit {
  background: #c9302c;
  color: white;
  border: none;
  padding: var(--space-3);
  border-radius: var(--radius-xs);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(201, 48, 44, 0.2);
}

.btn-submit:hover {
  background: #a12623;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(201, 48, 44, 0.3);
}

/* FAQ Accordion */
.faq-card h3 {
  font-size: var(--font-size-xl);
  color: #c9302c;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: #fafafa;
  overflow: hidden;
}

.faq-head {
  padding: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--font-size-sm);
  user-select: none;
}

.faq-head i {
  color: #c9302c;
  transition: transform 0.3s;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--space-3);
}

.faq-body p {
  padding-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: var(--color-surface-dark);
  color: #ccc;
  padding: var(--space-6) var(--space-4) var(--space-3);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-4);
}

.footer-logo { 
  height: 180px; 
  margin: 0 auto var(--space-3) auto; 
  display: block;
  background: white;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-social { display: flex; gap: 15px; margin-top: var(--space-2); }
.footer-social a { color: white; font-size: 20px; }
.footer-col h4 { color: white; margin-bottom: var(--space-3); }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col ul li a:hover { color: white; }
.footer-contact p { margin-bottom: var(--space-2); font-size: var(--font-size-sm); }
.footer-contact a { color: var(--color-primary); }

.footer-bottom {
  text-align: center;
  padding-top: var(--space-3);
  border-top: 1px solid #333;
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   Modals & Floats
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.float-btn {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-2);
  z-index: 1500;
}

.float-wa { bottom: 20px; background: #25D366; }
.float-call { bottom: 80px; background: var(--color-primary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero { aspect-ratio: 16 / 6; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .nl-row { flex-direction: column; }
}

@media (max-width: 576px) {
  /* other 576px rules if any */
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .hero { aspect-ratio: 16 / 7; }
  .hero-arrow { font-size: 24px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-dots { bottom: 10px; gap: 6px; }
  .hdot { width: 8px; height: 8px; }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    z-index: 1000;
  }
  
  .mb-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s ease;
  }
  
  .mb-nav-item:last-child {
    border-right: none;
  }
  
  .mb-nav-item:hover {
    background: var(--color-primary-hover);
  }

  .mb-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .mb-nav-item span {
    font-size: 13px;
    font-weight: 500;
  }

  body {
    padding-bottom: 60px; /* Space for sticky nav */
  }

  /* Hide floating buttons behind the sticky nav */
  .float-btn {
    display: none;
  }
}
