/* ==========================================================================
   Bornova Auto Expertise - Main Stylesheet
   ========================================================================== */

/* CSS Custom Properties (CSS Variables) */
:root {
  /* Color Palette */
  --primary-blue: #2c3e50;      /* Dark blue-gray for headers */
  --secondary-blue: #34495e;     /* Medium blue-gray for text */
  --light-gray: #ecf0f1;        /* Background sections */
  --white: #ffffff;             /* Main background */
  --accent-orange: #e67e22;     /* Call-to-action elements */
  --accent-yellow: #f39c12;     /* Highlights and hover states */
  --text-dark: #2c3e50;        /* Primary text */
  --text-light: #7f8c8d;       /* Secondary text */
  
  /* Additional utility colors */
  --border-light: #bdc3c7;     /* Light borders */
  --shadow-light: rgba(0, 0, 0, 0.1);  /* Light shadows */
  --shadow-medium: rgba(0, 0, 0, 0.15); /* Medium shadows */
  --overlay-dark: rgba(44, 62, 80, 0.7); /* Dark overlay */
  
  /* Typography Scale */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font sizes */
  --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 */
  
  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Spacing System */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  
  /* Border radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container and layout */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);
  
  /* Z-index scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ==========================================================================
   Base Styles and Reset
   ========================================================================== */

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
* {
  margin: 0;
  padding: 0;
}

/* HTML and Body */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

/* Paragraphs */
p {
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

/* Links */
a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover,
a:focus {
  color: var(--accent-yellow);
  outline: none;
}

/* Lists */
ul, ol {
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section spacing */
section {
  padding: var(--space-20) 0;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-light);
  font-weight: var(--font-normal);
  margin-bottom: 0;
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px var(--shadow-light);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-blue); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }

/* Background utilities */
.bg-primary { background-color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-blue); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Display utilities */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

/* Flexbox utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ==========================================================================
   Accessibility
   ========================================================================== */

/* Enhanced focus styles for better visibility */
*:focus {
  outline: 3px solid var(--accent-orange);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--white), 0 0 0 4px var(--accent-orange);
}

/* Focus styles for interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--accent-orange);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--white), 0 0 0 4px var(--accent-orange);
}

/* Focus styles for buttons */
.btn:focus {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--white), 0 0 0 4px var(--accent-yellow);
}

/* Focus styles for navigation links */
.nav-link:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  background-color: rgba(230, 126, 34, 0.1);
}

/* Focus styles for mobile menu toggle */
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  background-color: rgba(230, 126, 34, 0.1);
  border-radius: var(--radius-md);
}

/* Focus styles for social links */
.social-links a:focus,
.footer-social a:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  transform: translateY(-2px);
}

/* Focus styles for gallery items */
.gallery-item:focus-within {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Focus styles for service cards */
.service-card:focus-within {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: var(--z-tooltip);
  font-weight: var(--font-medium);
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #000000;
    --secondary-blue: #333333;
    --text-dark: #000000;
    --text-light: #333333;
    --accent-orange: #ff6600;
    --accent-yellow: #ffaa00;
    --border-light: #666666;
  }
  
  .btn {
    border-width: 2px;
  }
  
  .nav-link {
    border: 1px solid transparent;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    border-color: var(--accent-orange);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Disable hover transforms for reduced motion */
  .service-card:hover,
  .gallery-item:hover,
  .contact-item:hover,
  .highlight-item:hover {
    transform: none;
  }
  
  .service-card:hover .service-icon,
  .contact-item:hover .contact-icon {
    transform: none;
  }
  
  .gallery-item:hover img,
  .about-image:hover img {
    transform: none;
  }
}

/* Color blindness support - ensure sufficient contrast */
@media (prefers-color-scheme: dark) {
  /* This would be for dark mode support if needed in the future */
}

/* Font size preferences */
@media (prefers-reduced-data: reduce) {
  /* Reduce animations and effects for users on limited data */
  .hero::after {
    display: none;
  }
  
  .gallery-item {
    animation: none;
  }
}
/* ===
=======================================================================
   Header and Navigation Components
   ========================================================================== */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: rgba(240, 240, 240, 1);
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: all var(--transition-normal);
}

/* Header with scroll background transition */
.header.scrolled {
  background-color: rgba(240, 240, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  min-height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--primary-blue);
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--primary-blue);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-dark);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-orange);
  background-color: rgba(230, 126, 34, 0.1);
}

.nav-link.active {
  color: var(--accent-orange);
  font-weight: var(--font-semibold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--accent-orange);
  border-radius: 1px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-fixed);
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-menu-toggle:hover span {
  background-color: var(--accent-orange);
}

/* Mobile menu toggle animation states */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 20px var(--shadow-medium);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) 0;
  }
  
  .nav-list li {
    width: 100%;
    margin-bottom: 0;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: var(--space-4) var(--space-6);
    text-align: center;
    border-radius: 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .nav-link.active {
    background-color: rgba(230, 126, 34, 0.1);
  }
}

/* Tablet Navigation */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-list {
    gap: var(--space-4);
  }
  
  .nav-link {
    font-size: var(--text-sm);
    padding: var(--space-2);
  }
}

/* Body padding for fixed header */
body {
  padding-top: 70px;
}

/* Header scroll effects */
.header-content {
  transition: padding var(--transition-normal);
}

.header.scrolled .header-content {
  padding: var(--space-3) 0;
}

.header.scrolled .logo img {
  height: 35px;
}

.header.scrolled .logo-text {
  font-size: var(--text-lg);
}/* =
=========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--overlay-dark) 0%,
    rgba(52, 73, 94, 0.8) 50%,
    rgba(44, 62, 80, 0.9) 100%
  );
  z-index: 2;
}

/* Hero Content */
.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-4);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: var(--leading-tight);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--accent-yellow);
  margin-bottom: var(--space-6);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero .btn {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn-primary {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero responsive design */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: var(--space-6) var(--space-4);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
  }
  
  .hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
  }
  
  .hero-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
  
  .hero .btn {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-6);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-description {
    font-size: var(--text-sm);
  }
}

/* Hero animation on load */
.hero-content {
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax effect for hero background (optional enhancement) */
@media (min-width: 1024px) {
  .hero-background {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Hero scroll indicator */
.hero::after {
  content: '';
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--white),
    transparent
  );
  animation: scrollIndicator 2s ease-in-out infinite;
  z-index: 3;
}

@keyframes scrollIndicator {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
}

@media (max-width: 768px) {
  .hero::after {
    display: none;
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  background-color: var(--light-gray);
  padding: var(--space-20) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text {
  padding-right: var(--space-8);
}

.about-description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-dark);
  margin-bottom: var(--space-8);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: all var(--transition-normal);
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.highlight-item i {
  font-size: var(--text-2xl);
  color: var(--accent-orange);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.highlight-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--primary-blue);
  margin-bottom: var(--space-2);
}

.highlight-content p {
  font-size: var(--text-base);
  color: var(--text-light);
  margin-bottom: 0;
  line-height: var(--leading-normal);
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* About section responsive design */
@media (max-width: 1024px) {
  .about-content {
    gap: var(--space-12);
  }
  
  .about-text {
    padding-right: var(--space-4);
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about-text {
    padding-right: 0;
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-image img {
    height: 300px;
  }
  
  .about-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
  
  .about-highlights {
    gap: var(--space-4);
  }
  
  .highlight-item {
    padding: var(--space-4);
  }
  
  .highlight-item i {
    font-size: var(--text-xl);
  }
  
  .highlight-content h3 {
    font-size: var(--text-lg);
  }
  
  .highlight-content p {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .about {
    padding: var(--space-16) 0;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
  
  .highlight-item i {
    margin-top: 0;
  }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
  padding: var(--space-20) 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-normal);
  border: 1px solid rgba(236, 240, 241, 0.8);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-medium);
  border-color: var(--accent-orange);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: var(--text-3xl);
  color: var(--white);
}

.service-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.service-description {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* Services section responsive design */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .services {
    padding: var(--space-16) 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
  }
  
  .service-card {
    padding: var(--space-6);
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-4);
  }
  
  .service-icon i {
    font-size: var(--text-2xl);
  }
  
  .service-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
  }
  
  .service-description {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: var(--space-4);
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery {
  padding: var(--space-20) 0;
  background-color: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-normal);
  background-color: var(--white);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0) 0%,
    rgba(44, 62, 80, 0.1) 50%,
    rgba(44, 62, 80, 0.3) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Gallery responsive design */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .gallery {
    padding: var(--space-16) 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-12);
  }
  
  .gallery-item {
    aspect-ratio: 3/2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
}

/* Gallery loading animation */
.gallery-item {
  animation: galleryFadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes galleryFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .gallery-item img {
    transition: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* ==========================================================================
   Contact Section - Hizmetler Bölümü ile Uyumlu Tasarım
   ========================================================================== */

.contact {
  padding: var(--space-20) 0;
  background-color: var(--light-gray);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  margin-top: var(--space-16);
}

.contact-item {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-normal);
  border: 1px solid rgba(236, 240, 241, 0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

/* Top gradient bar on hover - same as services */
.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-medium);
  border-color: var(--accent-orange);
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
  font-size: var(--text-3xl);
  color: var(--white);
}

.contact-details {
  width: 100%;
}

.contact-details h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.contact-details p {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.contact-details p strong {
  color: var(--primary-blue);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

/* Working Hours Styling */
.working-hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hour-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: center;
}

.hour-block strong {
  color: var(--primary-blue);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  display: block;
}

.hour-block span {
  color: var(--text-light);
  font-size: var(--text-base);
  display: block;
}

.contact-details a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color var(--transition-normal);
  word-break: break-word;
  display: inline-block;
  max-width: 100%;
}

.contact-details a.email-break {
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-details a:hover,
.contact-details a:focus {
  color: var(--accent-yellow);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.social-links a {
  width: 50px;
  height: 50px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: var(--text-xl);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
  background-color: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

/* Contact section responsive design */
@media (max-width: 1200px) {
  .contact-info {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .contact {
    padding: var(--space-16) 0;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    margin-top: var(--space-12);
  }
  
  .contact-item {
    padding: var(--space-6);
    min-height: 240px;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-4);
  }
  
  .contact-icon i {
    font-size: var(--text-2xl);
  }
  
  .contact-details h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
  }
  
  .contact-details p {
    font-size: var(--text-sm);
  }
  
  .contact-details a.email-break {
    font-size: 0.85rem;
  }
  
  .contact-details p strong {
    font-size: var(--text-sm);
  }
  
  .working-hours {
    gap: var(--space-4);
  }
  
  .hour-block strong {
    font-size: var(--text-sm);
  }
  
  .hour-block span {
    font-size: var(--text-sm);
  }
  
  .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
  
  .social-links a {
    width: 45px;
    height: 45px;
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {
  .contact-item {
    padding: var(--space-4);
    min-height: 220px;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon i {
    font-size: var(--text-xl);
  }
  
  .contact-details a.email-break {
    font-size: 0.8rem;
  }
  
  .contact-details p strong {
    font-size: 0.85rem;
  }
  
  .working-hours {
    gap: var(--space-3);
  }
  
  .hour-block strong {
    font-size: 0.85rem;
  }
  
  .hour-block span {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-info {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--white);
}

.footer-description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--text-base);
  transition: color var(--transition-normal);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent-yellow);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2);
}

.footer-contact i {
  font-size: var(--text-sm);
  color: var(--accent-orange);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
  background-color: var(--accent-orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer responsive design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  
  .footer-info {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  
  .footer-info {
    margin-bottom: 0;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .footer-logo {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .footer-logo img {
    height: 35px;
  }
  
  .footer-logo span {
    font-size: var(--text-lg);
  }
  
  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: var(--text-sm);
  }
}
/* =====
=====================================================================
   Floating Action Buttons
   ========================================================================== */

.floating-buttons {
  position: fixed;
  z-index: var(--z-fixed);
  pointer-events: none; /* Allow clicks to pass through the container */
}

.floating-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
  pointer-events: auto; /* Re-enable clicks for the buttons */
  z-index: var(--z-fixed);
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.floating-btn:active {
  transform: translateY(-1px) scale(1.05);
}

/* WhatsApp Button - Bottom Left */
.whatsapp-btn {
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
}

/* Phone Button - Bottom Right */
.phone-btn {
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
}

.phone-btn:hover {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
}

/* Pulse animation for attention */
.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .whatsapp-btn {
    bottom: 20px;
    left: 20px;
  }
  
  .phone-btn {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .whatsapp-btn {
    bottom: 15px;
    left: 15px;
  }
  
  .phone-btn {
    bottom: 15px;
    right: 15px;
  }
}

/* Focus styles for accessibility */
.floating-btn:focus {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .floating-btn::before {
    animation: none;
  }
  
  .floating-btn:hover {
    transform: none;
  }
}/* 
==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 40px;
  width: auto;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  display: block;
}

.footer-logo span {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--white);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
}

.footer-links h4,
.footer-contact h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-contact p {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-contact a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
}
