.page-content {
  opacity: 0;
  transform: translateX(-50px); /* 50px sola kaydır */
  transition: all 0.8s ease-out;
}

.page-content.active {
  opacity: 1;
  transform: translateX(0);
}

:root{
  --bg-light: #EFEFEF;
  --bg-panel: #D8D8D8;
  --dark: #111111;
  --yellow: #FFCC00;
  --orange: #FF6A00;
  --brown: #4D2E0F;
  --text: #111111;
}

*{box-sizing:border-box}
body{margin:0;background:var(--bg-light);font-family:Arial,Helvetica,sans-serif;color:var(--text);}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: var(--bg-light);
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  background-repeat: repeat;
}

.container{max-width:1200px;margin:0 auto;padding:24px}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #42464d;
  color: white;

  max-width: 1200px;  /* içerik ile aynı genişlik */
  margin: 0 auto;     /* ortala */
  width: 100%;

  border-radius: 12px;  /* köşeleri yuvarla */
}
.header img{height:90px}
.nav a{color:white;margin:0 14px;text-decoration:none;font-weight:600}
.nav a:hover{color:var(--yellow)}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  /* Arka plan görseli */
  background-image: url('assets/bgimage.png'); /* kendi görsel yolunu yaz */
  background-size: cover;       /* görsel tüm alanı kaplasın */
  background-position: center;  /* ortalı */
  background-repeat: no-repeat;

  /* Yazının okunması için üstte biraz boşluk bırak */
  padding: 60px 24px;
  border-radius: 16px;          /* opsiyonel: hero da yuvarlak köşe */
  color: white;                  /* yazı beyaz olsun, daha okunaklı */
  position: relative;
}

/* Opsiyonel: görselin üzerine hafif karartma ekleyip yazıyı okunaklı yap */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25); /* yarı şeffaf siyah overlay */
  border-radius: 16px;          /* hero ile aynı köşe */
  z-index: 0;
}

.hero > div {
  position: relative;  /* yazıyı overlay’in üstünde tutar */
  z-index: 1;
}


.panel{background:var(--bg-panel);padding:20px;border-radius:12px}
.input{width:100%;padding:10px;border:1px solid #aaa;border-radius:8px;margin-bottom:12px}

.btn{padding:12px 18px;border-radius:8px;font-weight:700;cursor:pointer;border:0}
.btn-primary{background:var(--yellow);color:var(--dark)}
.btn-primary:hover{background:var(--orange);color:white}

.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:40px 0}
.card{background:var(--bg-panel);padding:20px;border-radius:12px;border:1px solid #ccc}
.card h3{margin-top:0;color:var(--dark)}

.features{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.feature-list{background:var(--bg-panel);padding:20px;border-radius:12px;border:1px solid #ccc}

.pricing{display:flex;gap:20px;margin:40px 0;}
.price{flex:1;background:white;border-radius:12px;padding:20px;border:1px solid #ccc;text-align:left}
.price .amount{font-size:28px;color:var(--brown)}

.footer {
  max-width: 1200px;       /* içerik genişliği ile aynı */
  margin: 0 auto;          /* ortala */
  padding: 36px 24px;
  background: #42464d; /* siyah bant sadece container kadar */
  color: white;
  text-align: center;
  border-radius: 12px;     /* istersen hafif köşe yumuşatma */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-top { 
  font-weight: 700;
  color: var(--yellow);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.footer-links a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { color: var(--orange); }
.footer-links .sep { color: rgba(255,255,255,0.28); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.map-container {
  width: 100%;
  max-width: 1200px;  /* içerik genişliğiyle uyumlu */
  height: 450px;
  margin: 20px auto;
  border-radius: 12px; /* yuvarlatılmış köşe */
  overflow: hidden;
}

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

/* Contact panel - site container ile uyumlu */
.contact-panel {
  background: var(--bg-panel);        /* gri balon */
  padding: 36px 24px;
  border-radius: 16px;
  max-width: 1200px;                  /* site container ile aynı maksimum genişlik */
  width: 100%;                         /* tüm genişliği kaplasın, padding ile içerik içerde kalsın */
  box-sizing: border-box;
  margin: 40px auto;                   /* ortala */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* hafif gölge */
  border:1px solid #ccc;
}

.contact-panel h2,
.contact-panel p {
  color: var(--text);
  text-align: center;
  margin: 12px 0;
}

/* Map container responsive */
.contact-panel .map-container {
  width: 100%;
  height: 450px;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
}

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

/* Responsive küçük ekran */
@media (max-width: 960px) {
  .contact-panel {
    padding: 24px 16px;
  }
}