/* ===== MODERN SLATE DARK THEME DESIGN TOKENS ===== */
:root {
  /* Brand Colors */
  --fire-red: #EF4444;
  --fire-red-dark: #B91C1C;
  --fire-red-light: #F87171;
  --fire-orange: #F97316;
  --navy: #1E293B;
  --navy-dark: #0F172A;

  /* Absolute Colors */
  --white: #FFFFFF;
  --black: #000000;

  /* Modern Dark Theme Surfaces */
  --bg-body: #0F172A;
  /* Deep slate navy */
  --bg-section: #1E293B;
  /* Slightly lighter slate for sections */
  --bg-card: #334155;
  /* Even lighter for cards */
  --bg-card-alt: #1E293B;
  --border-color: #334155;

  /* Text Colors */
  --text-heading: #F8FAFC;
  /* Off-white for high contrast */
  --text-body: #CBD5E1;
  /* Light gray for body */
  --text-muted: #94A3B8;

  /* Gradients */
  --gradient-fire: linear-gradient(135deg, #EF4444, #F97316);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-card: linear-gradient(145deg, #334155, #1E293B);

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 30px rgba(239, 68, 68, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--fire-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fire-red-dark);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 0.12s);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-smooth);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform var(--transition-bounce);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--fire-red-light);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--fire-red-light);
}

.nav-cta {
  background: var(--gradient-fire) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-glow-red);
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 50px rgba(229, 57, 53, 0.4);
  background: var(--gradient-fire) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fire-red);
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-fire);
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}


/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.page-hero .section-tag {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero h1 .highlight {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--fire-red);
}

.breadcrumb .separator {
  color: var(--border-color);
}

.breadcrumb .current {
  color: var(--fire-red);
  font-weight: 600;
}

/* ===== HERO SECTION (Home) ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--fire-red);
  border-radius: 50%;
  opacity: 0;
  animation: float-up 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 25%;
  animation-delay: 1.2s;
  animation-duration: 5s;
}

.particle:nth-child(3) {
  left: 40%;
  animation-delay: 2.5s;
  animation-duration: 8s;
}

.particle:nth-child(4) {
  left: 55%;
  animation-delay: 0.8s;
  animation-duration: 6s;
}

.particle:nth-child(5) {
  left: 70%;
  animation-delay: 3s;
  animation-duration: 7s;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-20vh) scale(1.5);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fire-red-dark);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-heading);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 .highlight {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-fire);
  color: var(--white);
  box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(229, 57, 53, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-section);
  border-color: var(--fire-red);
  color: var(--fire-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* ===== LIGHT SECTION STYLES ===== */
.about {
  background: var(--bg-section);
}

.services {
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.products {
  background: var(--bg-section);
}

.why-us {
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.contact {
  background: var(--bg-section);
}

.home-features {
  background: var(--bg-section);
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: transparent;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.about-experience-badge .badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-experience-badge .badge-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

.about-feature:hover {
  background: var(--bg-card);
  border-color: var(--fire-red);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow-red);
}

.about-feature .feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card,
.service-card-large {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.service-card-large {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  text-align: left;
}

.service-card::before,
.service-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover::before,
.service-card-large:hover::before {
  transform: scaleX(1);
}

.service-card:hover,
.service-card-large:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow-red);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--gradient-fire);
  box-shadow: var(--shadow-glow-red);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== HOME FEATURE CARDS ===== */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.home-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.home-feature-card:hover::before {
  transform: scaleX(1);
}

.home-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow-red);
}

.home-feature-card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.home-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.home-feature-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fire-red);
  transition: all var(--transition-fast);
}

.card-link:hover {
  color: var(--fire-red-light);
  letter-spacing: 1px;
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.svc-detail {
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}

.svc-detail--alt {
  background: var(--bg-section);
}

.svc-detail-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  position: relative;
}

.svc-detail-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.35;
}

.svc-detail-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.svc-detail-header p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Gallery Grid – default 3 columns */
.svc-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 2-col auto */
.svc-detail-gallery:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

/* 4-col variant */
.svc-detail-gallery:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}

/* 5-col variant */
.svc-detail-gallery--5 {
  grid-template-columns: repeat(5, 1fr) !important;
}

/* 6-col variant (3x2) */
.svc-detail-gallery--6 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* 4x2 variant */
.svc-detail-gallery--4x2 {
  grid-template-columns: repeat(4, 1fr) !important;
}

.svc-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.svc-detail-img:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow-red);
  transform: translateY(-6px);
}

.svc-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-detail-img:hover img {
  transform: scale(1.08);
}

/* Wide single-image variant */
.svc-detail-img--wide {
  grid-column: 1 / -1;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 16/9;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.product-info {
  padding: 20px 24px 24px;
}

.product-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== WHY US GRID ===== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: rgba(229, 57, 53, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.why-card:hover .why-card-icon {
  background: var(--gradient-fire);
  box-shadow: var(--shadow-glow-red);
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-body);
  padding-top: 100px;
  /* Space for fixed navbar */
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--fire-red);
  border-color: var(--fire-red);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dots .dot.active {
  background: var(--fire-red);
  border-color: var(--fire-red);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  transform: scale(1.2);
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== STANDARDS MARQUEE ===== */
.standards-marquee {
  padding: 40px 0;
  background: var(--bg-section);
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
}

.marquee-item .m-dot {
  width: 8px;
  height: 8px;
  background: var(--fire-red);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== SHOP / PRODUCTS PAGE ===== */
.products-page {
  background: var(--bg-body);
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card-alt);
  color: var(--text-body);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--fire-red);
  color: var(--fire-red);
}

.filter-btn.active {
  background: var(--gradient-fire);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-glow-red);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md), var(--shadow-glow-red);
}

.shop-card-image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.shop-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-card-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}

.shop-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  opacity: 0.8;
}

.shop-card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  margin-top: auto;
}

.shop-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.shop-results-info {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.shop-results-info strong {
  color: var(--fire-red);
}

/* ===== CART BADGE ===== */
.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 14px !important;
  font-size: 1.2rem;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fire-red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, .5);
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9999;
  background: var(--bg-card);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.15);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-toast.show {
  transform: translateX(0);
}

.toast-link {
  color: var(--fire-red);
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.toast-link:hover {
  color: var(--fire-red-light);
}

/* ===== SHOP CARD BUTTONS ROW ===== */
.shop-card-actions {
  display: flex;
  gap: 8px;
}

.shop-card-actions .shop-btn {
  flex: 1;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--fire-red);
  color: var(--fire-red);
  background: transparent;
}

.btn-cart:hover {
  background: var(--fire-red);
  color: var(--white);
  box-shadow: var(--shadow-glow-red);
}

/* ===== CART PAGE ===== */
.cart-page {
  background: var(--bg-body);
}

.cart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead {
  background: var(--bg-card-alt);
}

.cart-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-table td {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 0.95rem;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cart-product-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
  line-height: 1.4;
}

.cart-price-cell {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.cart-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-card-alt);
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: var(--fire-red);
  color: var(--white);
}

.cart-qty-value {
  width: 44px;
  height: 36px;
  text-align: center;
  border: none;
  background: var(--bg-body);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cart-remove-btn:hover {
  color: var(--fire-red);
  background: rgba(239, 68, 68, 0.1);
}

.cart-subtotal-cell {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-heading);
  font-size: 1rem;
}

/* Cart Summary / Footer */
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 24px;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-color);
}

.cart-summary-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-clear-btn {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-clear-btn:hover {
  border-color: var(--fire-red);
  color: var(--fire-red);
}

.cart-back-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.cart-back-link:hover {
  color: var(--fire-red);
}

.cart-summary-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cart-total-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-whatsapp-checkout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: var(--white) !important;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.btn-whatsapp-checkout:hover {
  background: #1fba59;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* Cart Empty State */
.cart-empty {
  text-align: center;
  padding: 80px 40px;
}

.cart-empty-icon {
  font-size: 5rem;
  margin-bottom: 24px;
  display: block;
  opacity: 0.5;
}

.cart-empty h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-body);
}

.cta-box {
  background: var(--gradient-fire);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.cta-box::before,
.cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.cta-box::before {
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
}

.cta-box::after {
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), transparent 70%);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: var(--white);
  color: var(--fire-red-dark);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--fire-red-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-3px);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--text-body);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.contact-item:hover {
  border-color: rgba(229, 57, 53, 0.3);
  transform: translateX(8px);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--text-heading);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--fire-red);
}

/* New Contact Card Styles to match HTML */
.contact-card {
  background: var(--bg-card);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-alt));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.05), transparent 70%);
  z-index: 0;
}

.contact-card h3, 
.contact-card > p, 
.info-list {
  position: relative;
  z-index: 1;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.contact-card > p {
  color: var(--text-body);
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all var(--transition-smooth);
}

.info-item:hover .info-icon {
  background: var(--fire-red);
  color: var(--white);
  box-shadow: var(--shadow-glow-red);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--fire-red);
  transition: all var(--transition-fast);
}

.info-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.info-content p, 
.info-content a {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.info-content a:hover {
  color: var(--fire-red);
}

.contact-form-wrapper {
  background: var(--bg-card);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-alt));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fire-red);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 10px;
}

/* ===== MAP ===== */
.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 48px;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1) saturate(1);
  transition: opacity var(--transition-smooth);
}

.map-wrapper:hover iframe {
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
  color: var(--white);
}

.footer-social a:hover {
  background: var(--gradient-fire);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-red);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--fire-red-light);
  transform: translateX(4px);
}

.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== JOINCHAT FLOATING WIDGET ===== */
.joinchat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.joinchat.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* --- Chat Button --- */
.joinchat__button {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  color: white;
}

.joinchat__button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.joinchat__button::before,
.joinchat__button::after {
  content: '';
  position: absolute;
  border: 2px solid #25D366;
  left: -10px;
  right: -10px;
  top: -10px;
  bottom: -10px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.joinchat__button::before {
  animation: joinchat_pulse 2s infinite ease-out;
}

.joinchat__button::after {
  animation: joinchat_pulse 2s infinite ease-out;
  animation-delay: 0.5s;
}

@keyframes joinchat_pulse {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  33% {
    opacity: 0.6;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.joinchat__tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  background: white;
  color: #333;
  font-family: var(--font-primary);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
}

.joinchat__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.joinchat:not(.box-open):hover .joinchat__tooltip,
.joinchat.tooltip-active:not(.box-open) .joinchat__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* --- Chat Box (The Graphic Requested) --- */
.joinchat__box {
  background: #f1f1f1;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  cursor: default;
  position: absolute;
  bottom: 70px;
  right: 0;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.joinchat.box-open .joinchat__box {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.joinchat__header {
  background: #25d366;
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.joinchat__header__text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.joinchat__close {
  background: rgba(0, 0, 0, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.joinchat__close:hover {
  background: rgba(0, 0, 0, 0.4);
}

.joinchat__box__scroll {
  padding: 30px 24px 20px;
  position: relative;
}

.joinchat__message {
  background: white;
  color: #444;
  padding: 18px 20px;
  border-radius: 18px;
  border-top-left-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}

.joinchat__message::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.joinchat__button__send {
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 24px 30px;
  padding: 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  text-decoration: none;
  align-self: flex-end;
  width: max-content;
}

.joinchat__button__send:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
  color: white;
}

.joinchat__button__send__icon {
  display: flex;
  align-items: center;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-heading);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.back-to-top:hover {
  background: var(--fire-red);
  border-color: var(--fire-red);
  color: var(--white);
  transform: translate(-50%, -4px);
}

/* ===== HOME OVERVIEW CARDS ===== */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.home-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-smooth);
}

.home-feature-card:hover::after {
  transform: scaleX(1);
}

.home-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-md);
}

.home-feature-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.home-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.home-feature-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.home-feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fire-red);
  transition: all var(--transition-fast);
}

.home-feature-card .card-link:hover {
  gap: 10px;
  color: var(--fire-red-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 14px 24px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1100;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 32px;
  }

  .stat-item {
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 32px;
  }

  .svc-detail-gallery,
  .svc-detail-gallery--5,
  .svc-detail-gallery--6,
  .svc-detail-gallery--4x2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .svc-detail-number {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 280px;
  }

  .home-features-grid {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  /* CART RESPONSIVE - MOBILE TABLE */
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .cart-table td {
    padding: 16px 20px;
    border: none;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-display);
    text-transform: uppercase;
  }

  .cart-table td[data-label="Ürün"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-color);
  }

  .cart-product-cell {
    align-items: flex-start;
    text-align: left;
  }

  .cart-remove-cell {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
    display: block !important;
  }

  .cart-remove-cell::before {
    display: none;
  }

  .cart-remove-btn {
    background: rgba(229, 57, 53, 0.1);
    color: var(--fire-red);
    padding: 8px;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cart-summary-left {
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;
  }

  .cart-summary-right {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .btn-whatsapp-checkout {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    padding-top: 80px;
  }
  .slide img {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .svc-detail-gallery,
  .svc-detail-gallery--5,
  .svc-detail-gallery--6,
  .svc-detail-gallery--4x2 {
    grid-template-columns: 1fr !important;
  }

  .svc-detail-img--wide {
    aspect-ratio: 4/3;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    flex-direction: column;
    gap: 16px;
  }

  .joinchat {
    bottom: 20px;
    right: 20px;
  }

  .joinchat__button {
    width: 56px;
    height: 56px;
  }

  .joinchat__box {
    width: calc(100vw - 40px);
    right: 0;
    bottom: 65px;
  }

  .joinchat__message {
    padding: 14px 16px;
    font-size: 14px;
  }

  .joinchat__button__send {
    margin: 0 20px 24px;
  }

  .back-to-top {
    bottom: 20px;
    width: 42px;
    height: 42px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .product-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .slide img {
    height: 250px;
  }
  
  .slider-dots {
    bottom: 10px;
  }
}

/* ===== PRODUCT MODAL ===== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.product-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.product-modal-container {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.5);
}
.product-modal-overlay.active .product-modal-container {
  transform: translateY(0) scale(1);
}
.product-modal-close {
  position: sticky;
  top: 15px;
  left: calc(100% - 45px);
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.product-modal-close:hover {
  background: var(--fire-red);
  color: var(--white);
  border-color: var(--fire-red);
}
.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  padding-top: 20px; 
  align-items: start;
}
.product-modal-image {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-width: 0;
  width: 100%;
}
.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.product-modal-image span {
  font-size: 6rem;
}
.product-modal-info {
  display: flex;
  flex-direction: column;
}
.product-modal-tag {
  color: var(--fire-red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.product-modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.2;
}
.product-modal-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.product-modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.product-modal-buttons .btn {
  flex: 1;
  justify-content: center;
}
.product-modal-related {
  padding: 40px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-section);
}
.product-modal-related h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-heading);
  margin-bottom: 24px;
}
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .product-modal-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .product-modal-related {
    padding: 24px;
  }
  .product-modal-buttons {
    flex-direction: column;
  }
}
/* ===== DEV FOOTER (AFTER WEB) ===== */
.dev-footer {
  background: var(--bg-card, #111827);
  border-top: 1px solid var(--border-color, #1f2937);
  padding: 16px 0;
  font-size: 0.9rem;
  margin-top: auto;
}
.dev-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.dev-logo-text {
  color: var(--text-muted, #9ca3af);
  display: flex;
  align-items: center;
}
.dev-logo-text strong {
  color: var(--text-heading, #f9fafb);
  margin-left: 4px;
}
.dev-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dev-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  transition: all 0.2s ease;
}
.dev-link:hover {
  color: var(--primary-color, #ef4444);
}
@media (max-width: 600px) {
  .dev-footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
