/* ===================================
   SÜZEN İNŞAAT - MODERN DESIGN SYSTEM
   =================================== */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

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

:root {
  /* === COLOR PALETTE === */
  /* Primary - Red */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;

  /* Neutrals - Gray */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors */
  --white: #ffffff;
  --black: #000000;
  --primary: var(--red-600);
  --primary-hover: var(--red-700);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --background: var(--white);
  --surface: var(--gray-50);

  /* === SPACING SCALE === */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 6rem; /* 96px */

  /* === TYPOGRAPHY === */
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading:
    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */

  /* === EFFECTS === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 0.375rem; /* 6px */
  --radius-md: 0.5rem; /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1rem; /* 16px */
  --radius-2xl: 1.5rem; /* 24px */
  --radius-full: 9999px;

  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GOOGLE FONTS === */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap");

/* === BASE STYLES === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-5xl);
}
h2 {
  font-size: var(--text-4xl);
}
h3 {
  font-size: var(--text-3xl);
}
h4 {
  font-size: var(--text-2xl);
}
h5 {
  font-size: var(--text-xl);
}
h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

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

/* === LAYOUT UTILITIES === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  gap: var(--space-md);
}

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

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

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 100px;
  position: relative;
}

.logo-link {
  position: relative;
  display: block;
  z-index: 1001;
  width: 250px; /* Space reserved for logo in layout */
  height: 100px; /* Same as navbar height */
  overflow: visible;
}

.logo {
  height: 200px;
  width: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

/* Company name appears on hover */
.logo-link::after {
  content: 'Melis & Ecrin';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  font-family: 'Great Vibes', cursive;
  font-size: 30px;
  font-weight: 400;
  color: var(--primary);
  opacity: 0;
  white-space: nowrap;
  transition: all 0.4s ease;
  pointer-events: none;
}

.logo-link:hover .logo {
  transform: translateY(-50%) scale(1.05);
}

.logo-link:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:visited {
  color: var(--text-primary);
}

.nav-link:hover {
  color: var(--primary) !important;
  background: var(--red-50);
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.nav-link:visited {
  color: var(--text-primary);
}

.nav-link:not(.active):visited:not(:hover) {
  color: var(--text-primary) !important;
}

/* Specific fix for services link to prevent visited color */
.nav-link[href="#hizmetler"]:visited {
  color: var(--text-primary);
}

.nav-link[href="#hizmetler"]:hover,
.nav-link[href="#hizmetler"].active {
  color: var(--primary) !important;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: var(--space-xs);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-left: auto;
  align-items: center;
  z-index: 1001;
}

.lang-btn {
  padding: var(--space-xs) var(--space-xs);
  border: none;
  background: transparent;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.lang-btn img {
  width: 30px;
  height: 21px;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

.lang-btn:hover img {
  transform: scale(1.1);
}

.lang-btn.active img {
  transform: scale(1.2);
}

.lang-btn.active {
  background: transparent;
  box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-800) 100%);
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin-top: 1rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 3.75rem);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* === HERO LAYOUT === */
.hero-layout {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.hero-layout .hero-content {
  flex: 1;
  text-align: left;
  max-width: 520px;
  margin-top: 0;
}

.hero-layout .hero-content .hero-buttons {
  justify-content: flex-start;
}

/* === HERO MOSAIC === */
.hero-mosaic {
  flex: 1;
  position: relative;
  height: 370px;
}

.mosaic-item {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: rgba(255,255,255,0.1);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Resim yokken placeholder */
.mosaic-item img[src$=".jpg"]:not([complete]),
.mosaic-item img {
  min-height: 100%;
}

/* Kare konumları ve boyutları */
.mosaic-1 {
  width: 200px; height: 190px;
  top: 0; left: 50px;
  transform: rotate(-3deg);
}
.mosaic-2 {
  width: 165px; height: 160px;
  top: 10px; left: 265px;
  transform: rotate(2.5deg);
}
.mosaic-3 {
  width: 220px; height: 175px;
  top: 0; right: 0;
  transform: rotate(-1.5deg);
}
.mosaic-4 {
  width: 180px; height: 185px;
  top: 185px; left: 100px;
  transform: rotate(2deg);
}
.mosaic-5 {
  width: 185px; height: 175px;
  top: 190px; right: 10px;
  transform: rotate(-2.5deg);
}
.mosaic-6 {
  width: 155px; height: 160px;
  top: 180px; left: 295px;
  transform: rotate(1.5deg);
}

@media (max-width: 900px) {
  .logo-link::after {
    right: auto;
    left: 185px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-10px);
    font-size: 19px;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .logo-link:hover::after,
  .logo-link.touch-hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  /* Lang switcher: hide fixed version, show inside dropdown */
  .lang-switcher {
    display: none;
  }

  .hero-layout {
    flex-direction: column;
  }

  .hero-layout .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-layout .hero-content .hero-buttons {
    justify-content: center;
  }

  .hero-mosaic {
    display: none;
  }
}

/* === HERO MOBILE IMAGE SLIDER === */
.hero-mobile-images {
  display: none;
}

@media (max-width: 900px) {
  .hero-layout .hero-content {
    display: flex;
    flex-direction: column;
  }

  .hero-mobile-images {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-mobile-images .slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
  }

  .hero-mobile-images img {
    flex: 0 0 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
  }

  .hero-slide-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }

  .hero-slide-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
  }

  .hero-slide-dots span.active {
    background: #fff;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.card .btn-red {
  margin-top: auto;
  align-self: flex-start;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red-200);
}

.card-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-300);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--gray-400);
  font-size: var(--text-sm);
}

/* === WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all var(--transition);
  text-decoration: none;
  animation: pulse 1.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Tooltip for Phone Number */
.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px; /* Position to the left of the button */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: white;
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  pointer-events: none;
}

/* Arrow for the tooltip */
.whatsapp-float::before {
  content: '';
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float:hover::after,
.whatsapp-float:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}


@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9);
  }
  50% {
    box-shadow: 0 0 0 22px rgba(37, 211, 102, 0.15);
  }
  100% {
    box-shadow: 0 0 0 30px rgba(37, 211, 102, 0);
  }
}

/* === FORM STYLES === */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .hero-content {
    margin-top: 2rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    gap: var(--space-sm);
  }

  .nav-link {
    padding: var(--space-xs) var(--space-xs);
    font-size: var(--text-sm);
  }

  .lang-btn {
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 900px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    height: 120px;
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .whatsapp-float {
    width: 65px;
    height: 65px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
    animation: pulse-mobile 1.4s infinite;
  }

  @keyframes pulse-mobile {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9);
    }
    50% {
      box-shadow: 0 0 0 44px rgba(37, 211, 102, 0.15);
    }
    100% {
      box-shadow: 0 0 0 58px rgba(37, 211, 102, 0);
    }
  }
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

/* === FOOTER === */
.footer {
  background: var(--white);
  color: var(--text-primary);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--gray-200);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  font-weight: 600;
}

.footer-logo {
  height: 216px;
  width: auto;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  margin: 0;
}

/* === BRAND PARTNERS TICKER === */
.brands-section {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.brands-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.brands-ticker-wrapper {
  overflow: hidden;
  position: relative;
}

.brands-ticker-wrapper::before,
.brands-ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.brands-ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.brands-ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: none;
  width: max-content;
}

.brands-ticker-wrapper:hover .brands-track {
  animation-play-state: paused;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 48px;
}

.brand-item img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

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

/* === NAV DIRECTIONS BUTTON (DESKTOP ONLY) === */
.nav-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(230,126,34,0.35);
  transition: all 0.25s ease;
  margin-right: 8px;
}

.nav-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230,126,34,0.45);
  background: linear-gradient(135deg, #d35400, #a04000);
}

@media (max-width: 768px) {
  .nav-directions-btn {
    display: none;
  }
}

/* === DIRECTIONS BUTTON (MOBILE ONLY) === */
.directions-float {
  display: none;
}

@media (max-width: 768px) {
  .directions-float {
    display: flex;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #e30a17;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    transition: all var(--transition);
    text-decoration: none;
    animation: pulse-red 1.4s infinite;
  }

  .directions-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  .directions-float svg {
    width: 30px;
    height: 30px;
    fill: white;
  }

  @keyframes pulse-red {
    0% {
      box-shadow: 0 0 0 0 rgba(227, 10, 23, 0.9);
    }
    70% {
      box-shadow: 0 0 0 20px rgba(227, 10, 23, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(227, 10, 23, 0);
    }
  }
}

@media (max-width: 480px) {
  .directions-float {
    width: 65px;
    height: 65px;
    bottom: 95px;
    right: 20px;
  }
  .directions-float svg {
    width: 35px;
    height: 35px;
  }
}

