/**
 * AUSTINWEAR - Modern Premium Apparel Manufacturing Design System
 * Engineered for International B2B Apparel Importers, Brands & Startups
 */

/* ==========================================================================
   1. CSS VARIABLES & THEME SETUP
   ========================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette */
  --color-primary: #0f1115;          /* Deep Obsidian / Carbon */
  --color-primary-dark: #08090b;     /* Pure Night Charcoal */
  --color-primary-light: #1a1e24;    /* Slate Dark Card */
  --color-accent: #ff5722;           /* Energetic Athletic Flame Orange */
  --color-accent-hover: #e64a19;     /* Deep Orange */
  --color-accent-light: rgba(255, 87, 34, 0.12);
  --color-accent-glow: rgba(255, 87, 34, 0.28);
  
  --color-text-main: #1f242e;        /* Crisp dark readability */
  --color-text-muted: #64748b;       /* Cool slate secondary */
  --color-text-light: #94a3b8;       /* Light metadata slate */
  --color-white: #ffffff;
  --color-offwhite: #f8fafc;
  --color-border: #e2e8f0;
  --color-border-dark: #272d37;

  --color-success: #10b981;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebd5a;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.2), 0 10px 15px -5px rgba(0, 0, 0, 0.08);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. GLOBAL BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 980px;
}

.container-fluid {
  max-width: 1440px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--color-accent);
}

.section-tag.light {
  color: #ff8a65;
}
.section-tag.light::before {
  background-color: #ff8a65;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 18px;
}

.section-heading.light {
  color: var(--color-white);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  line-height: 1.7;
}

.section-lead.light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Section Spacing */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.bg-darker {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.bg-light {
  background-color: var(--color-offwhite);
}

/* ==========================================================================
   3. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-accent-glow);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Badge Tags */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-accent {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.badge-dark {
  background-color: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   4. TOP BAR & HEADER
   ========================================================================== */
.topbar {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  transition: all var(--transition-fast);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.topbar-info a:hover {
  color: var(--color-accent);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-socials a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.topbar-socials a:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-smooth);
}

.site-header.scrolled .header-container {
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-link.active {
  color: var(--color-accent);
}

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 250px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-offwhite);
  color: var(--color-accent);
  padding-left: 24px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary);
}

/* ==========================================================================
   5. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
  padding: 24px;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-dark);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #e2e8f0;
  font-size: 1rem;
}

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

.mobile-submenu {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: #94a3b8;
  border-radius: var(--radius-sm);
}

.mobile-submenu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
  filter: contrast(1.1) brightness(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 9, 11, 0.94) 0%, rgba(15, 17, 21, 0.85) 50%, rgba(26, 30, 36, 0.72) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fed7aa;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title span.accent {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 18px;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.stat-value .plus {
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.825rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

/* ==========================================================================
   7. PAGE BANNER (FOR INTERNAL PAGES)
   ========================================================================== */
.page-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.15), transparent 70%);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--color-white);
  margin-bottom: 12px;
}

/* ==========================================================================
   8. PRODUCT CARDS & CATALOG
   ========================================================================== */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 87, 34, 0.4);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--color-accent);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-meta-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.spec-pill {
  font-size: 0.75rem;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  color: #475569;
  font-weight: 500;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   9. FEATURE CARDS (WHY CHOOSE AUSTINWEAR)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition-smooth);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 87, 34, 0.4);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   10. MANUFACTURING PROCESS TIMELINE
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
}

.process-card {
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.process-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.process-step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}

.process-card-title {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==========================================================================
   11. CUSTOMIZATION & PRINTING SHOWCASE
   ========================================================================== */
.techniques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.technique-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.technique-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.technique-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.technique-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.technique-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   12. GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-primary-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-tag {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ==========================================================================
   13. CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 65px 50px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-dark);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.cta-banner-title {
  color: var(--color-white);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   14. FORMS (CONTACT & QUOTE REQUEST)
   ========================================================================== */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.form-label .required {
  color: var(--color-accent);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-file-wrap {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background-color: var(--color-offwhite);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-file-wrap:hover {
  border-color: var(--color-accent);
  background-color: rgba(255, 87, 34, 0.02);
}

.form-file-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Form Alert message */
.form-alert {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-alert.success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-alert.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border-dark);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col-title {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 24px 0;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   16. FLOATING WHATSAPP BUTTON (LEFT SIDE - SPECIFIED IN PROMPT)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  position: relative;
}

.whatsapp-circle-btn:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.08);
}

/* Pulse animation */
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  opacity: 0.6;
  z-index: -1;
  animation: pulse-ring 2s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  left: 72px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border-dark);
}

.whatsapp-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  border-width: 5px 5px 5px 0;
  border-style: solid;
  border-color: transparent var(--color-primary-dark) transparent transparent;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   17. BACK TO TOP BUTTON (RIGHT SIDE)
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ==========================================================================
   18. PRODUCT DETAIL PAGE SPECIFIC
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-offwhite);
  margin-bottom: 16px;
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: flex;
  gap: 12px;
}

.detail-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.detail-thumb.active,
.detail-thumb:hover {
  border-color: var(--color-accent);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.specs-table th {
  color: var(--color-text-muted);
  width: 35%;
  font-weight: 600;
}

.specs-table td {
  color: var(--color-primary);
  font-weight: 500;
}

/* ==========================================================================
   19. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 868px) {
  .main-nav,
  .topbar-socials {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .topbar-content {
    justify-content: center;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 40px 24px;
  }
  .floating-whatsapp {
    left: 20px;
    bottom: 20px;
  }
  .scroll-top-btn {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
}

