/* ================================
   GENEL AYARLAR
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f7f7f7;
    color: #333;
    overflow-x: hidden;
}

/* ================================
   NAVBAR
================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.logo img {
    width: 150px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links .active {
    color: #ff4b4b;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ================================
   HERO (İNCE BANNER)
================================ */
.hero {
    margin-top: 70px;
    width: 100%;
    height: 220px; /* 👈 desktop ince */
    background: url("assets/img/banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.hero-content p {
    font-size: 14px;
}

.hero-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 26px;
    background: #ff4b4b;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #d83a3a;
}

/* ================================
   ANA SAYFA KARTLARI
================================ */
.cards {
    width: 90%;
    max-width: 1300px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ================================
   FOOTER
================================ */
.footer {
    text-align: center;
    padding: 25px 0;
    background: #fff;
    margin-top: 40px;
    border-top: 1px solid #eee;
    color: #666;
}

/* ================================
   WHATSAPP
================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}
/* LINK ALT ÇİZGİ TAM KAPATMA */
a,
a:visited,
a:hover,
a:active {
    text-decoration: none !important;
}
/* ================================
   ORTAK LINK FIX
================================ */
a, a:visited, a:hover, a:active { text-decoration: none; }
a { color: inherit; }

/* ================================
   SAYFA BAŞLIĞI
================================ */
.page-header{
  text-align:center;
  padding:50px 20px;
  background:#fff;
  margin:30px 0;
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}
.page-header h1, .page-header h2{ font-size:32px; margin-bottom:10px; }
.page-header p{ color:#666; }

/* ================================
   ÇOCUK ETKİNLİKLERİ KART GRID
================================ */
.services{
  width:90%;
  max-width:1300px;
  margin:0 auto 40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}
.service-card{
  background:#fff;
  padding:15px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  transition:.3s;
  display:block;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:0 10px 22px rgba(0,0,0,0.12); }
.service-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:12px;
}
.service-card h3{ font-size:20px; margin-bottom:6px; }
.service-card p{ color:#555; line-height:1.5; }

/* ================================
   DETAY SAYFALARI BANNER (palyaco/devbaloncuk/sihirbaz vs.)
================================ */
.banner{
  margin-top:70px;             /* navbar fixed olduğu için */
  position:relative;
  width:100%;
  height:340px;
  overflow:hidden;
}
.banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
}
.banner-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  color:#fff;
  z-index:2;
  width:min(900px, 92%);
  text-shadow:0 2px 10px rgba(0,0,0,0.45);
}
.banner-text h1{ font-size:44px; margin-bottom:8px; }
.banner-text p{ font-size:16px; opacity:.95; }

/* ================================
   HİZMET DETAY İÇERİK
================================ */
.service-detail-section{ padding:50px 20px; }
.service-detail-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  gap:40px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.detail-image-box{
  flex:1;
  min-width:280px;
}
.detail-image-box img{
  width:100%;
  max-height:520px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}
.detail-text-box{
  flex:1.1;
  min-width:300px;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:34px 30px;
  line-height:1.8;
}
.detail-text-box h2{ font-size:28px; margin-bottom:12px; }
.detail-text-box h3{ margin-top:16px; }
.detail-btn{
  display:inline-block;
  margin-top:18px;
  padding:12px 26px;
  background:#ff4b4b;
  color:#fff;
  border-radius:30px;
  font-weight:600;
  transition:.25s;
}
.detail-btn:hover{ background:#d83a3a; transform:translateY(-1px); }
.logo img:hover {
    transform: rotate(12deg) scale(1.05);
}
/* HİZMETLERİMİZ ALT MENÜ */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 15px;
    transition: 0.2s;
}

.submenu a:hover {
    background: #f5f5f5;
    color: #ff4b4b;
}

/* Hover ile açılma */
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================================
   İLETİŞİM SAYFASI
================================ */
.contact-hero{
  margin-top:70px;
  min-height:320px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:60px 20px;
  background:url("assets/img/banner.png") center/cover no-repeat;
  color:#fff;
  position:relative;
}
.contact-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
}

.contact-hero h1, .contact-hero p{ position:relative; z-index:2; }
.contact-hero h1{ font-size:38px; }
.contact-hero p{ margin-top:8px; font-size:16px; opacity:.95; }

.contact-container{
  display:flex;
  justify-content:center;
  gap:25px;
  padding:40px 20px;
  flex-wrap:wrap;
}
.contact-item{
  width:260px;
  text-align:center;
  background:#fff;
  padding:25px;
  border-radius:15px;
  box-shadow:0 0 10px rgba(0,0,0,0.08);
  transition:.25s;
}
.contact-item:hover{ transform:translateY(-5px); }
.contact-item img{ width:50px; margin-bottom:12px; }

.map-box{
  margin:20px auto;
  max-width:900px;
  border-radius:12px;
  overflow:hidden;
}

/* ================================
   HAKKIMIZDA
================================ */
.about-section{
  margin-top:70px;
  display:flex;
  min-height:80vh;
  background:#f5f5f5;
}
.about-image{ width:50%; }
.about-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.about-content{
  width:50%;
  background:#fff;
  padding:70px 60px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.about-content h1{ font-size:40px; margin-bottom:18px; }
.about-content p{ font-size:16px; line-height:1.85; color:#444; margin-bottom:14px; }
/* LOGO 360 DERECE DÖNME */
.logo img {
    transition: transform 0.7s ease;
}

.logo img:hover {
    transform: rotate(360deg);
}
/* INSTAGRAM ICON */
.insta-icon img {
    width: 26px;
    margin-left: 15px;
    transition: 0.3s;
}

.insta-icon img:hover {
    transform: scale(1.15) rotate(5deg);
}
/* INSTAGRAM SECTION */
.instagram-section {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.instagram-section h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.instagram-section p {
    color: #888;
    margin-bottom: 30px;
}

/* GRID */
.instagram-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.instagram-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s;
}

.instagram-grid img:hover {
    transform: scale(1.05);
}
/* INSTAGRAM MENÜ İKONU */
.insta-menu img {
    width: 22px;
    margin-left: 10px;
    vertical-align: middle;
    transition: 0.3s;
}

.insta-menu img:hover {
    transform: scale(1.15) rotate(8deg);
}
.why-us {
    max-width: 1200px;
    margin: 60px auto;   /* ORTALAR */
    padding: 0 20px;
    text-align: center; /* YAZI ORTALI */
    
}
.why-us li {
    list-style: none;
}


/* ================================
   RESPONSIVE TOPARLAMA
================================ */
@media (max-width: 768px) {
    .insta-menu {
        margin-top: 10px;
    }
}

@media (max-width: 900px){
  .about-section{ flex-direction:column; }
  .about-image, .about-content{ width:100%; }
  .about-image{ height:300px; }
  .about-content{ padding:40px 22px; }
  .about-content h1{ font-size:30px; }
}
@media (max-width: 768px) {
    .submenu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #fafafa;
        border-radius: 0;
    }

    .has-submenu.active .submenu {
        display: block;
    }
}

@media (max-width: 768px){
  .banner{ height:220px; }
  .banner-text h1{ font-size:26px; }
  .banner-text p{ font-size:14px; }

  .service-card img{ height:180px; }
  .detail-image-box img{ max-height:360px; }

  .contact-hero{ min-height:260px; padding:50px 16px; }
  .contact-hero h1{ font-size:28px; }
}

/* ================================
   MOBİL
================================ */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        height: 140px; /* 👈 mobil ultra ince */
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .card img {
        height: 180px;
    }
    
}
