/* ============================================
   GÜMÜŞLÜK TEKNİK - DARK THEME CSS
   ============================================ */

:root {
  --primary: #18293C;
  --primary-dark: #66BCEE;
  --background: #F2F2F2;
  --surface: #ececf0;
  --surface-light: #5C5C5C;
  --headerFooter: #7c7c7c; /* New color for header and footer */
  --text-primary: #181818;
  --text-secondary: #4e4e4e;
  --text-muted: #A0A0A0;
  --border: #D0D0D0;
  --border-light: #E0E0E0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius: 0.65rem;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 24px rgba(98, 215, 215, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

::selection {
  background-color: var(--primary);
  color: #ffffff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(20px);
  }
  to {
    transform: rotate(360deg) translateX(20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

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

.orbit-dot {
  animation: orbit 3s linear infinite;
}


.phone-icon-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 3rem 0;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--headerFooter);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.phone-icon-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  z-index: 2;
  position: relative;
}

.orbit-container {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 50%;
  top: calc(50% - 2px); /* Center the dot vertically */
  left: calc(50% - 2px); /* Center the dot horizontally */
  transform-origin: 2px 2px; /* Set transform origin to the center of the dot itself */
}

  .phone-number {
    font-size: 0.85rem;
  }

  .phone-number-box {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: bold;
    display: inline-block;
  }

  .phone-number-box a {
    color: #ffffff;
    text-decoration: none;
  }

  .phone-number-box a:hover {
    color: #ffffff;
  }

  @media (max-width: 400px) {
    .phone-number-box {
      padding: 0.3rem 0.6rem; /* Adjust padding for smaller screens */
    }
    .phone-number-box a {
      font-size: 0.8rem; /* Smaller font size for smaller screens */
    }
  }
/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 650px; /* Slightly increased fixed height for the hero section */
  display: flex;
  align-items: center; /* Vertically center the content */
  justify-content: center; /* Horizontally center the content */
  /* background-image: url('1680x1050-dark.jpg'); */ /* Removed static background image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out; /* Smooth transition for image change */
}

.hero::before { /* Use ::before on .hero for the overlay */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem; /* Increased default horizontal padding */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero .container {
    padding: 4rem 2rem; /* Keep consistent padding for larger screens */
  }
}

@media (min-width: 1024px) {
  .hero .container {
    padding: 4rem 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the text within hero-content */
  align-items: center; /* Center horizontally */
  gap: 3rem;
  min-height: unset; /* Remove min-height */
  text-align: center; /* Center text within hero-text */
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero {
    height: 550px; /* Adjusted height for smaller screens */
  }
  .hero .container {
    padding: 5rem 2rem 3rem 2rem; /* Adjusted padding for smaller screens for better readability and to account for sticky header */
  }
  .hero-content {
    gap: 2rem;
  }
  .hero-text h1 {
    font-size: 1.5rem; /* Reduced font size for mobile h1 */
  }
  .hero-text p {
    font-size: 0.9rem; /* Reduced font size for mobile p */
  }

  .services-grid,
  .reviews-container {
    grid-template-columns: 1fr;
  }

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

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

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ============================================
   BUTTON STYLING
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   CARD STYLING
   ============================================ */

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Corrected from var(gap-1) */
  padding: 1.5rem; /* Added padding as requested */
}

.service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border);
  padding: 1.5rem; /* Added padding as requested */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: var(--space-lg);
}

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

.service-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.service-features {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  padding: 0.5rem; /* Added padding inside the service-features box */
}

.feature-tag {
  background-color: var(--primary);
  color: #ffffff; /* Changed to white */
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.625rem; /* Changed to 10pt (0.625rem) */
  font-weight: 500;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text-primary);
}

.star-rating {
  color: var(--warning);
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.reviews-cta {
  text-align: center;
  margin-top: 3rem;
}

.reviews-show-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.reviews-show-more:hover {
  background-color: var(--primary);
  color: var(--background);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--headerFooter);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.district-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.district-link:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
