.cta-button,
.phone-number {
  font-weight: 700;
  -webkit-text-fill-color: var(--light-color);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.cta-button,
.hero-phone,
.phone-number {
  -webkit-tap-highlight-color: transparent;
}
.cta-button,
.nav-container a,
.nav-link,
.phone-number,
a[href^="tel"] {
  text-decoration: none;
}
.hero-phone,
.logo h1,
.nav-link,
.phone-number,
footer {
  color: var(--light-color);
}
.cta-button,
.header {
  background-color: var(--primary-color);
}
:root {
  --primary-color: #dc2626;
  --secondary-color: #991b1b;
  --light-color: #ffffff;
  --dark-color: #370617;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Poppins, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
.header {
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 60px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo,
.phone-number {
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.logo-img {
  width: 40px;
  height: 40px;
}
.logo h1 {
  font-size: 1.5rem;
}
.phone-number {
  color: var(--light-color) !important;
  font-size: 1.2rem;
}
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/banner.webp");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: 60px;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.about,
.container,
.footer-content,
.service-grid {
  max-width: 1200px;
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.cta-button {
  display: inline-block;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  margin-top: 2rem;
  transition: background-color 0.3s;
}
.hero-phone,
a[href^="tel"] {
  color: var(--light-color);
  -webkit-text-fill-color: var(--light-color);
}
.cta-button:hover {
  background-color: #c1121f;
}
.container {
  margin: 0 auto;
}
.services {
  padding: 1rem 0.5rem;
  background-color: var(--light-color);
}
.services-title {
  margin-top: 16px;
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  align-items: stretch;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background-color: transparent;
  transition: transform 0.3s;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card h3 {
  padding: 1rem;
  font-size: 1.5rem;
}
.service-card p {
  padding: 1rem;
  min-height: 120px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.about {
  padding: 4rem 0;
}
footer {
  background-color: var(--secondary-color);
  padding: 3rem 2rem;
}
.footer-content {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
html {
  scroll-behavior: smooth;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-weight: 500;
  transition: opacity 0.3s;
}
.nav-link:hover {
  opacity: 0.8;
}
.hero-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}
.whatsapp-button img {
  width: 24px;
  height: 24px;
}
.whatsapp-button span {
  font-weight: 500;
  font-size: 0.9rem;
}
.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
  .header {
    height: 50px;
  }
  .hero {
    margin-top: 50px;
  }
  .hero h2 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }
  .nav-container {
    flex-direction: row;
    padding: 0 0.5rem;
    gap: 0.5rem;
  }
  .logo h1,
  .phone-number {
    font-size: 1rem;
    text-wrap: nowrap;
  }
  .logo-img {
    width: 30px;
    height: 30px;
  }
  .services-title {
    margin-left: 1rem;
    text-align: center;
  }
  .service-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .service-card {
    margin: 0 auto;
    max-width: 100%;
  }
  .service-card img {
    height: 300px;
  }
  .about {
    margin: 0 1.5rem;
    padding: 2rem 0;
  }
  .about p {
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
  }
  .nav-links {
    display: none;
  }
  .hero-phone {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }
  .whatsapp-button {
    bottom: 16px;
    right: 16px;
    padding: 8px 16px;
  }
  .whatsapp-button span {
    font-size: 0.8rem;
  }
  .whatsapp-button img {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 767px) and (max-width: 1023px) {
  .nav-links {
    display: none;
  }
}
@media (min-width: 767px) and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }
  .services-title {
    text-align: center;
    margin-left: 0;
  }
  .about {
    margin: 0 2rem;
  }
}

/* Telefon numarası stillerini birleştirelim ve Safari için özel stiller ekleyelim */
.phone-number,
.hero-phone .phone-number,
a[href^="tel"],
.footer-content p {
  color: var(--light-color) !important;
  -webkit-text-fill-color: var(--light-color) !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Safari için format algılamayı devre dışı bırak */
*[x-apple-data-detectors],  /* iOS için */
.phone-number {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Footer'daki telefon numarası için */
.footer-content .contact p {
  color: var(--light-color) !important;
  -webkit-text-fill-color: var(--light-color) !important;
  text-decoration: none !important;
}
