/* =====================================================
   Yılmaz Otomotiv - Ana Stil Dosyası
   Açık/Koyu Tema Desteği
   ===================================================== */

/* CSS Variables - Light Theme (Default) */
:root {
  /* Light Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --border-color: #e5e7eb;
  --accent: #e85a71;
  --accent-hover: #d44a61;
  --accent-light: rgba(232, 90, 113, 0.1);
  --gradient-accent: linear-gradient(135deg, #e85a71 0%, #c94b5f 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #f8f9fa;
  --success: #10b981;
  --error: #ef4444;
  --transition: all 0.3s ease;
  --font-primary: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #2a2a2a;
  --bg-card: #242424;
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #a0a0a0;
  --text-dim: #6b6b6b;
  --border-color: #3a3a3a;
  --accent-light: rgba(232, 90, 113, 0.15);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(58, 58, 58, 0.97);
  --footer-bg: #3a3a3a;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

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

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--accent);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}

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

.nav-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

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

.nav-item.has-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.dropdown-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 10px;
}

.theme-toggle:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
  transition: var(--transition);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

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

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

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

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

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

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 90, 113, 0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(232, 90, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 90, 113, 0.4);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--accent);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-us {
  background-color: var(--bg-primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-item {
  text-align: center;
  padding: 40px 25px;
  background-color: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--accent);
}

.why-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.why-description {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =====================================================
   CONTACT PREVIEW SECTION
   ===================================================== */
.contact-preview {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-preview-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.contact-preview-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-preview-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.contact-preview-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-preview-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-preview-content a {
  color: var(--accent);
}

.contact-preview-content a:hover {
  text-decoration: underline;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.page-hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border: 2px dashed var(--border-color);
}

.about-image-placeholder span {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Values */
.values-section {
  background-color: var(--bg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 40px 30px;
  background-color: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.value-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

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

.form-control::placeholder {
  color: var(--text-dim);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 90, 113, 0.4);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Form Messages */
.form-message {
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  display: block;
}

.form-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
  display: block;
}

/* Contact Info */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.contact-info-card h4 svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-detail-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail-content span,
.contact-detail-content a {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-detail-content a:hover {
  color: var(--accent);
}

/* Working Hours */
.working-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.working-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.working-hours-item:last-child {
  border-bottom: none;
}

.working-hours-item .day {
  color: var(--text-muted);
}

.working-hours-item .time {
  font-weight: 500;
  color: var(--text-primary);
}

.working-hours-item.today {
  background-color: var(--accent-light);
  padding: 10px 15px;
  border-radius: 8px;
  border-bottom: none;
}

.working-hours-item.today .day,
.working-hours-item.today .time {
  color: var(--accent);
}

/* Map */
.map-section {
  background-color: var(--bg-primary);
  padding: 80px 0;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 20px 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background-color: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

.footer-social a:hover svg {
  color: #ffffff;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-contact-item a {
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-copyright span {
  color: var(--accent);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 5px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--bg-tertiary);
    margin-top: 5px;
    display: none;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    display: block;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Contact Form */
  .contact-form-wrapper {
    padding: 30px 20px;
  }

  /* Map */
  .map-wrapper iframe {
    height: 300px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .services-grid,
  .why-us-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-preview-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-preview-icon {
    margin: 0 auto;
  }
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.mb-0 {
  margin-bottom: 0;
}
.mt-20 {
  margin-top: 20px;
}
.mt-40 {
  margin-top: 40px;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fade animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Theme transition */
body,
.header,
.nav-menu,
.dropdown-menu,
.service-card,
.why-item,
.contact-preview-item,
.value-card,
.contact-form-wrapper,
.contact-info-card,
.footer,
.footer-social a,
.form-control {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Dark Theme - Header & Footer Special Colors (for logo visibility) */
[data-theme="dark"] .header {
  background-color: var(--header-bg);
  border-bottom-color: #4a4a4a;
}

[data-theme="dark"] .footer {
  background-color: var(--footer-bg);
  border-top-color: #4a4a4a;
}

[data-theme="dark"] .footer-social a {
  background-color: #4a4a4a;
  border-color: #5a5a5a;
}

[data-theme="dark"] .nav-menu {
  background-color: #3a3a3a;
}

[data-theme="dark"] .dropdown-menu {
  background-color: #454545;
  border-color: #555555;
}
