/* Modern Professional CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Professional Color Palette */
:root {
  --primary-color: #1a365d;
  --primary-light: #2d5a87;
  --secondary-color: #4a5568;
  --accent-color: #d69e2e;
  --accent-hover: #b7791f;
  --success-color: #38a169;
  --background-color: #f7fafc;
  --surface-color: #ffffff;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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);
}

body,
html {
  height: 100%;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  display: grid;
  grid-template-areas:
    "header header"
    "sidebar content"
    "footer footer";
  grid-template-columns: 280px 1fr;
  grid-template-rows: 80px 1fr auto;
  min-height: 100vh;
}

/* Header Styles */
.header {
  grid-area: header;
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo-icon {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-contact {
  display: flex;
  align-items: center;
}

.phone-number {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-decoration: none;
}

.phone-number:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Sidebar Styles */
.sidebar {
  grid-area: sidebar;
  background: var(--surface-color);
  border-right: 1px solid var(--border-color);
  padding: 2rem 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin: 0.25rem 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
}

.sidebar a:hover {
  background-color: rgba(26, 54, 93, 0.05);
  color: var(--primary-color);
  border-right-color: var(--primary-color);
}

.sidebar a.active {
  background-color: rgba(26, 54, 93, 0.1);
  color: var(--primary-color);
  border-right-color: var(--primary-color);
}

/* Content Styles */
.content {
  grid-area: content;
  background-color: var(--background-color);
  overflow-x: hidden;
}

/* Slider Styles */
.slider-container {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--text-primary);
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(45, 90, 135, 0.75) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 600px;
  color: white;
}

.slide-badge {
  display: inline-block;
  background: rgba(214, 158, 46, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.slide-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.slide-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  min-width: 160px;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.prev {
  left: 2rem;
}
.next {
  right: 2rem;
}

.dots-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

/* Services Section */
.services-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 54, 93, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Welcome Section */
.welcome-section {
  background: var(--surface-color);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border-color);
}

.welcome-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.welcome-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.stats {
  display: flex;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.welcome-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-image img {
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Float Buttons */
.whatsapp-float,
.phone-float {
  position: fixed;
  bottom: 2rem;
  z-index: 1000;
}

.whatsapp-float {
  left: 2rem;
}

.phone-float {
  left: 2rem;
  bottom: 6rem;
}

.whatsapp-float a,
.phone-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.whatsapp-float a {
  background: var(--success-color);
}

.phone-float a {
  background: var(--primary-color);
}

.whatsapp-float a:hover,
.phone-float a:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
  grid-area: footer;
  background: var(--text-primary);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section p {
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  text-align: center;
  color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 250px 1fr;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .welcome-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats {
    justify-content: center;
  }
  
}

@media (max-width: 768px) {
  .container {
    grid-template-areas:
      "header"
      "content"
      "footer";
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: -280px;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
  }

  .sidebar.open {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .header-content {
    padding: 0 1rem;
  }

  .phone-number {
    display: none;
  }

  .slide-content {
    padding: 0 2rem;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .services-section {
    padding: 3rem 1rem;
  }

  .welcome-section {
    padding: 3rem 1rem;
  }

  .welcome-text h2 {
    font-size: 2rem;
  }

  .stats {
    gap: 2rem;
  }

  .whatsapp-float,
  .phone-float {
    bottom: 1rem;
    left: 1rem;
  }

  .phone-float {
    bottom: 4.5rem;
  }

  .whatsapp-float a,
  .phone-float a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .slide-content h2 {
    font-size: 1.75rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    min-width: 140px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .welcome-text h2 {
    font-size: 1.75rem;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Hizmetler Sayfası Ek Stilleri */

/* Services Page Header */
.services-page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.services-page-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-page-header-content p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Detailed Services Section */
.detailed-services-section {
  padding: 5rem 2rem;
  background: var(--background-color);
}

.detailed-services-content {
  max-width: 1400px;
  margin: 0 auto;
}

.services-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.services-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.services-intro p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 2x3 Grid Layout */
.detailed-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  min-height: 800px;
}

.detailed-service-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.detailed-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.05), transparent);
  transition: left 0.5s ease;
}

.detailed-service-card:hover::before {
  left: 100%;
}

.detailed-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.service-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-description {
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-description p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* Fiyat bölümü stillerini kaldırıyoruz */

/* Yeni avantajlar bölümü stilleri */
.service-advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
}

.advantage-tag {
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-color);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.detailed-service-card:hover .advantage-tag {
  background: var(--primary-color);
  color: white;
}

/* Service Info Section */
.service-info {
  padding: 5rem 2rem;
  background: var(--surface-color);
}

.service-info-content {
  max-width: 1400px;
  margin: 0 auto;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card-item {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.info-card-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.info-card-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service CTA Section */
.service-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
}

.service-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-cta p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design for Services */
@media (max-width: 1024px) {
  .detailed-services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-page-header-content h1 {
    font-size: 2.5rem;
  }

  .services-intro h2 {
    font-size: 2rem;
  }

  .detailed-services-section {
    padding: 3rem 1rem;
  }

  .service-info {
    padding: 3rem 1rem;
  }

  .service-cta {
    padding: 3rem 1rem;
  }

  .detailed-services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .detailed-service-card {
    padding: 1.5rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .services-page-header-content h1 {
    font-size: 2rem;
  }

  .services-intro h2 {
    font-size: 1.75rem;
  }

  .service-cta h2 {
    font-size: 2rem;
  }

  .detailed-service-card {
    padding: 1rem;
  }

  .service-icon-large {
    width: 60px;
    height: 60px;
  }

  .service-header h3 {
    font-size: 1.25rem;
  }

  .info-card-item {
    padding: 1.5rem;
  }
}
/* Hamburger Menu Düzeltmeleri - Bu stilleri style.css dosyanızın sonuna ekleyin */

/* Menu Toggle Button Styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  background: none;
  border: none;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--surface-color);
    box-shadow: var(--shadow-xl);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
  }

  .sidebar.active {
    left: 0;
  }

  /* Header adjustments for mobile */
  .header-content {
    padding: 0 1rem;
    position: relative;
  }

  .phone-number {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  /* Logo adjustments */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo-text {
    font-size: 1.25rem;
  }

  /* Sidebar content styling */
  .sidebar-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
  }

  .sidebar ul {
    padding-top: 1rem;
  }

  .sidebar a {
    padding: 1rem 2rem;
    border-left: 3px solid transparent;
    border-right: none;
    transition: all 0.3s ease;
  }

  .sidebar a:hover,
  .sidebar a.active {
    background-color: rgba(26, 54, 93, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .sidebar {
    width: 250px;
  }

  .container {
    grid-template-columns: 250px 1fr;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .sidebar {
    width: 100%;
    left: -100%;
  }

  .sidebar.active {
    left: 0;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .phone-number {
    display: none;
  }

  .header-contact {
    display: none;
  }
}

/* Smooth transitions for all interactive elements */
.sidebar,
.sidebar-overlay,
.menu-toggle span {
  will-change: transform, opacity;
}

/* Focus states for accessibility */
.menu-toggle:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.sidebar a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .menu-toggle span {
    background-color: currentColor;
  }

  .sidebar {
    border-right: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span,
  .sidebar,
  .sidebar-overlay {
    transition: none;
  }
}
/* Footer Styles */
.footer {
    grid-area: footer;
    background: var(--text-primary);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo-icon {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

/* Mobil için tamamen sabitlenmiş düzen */
@media (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    /* İlk bölüm - Logo tamamen ortalı ve sabit */
    .footer-section:first-child {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section:first-child .logo {
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        gap: 0.6rem;
        width: 100%;
        max-width: 300px; /* Maksimum genişlik */
        position: static; /* Pozisyon sıfırla */
        left: auto;
        right: auto;
        transform: none;
    }
    
    .footer-section:first-child .logo-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .footer-section:first-child .logo-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .footer-section:first-child .logo-text {
        font-size: 1.4rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: visible; /* Taşmayı göster */
        text-overflow: clip; /* Kesme yok */
    }
    
    /* Açıklama metni */
    .footer-section:first-child p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #cbd5e1;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .footer {
        padding: 2rem 0.5rem 1rem; /* Yan padding azalt */
    }
    
    .footer-content {
        gap: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .footer-section:first-child .logo {
        margin-bottom: 0.8rem;
        gap: 0.5rem;
        max-width: 280px;
    }
    
    .footer-section:first-child .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .footer-section:first-child .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .footer-section:first-child .logo-text {
        font-size: 1.2rem;
    }
    
    .footer-section:first-child p {
        font-size: 0.85rem;
        max-width: 280px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}