/* ==========================================================================
   TAQWA MOTORS - PREMIUM AUTOMOTIVE DESIGN SYSTEM
   "Where Trust Drives Everything"
   Clean White + Taqwa Red + Dark Typography Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --primary-red: #D32F2F;
  --primary-red-hover: #B71C1C;
  --primary-red-glow: rgba(211, 47, 47, 0.3);
  --primary-red-light: rgba(211, 47, 47, 0.08);

  --brand-navy: #0B1120;
  --brand-blue: #1E3A8A;
  --brand-blue-accent: #2563EB;

  /* Surfaces & Clean White Theme Base */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-light-alt: #F1F5F9;
  --bg-card-white: #FFFFFF;
  --border-light: #E2E8F0;
  --border-light-hover: #CBD5E1;

  /* Dark Luxury Accents for Hero/Footer */
  --bg-dark: #090D16;
  --bg-dark-surface: #0F172A;
  --bg-card: #131B2E;
  --bg-card-hover: #18233C;
  
  /* Typography & Neutrals */
  --text-dark: #0F172A;
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748B;
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* Functional Accents */
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #20BA5A;
  --star-gold: #F59E0B;
  --badge-emerald: #059669;
  --badge-blue: #2563EB;
  --badge-amber: #D97706;

  /* Layout & Geometry */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-red: 0 4px 14px rgba(211, 47, 47, 0.35);

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cinzel', serif;
}

/* Base Reset & Overflow Guards */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1.02rem; }
h6 { font-size: 0.9rem; }

p {
  color: var(--text-dark-secondary);
  font-size: 0.98rem;
  word-break: break-word;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  border: none;
  outline: none;
  max-width: 100%;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container, .container-fluid {
    padding: 0 16px;
  }
}

@media (max-width: 380px) {
  .container, .container-fluid {
    padding: 0 12px;
  }
}

/* Section Wrapper */
.section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-white);
}

@media (max-width: 768px) {
  .section {
    padding: 44px 0;
  }
}

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

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

.section-dark-surface h2,
.section-dark-surface h3,
.section-dark-surface h4,
.section-dark-surface p {
  color: var(--text-primary);
}

.section-dark-surface p {
  color: var(--text-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-red-light);
  border: 1px solid rgba(211, 47, 47, 0.2);
  color: var(--primary-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  max-width: 100%;
}

.section-tag.tag-blue {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--brand-blue-accent);
}

.section-tag.tag-gradient,
.section-tag.tag-dark {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-light);
  color: var(--primary-red);
}

.section-title {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-dark-surface .section-title {
  color: #FFFFFF;
}

/* NO GRADIENT TEXT - SOLID COLORS */
.section-title .text-gradient,
.text-gradient {
  color: var(--primary-red);
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--primary-red) !important;
  font-weight: 800;
}

.section-title .text-red,
.text-red {
  color: var(--primary-red);
}

.section-title .text-dark,
.text-dark {
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.section-dark-surface .section-subtitle {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 0.92rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Utility Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.w-100 { width: 100%; }

/* Responsive Visibility Utilities */
@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  .d-block-mobile {
    display: block !important;
  }
  .d-flex-mobile {
    display: flex !important;
  }
  .w-100-mobile {
    width: 100% !important;
  }
  .text-center-mobile {
    text-align: center !important;
  }
}

@media (min-width: 769px) {
  .d-none-desktop {
    display: none !important;
  }
}
