/* ==================== FONT ==================== */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins.woff2') format('woff2');
  font-display: swap;
}

/* ==================== GENEL STİLLER ==================== */
footer {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}

footer a i {
  font-size: 1.5rem;
  margin-right: 10px;
}

footer .nav-link {
  font-size: 1.1rem;
}

footer img {
  width: 4rem;
  height: auto;
}

/* ==================== WHATSAPP BUTONU ==================== */
#whatsapp-button {
  position: fixed;
  right: 25px;
  bottom: 50px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 34px;
  text-align: center;
  line-height: 70px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#whatsapp-button:hover {
  transform: scale(1.1);
  text-decoration: none;
}

/* ==================== İLETİŞİM KARTI ==================== */
.info-box {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-box h3 {
  color: #007bff;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 1.4rem;
}

/* ==================== SOSYAL MEDYA ==================== */
.social-media {
  margin-top: 30px;
}

.social-media h4 {
  margin-bottom: 15px;
  color: #343a40;
}

.social-media a {
  font-size: 2.5rem;
  margin-right: 25px;
  color: #495057;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #007bff;
}

/* ==================== GOOGLE MAPS ==================== */
.map-container {
  margin-top: 40px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==================== CAROUSEL ==================== */
.carousel-inner img {
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  top: 15%;
  bottom: auto;
  transform: translateY(0);
}

.carousel-caption h2,
.carousel-caption p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ==================== LOGO ==================== */
.logo-img {
  height: 60px;
  width: auto;
}

/* ==================== HİZMET KUTULARI ==================== */
.service-box {
  border: 1px solid #5bc0de;
  border-radius: 15px;
  padding: 25px 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  height: 100%;
  text-align: center;
}

.service-box:hover {
  transform: scale(1.03);
}

.service-box i {
  color: #5bc0de;
  margin-bottom: 15px;
}

/* ==================== İLETİŞİM VE SOSYAL KARTLAR ==================== */
.contact-card {
  border: 2px solid #add8e6;
  border-radius: 10px;
  padding: 30px;
  font-size: 1.3rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact-card h3, .contact-card h4 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-card i {
  font-size: 2rem;
  margin-right: 15px;
  color: #333;
}

.contact-card a {
  color: #007bff;
  text-decoration: none;
  font-size: 1.3rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ==================== HAKKIMIZDA ==================== */
.about-section {
  padding: 60px 0;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 30px;
}

.about-section p {
  font-size: 1.2rem;
  color: #333;
}

.highlight {
  font-weight: bold;
  color: #0056b3;
}

.active-link {
  color: #007bff !important;
  font-weight: bold;
  border-bottom: 2px solid #007bff;
}

/* ==================== NAVBAR ==================== */
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  footer .nav-link {
    font-size: 1rem;
  }

  .info-box p {
    font-size: 1.2rem;
  }

  .service-box {
    padding: 20px 10px;
  }

  .social-media a {
    font-size: 2rem;
    margin-right: 20px;
  }

  .contact-card {
    padding: 20px;
    font-size: 1.2rem;
  }

  .contact-card h3, .contact-card h4 {
    font-size: 1.5rem;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  footer img {
    width: 3rem;
  }

  .info-box p {
    font-size: 1rem;
  }

  .service-box {
    padding: 10px 5px;
  }

  .service-box h5 {
    font-size: 1.2rem;
  }

  .service-box p {
    font-size: 1rem;
  }

  .service-box i {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .social-media a {
    font-size: 1.8rem;
    margin-right: 15px;
  }

  .contact-card {
    padding: 20px;
    font-size: 1.1rem;
  }

  .carousel-inner img {
    height: 300px;
  }

  #whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 28px;
    line-height: 55px;
    bottom: 30px;
  }

  .carousel-caption {
    top: 25%;
  }

  .carousel-caption h2 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  footer .row {
    flex-direction: column;
    text-align: center;
  }

  footer .col-md-4 {
    margin-bottom: 20px;
  }

  footer .d-flex {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  footer .nav-link {
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .about-section h2 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 1rem;
  }

  .map-container {
    height: 250px;
  }

  .service-box {
    padding: 15px 5px;
  }

  .service-box h5 {
    font-size: 1rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }

  .service-box i {
    font-size: 1.5rem;
  }

  .social-media a {
    font-size: 1.5rem;
    margin-right: 10px;
  }

  .carousel-caption {
    top: 20%;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .nav {
    flex-direction: column !important;
    align-items: center !important;
  }

  .nav li {
    margin-bottom: 10px;
  }

  #whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    bottom: 20px;
    right: 15px;
  }
}
