.service-item a,
.service-item h4,
.service-item p {
  text-decoration: none !important;
  color: inherit !important;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f6ece5;
  color: #222;
}

/* HERO (tam responsive, taşma yok) */
.hero {
  position: relative;
  width: 100%;
  background: url('../images/hero_banner.jpg') center/cover no-repeat;
  padding: 0px 0 0px;   /* üst-alt boşluk, yüksekliği içerik belirler */
  text-align: center;
}

/* Logo her zaman ortada ve responsive */
.hero-logo {
  display: block;
  margin: 0 auto;
  width: 60vw;           /* ekranın %60’ı kadar */
  max-width: 420px;      /* ama 420px’i geçmesin */
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  animation: fadeIn 1.5s ease;
}

/* Küçük ekranlarda logo biraz daha küçülsün */
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 40px;
  }

  .hero-logo {
    width: 70vw;
    max-width: 320px;
  }
}


@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


.hero-title {
  font-size: 5em;
  color: #fff;
  text-transform:
  letter-spacing: 3px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  padding: 10px 25px;
  border-radius: 8px;
}


/* ABOUT US */
section.about {
  padding: 0px 10% 100px; /* alt padding'i 100’den 30’a düşürdük */
  text-align: center;
  background-color: #f6ece5;
  color: #333;
}

section.about h2 {
  font-size: 2.5em;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #c79a74;
}

section.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25em; /* büyütüldü */
  line-height: 1.8em;
  color: #444;
}

/* WHAT WE OFFER */
section.services {
  padding: 0px 10% 80px; /* üst boşluğu azaltmak için 80'den 50'ye çektik */
  text-align: center;
}

section.services h2 {
  font-size: 2.5em;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #c79a74; /* About Us başlığıyla aynı renk */
}

section.services h3 {
  font-size: 1.8em;
  margin-top: 0;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-item h4 {
  margin: 18px 0 10px;
  font-size: 1.2em;
  font-weight: bold;
}

.service-item p {
  font-size: 0.95em;
  padding: 0 15px 25px;
  color: #555;
}

/* FOOTER */
footer {
  background-color: #f6ece5;
  border-top: 1px solid #cbb7a5;
  padding: 50px 20px;
  text-align: center;
}

footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}

.footer-logo img.footer-img {
  max-width: 220px;
  margin: 20px auto;
  display: block;
}

.footer-socials a {
  color: #000;
  font-size: 1.4em;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #c79a74;
}

/* --- POPUP OVERLAY (tam ortalı & responsive) --- */
.popup-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);

  display: none;
  justify-content: center;
  align-items: center;

  padding: 20px;
  z-index: 9999;
}

/* Açık olduğunda */
.popup-overlay.active {
  display: flex !important;
}

/* --- POPUP BOX --- */
.popup-box {
  background: #f6ece5;
  padding: 20px 20px 30px;
  border-radius: 14px;

  width: 90%;
  max-width: 480px;          /* responsive ideal genişlik */
  max-height: 85vh;          /* dikeyde taşmayı engeller */
  overflow-y: auto;          /* içerik taşınca scroll açılır */
  -webkit-overflow-scrolling: touch;

  position: relative;
  margin: auto;
  box-sizing: border-box;

  animation: popIn 0.25s ease-out;
}

/* --- RESİM (tam görünür, kırpma yok) --- */
.popup-img {
  width: 100%;
  height: auto;
  max-height: 45vh;          /* yazıya daha fazla yer açar */
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* --- BAŞLIK --- */
.popup-box h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  text-align: center;
  color: #c79a74;
}

/* --- METİN --- */
.popup-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
  margin-bottom: 20px;
}

/* --- CLOSE BUTTON (her zaman sabit!) --- */
.close-btn {
  position: sticky;
  top: 0px;
  float: right;

  font-size: 3.4rem;
  font-weight: 700;
  color: #ff3333;
  cursor: pointer;

  z-index: 10;
  margin-right: 5px;
  margin-top: -30px;

  transition: 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.15);
}


.close-btn:hover {
  transform: scale(1.15);
}

/* --- ANİMASYON --- */
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

