/* ===============================
   SERVICE LIST - KAROTPLUS
   =============================== */

:root {
  --primary-color: #002b5c;
  --secondary-color: #ffcc00;
  --text-color: #222;
  --light-bg: #f9fafc;
  --shadow-color: rgba(0, 0, 0, 0.15);
}

/* === GENEL === */
.services-section {
  background: var(--light-bg);
  padding: 120px 20px 60px 20px; /* navbar boşluğu ile üst padding */
}

.services-section h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  background: linear-gradient(90deg, #e86717, #0056b3, #00b4d8, #90e0ef, #0056b3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradient 6s ease infinite;
}

/* === GRID === */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* === CARD === */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* === IMAGE === */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* === CARD CONTENT === */
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 16px 20px 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 20px 20px;
  line-height: 1.5;
  flex-grow: 1;
  min-height: 60px;
}

/* BUTTON (Opsiyonel) */
.service-card .btn-view {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card .btn-view:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* TITLE GRADIENT ANIMATION */
@keyframes titleGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .service-card img { height: 160px; }
}

@media (max-width: 768px) {
  .services-section h2 { font-size: 2.4rem; margin-bottom: 40px; }
  .service-card img { height: 140px; }
  .service-card h3 { font-size: 1.2rem; }
}

@media (max-width: 576px) {
  .service-card img { height: 120px; }
  .service-card h3 { font-size: 1.1rem; }
}
/* ============================================
   SECTION DÜZENİ – KAYMA, ÜST ÜSTE BİNME, HARİTA TAŞMA ÇÖZÜLDÜ
============================================ */

.refs-section,
.features-section,
.service-map-section,
.about-section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

/* Referans kartları arkaplanı görünmesin */
.refs-section {
    background: transparent !important;
}

/* Features da arkaplan istemiyorum */
.features-section {
    background: transparent !important;
}

/* Map için fazla boşluk vardı düzeltildi */
.service-map-section {
    padding: 60px 20px 80px 20px;
    background: transparent !important;
}

/* Kartların yukarı yapışması engellendi */
.features-section h2,
.refs-section h2,
.service-map-section h2 {
    margin-bottom: 30px;
}



/* ---------------- REFS SECTION (Premium) ---------------- */

.refs-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.refs-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

/* 3 sabit kart – tam oturur */
.refs-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

.ref-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: all .3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.ref-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.ref-icon img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.ref-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ref-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
}



/* ---------------- RESPONSIVE ---------------- */

@media(max-width: 992px) {
    .refs-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media(max-width: 576px) {
    .refs-wrapper {
        grid-template-columns: 1fr;
    }
}



/* ---------------- FEATURES ---------------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    transition: all .3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-card img {
    width: 70px;
    margin-bottom: 15px;
}


/* ==========================================================
   TÜRKİYE HARİTA KARTI — Premium Beyaz + Mavi Kenarlık
========================================================== */

.service-map-section {
    margin-top: 260px !important;
    margin-bottom: 80px;

    max-width: 1200px;
    padding: 0 20px;

    text-align: center;
    margin-left: auto;
    margin-right: auto; /* → Kart tam ortaya gelir */
}

/* Başlık */
.map-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0047b6;
    margin-bottom: 10px;
}

.map-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 30px;
}

/* === HARİTA KARTI === */
.map-card {
    width: 100%;
    padding: 30px 25px;

    background: #ffffff;
    border-radius: 22px;

    border: 2px solid #c5d8ff;
    box-shadow:
        0 10px 30px rgba(0, 102, 255, 0.12),
        inset 0 0 12px rgba(0, 102, 255, 0.08);

    transition: .3s ease;
}

.map-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px rgba(0, 102, 255, 0.18),
        inset 0 0 14px rgba(0, 102, 255, 0.12);
}

/* === HARİTA ALANI === */
.map-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;

    border-radius: 18px;
    border: 2px solid #b9ccff;

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.06),
        0 6px 16px rgba(0,0,0,0.10),
        0 0 20px rgba(0, 82, 255, 0.10);

    transition: .3s ease;
}

.map-wrapper:hover {
    transform: scale(1.01);
    box-shadow:
        inset 0 0 14px rgba(0, 82, 255, 0.15),
        0 10px 25px rgba(0,0,0,0.12),
        0 0 25px rgba(0, 82, 255, 0.18);
}

/* === Map kendisi === */
#trMap {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}


/* ----------------------------------------------------------
   RESPONSIVE TASARIM — Tablet
----------------------------------------------------------- */
@media (max-width: 992px) {

    .service-map-section {
        padding: 0 25px;
        margin-top: 200px !important;
    }

    .map-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .map-wrapper {
        height: 360px;
    }
}


/* ----------------------------------------------------------
   RESPONSIVE TASARIM — Mobil
----------------------------------------------------------- */
@media (max-width: 576px) {

    .service-map-section {
        padding: 0 18px;  /* → sağ-sol profesyonel boşluk */
        margin-top: 180px !important;
        margin-right:30px;
    }

    .map-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .map-wrapper {
        height: 260px;
        border-radius: 14px;
    }

    .map-title {
        font-size: 1.9rem;
        margin-bottom: 8px;
    }

    .map-subtitle {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }
}




/* ---------------- ABOUT SECTION ---------------- */

.about-content {
    max-width: 850px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-content p {
    color: #444;
    line-height: 1.7;
}



/* ---------------- RESPONSIVE ---------------- */

@media(max-width:768px){
    .hero { height: 55vh; }
    .hero-content h1 { font-size: 2.3rem; }
    .refs-title, .map-title { font-size: 2rem; }
}


/* === SSS BÖLÜMÜ === */
.kp-faq-section {
    padding: 80px 0;
    margin-right:15px;
    margin-left: 15px;
    
}

.kp-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0066d6;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 45px;
}

/* === GRID - 4 - 2 - 1 Düzeni === */
.kp-faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .kp-faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kp-faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* === KART === */
.kp-faq-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 20px;

    transition: 
        transform .9s cubic-bezier(.25,.8,.25,1),
        box-shadow .5s ease;
}

/* === Mobilde kart çok yüksek olmasın === */
@media (max-width: 576px) {
    .kp-faq-card {
        aspect-ratio: 3 / 2; /* Daha az dikey, çok daha iyi görünür */
    }
}

/* Hover animasyonu */
.kp-faq-card:hover {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 22px 55px rgba(0,0,0,0.18);
}

/* === FACE BASE === */
.kp-card-face {
    position: absolute;
    inset: 0;
    padding: 26px;
    border-radius: 20px;
    backface-visibility: hidden;
    text-align: center;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1.7px solid rgba(0, 115, 255, 0.35);

    box-shadow:
        0 8px 26px rgba(0,0,0,0.12),
        inset 0 0 18px rgba(255,255,255,0.4);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* === FRONT === */
.kp-card-front {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0041a8;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.65),
        rgba(230,240,255,0.40)
    );
}

/* === BACK === */
.kp-card-back {
    transform: rotateY(180deg);
    font-size: 1rem;
    line-height: 1.55;
    color: #1a1a1a;
}

/* === Hover Neon Soft Glow === */
.kp-faq-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #1fa2ff, #12d8fa, #a6ffcb);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.kp-faq-card:hover::before {
    opacity: 0.45;
    mix-blend-mode: overlay;
}

/* Desktop için hafif boşluk */
.kp-faq-grid {
    padding: 0 12px;
}

/* Tablet (medium ekran) için daha belirgin boşluk */
@media (max-width: 992px) {
    .kp-faq-grid {
        padding: 0 16px;
    }
}

/* Mobil için tam oturmuş boşluk */
@media (max-width: 576px) {
    .kp-faq-grid {
        padding: 0 18px; /* Mobilde nefes alan boşluk */
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   GLOBAL — Mavi Kenarlıklı Premium Kart Tema
   (SSS tasarımı ile birebir aynı)
========================================================== */

:root {
  --card-bg: #ffffff;
  --card-border: #c5d8ff;
  --card-shadow: 0 8px 22px rgba(0, 102, 255, 0.12);
  --card-hover-border: #6aa8ff;
  --title-blue: #0047b6;
}


/* ==========================================================
   1 — UZMAN KADROMUZ (3'lü grid – soft blue card)
========================================================== */

.team-section {
  margin: 80px auto;
  padding: 40px 20px;
  max-width: 1200px;
  text-align: center;
}

.team-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--title-blue);
  margin-bottom: 5px;
}

.team-subtitle {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 35px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media(max-width: 992px){
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 600px){
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  background: var(--card-bg);
  padding: 25px 20px;
  border-radius: 20px;
  border: 2px solid var(--card-border);

  box-shadow: var(--card-shadow);

  transition: 0.25s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.18);
}

/* Fotoğraf */
.team-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--card-border);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--title-blue);
  margin-bottom: 5px;
}

.team-card .role {
  font-size: 0.95rem;
  color: #1b3f73;
  font-weight: 600;
}

.team-card .exp {
  font-size: 0.85rem;
  color: #1456e7;
  font-weight: 700;
  margin-top: 6px;
}


/* ==========================================================
   SERTİFİKA BÖLÜMÜ – ÇAKIŞMA DÜZELTİLDİ (KESİN ÇÖZÜM)
========================================================== */

/* Container fazla padding veriyordu → sıfırladım */
.cert-section .container {
    padding: 0 !important;
    margin: 0 auto;
    max-width: 1200px !important;
}

/* Sertifika genel kutu */
.cert-section {
    margin: 80px auto 70px auto;
    padding: 40px 25px;
    max-width: 1250px;
    background: #fff;
    border-radius: 22px;
    border: 2px solid #c5d8ff;
    box-shadow: 0 6px 22px rgba(0, 82, 255, 0.12);
    position: relative;
    z-index: 10;
}

/* →→→ MOBİL & TABLETTE SAĞ-SOL BOŞLUK EKLENDİ (EN KRİTİK KISIM) */
@media(max-width: 992px) {
    .cert-section {
        margin-left: 15px;
        margin-right: 15px;
        padding: 35px 25px;
    }
}

@media(max-width: 576px) {
    .cert-section {
        margin-left: 12px;
        margin-right: 12px;
        padding: 30px 18px;
    }
}

/* Başlık */
.cert-title {
    color: #0047b6;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.cert-subtitle {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.05rem;
}

/* GRID düzeltilmiş */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media(max-width: 1200px){
    .cert-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width: 768px){
    .cert-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 500px){
    .cert-grid { grid-template-columns: 1fr; }
}

/* Kartlar eşit yükseklik */
.cert-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #c5d8ff;
    box-shadow: 0 5px 18px rgba(0, 82, 255, 0.10);
    transition: 0.25s ease;

    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cert-card:hover {
    border-color: #6aa8ff;
    transform: translateY(-5px);
}

.cert-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
}

.cert-card h3 {
    color: #0047b6;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

/* ==========================================================
   İSTATİSTİKLER — Masaüstü düzeni
========================================================== */

.stats {
    width: 100%;
    max-width: 1200px;
    margin: 90px auto 80px auto;

    background: #ffffff;
    border-radius: 22px;
    border: 2px solid #c5d8ff;
    box-shadow: 0 6px 22px rgba(0, 82, 255, 0.12);

    padding: 45px 30px;
    box-sizing: border-box;
}

/* Masaüstü: 3’lü grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: 100%;
    margin: 0;
}

/* Kart tasarımı (ortak) */
.stat-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 10px;
    text-align: center;

    border: 2px solid #c5d8ff;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.10);

    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    border-color: #6aa8ff;
}

.stat-item h3 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0047b6;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}


/* ==========================================================
   TABLET (≤ 992px) — 2’li grid + yan boşluk
========================================================== */
@media (max-width: 992px) {

    .stats {
        max-width: 100%;
        margin: 70px 20px 70px 20px;
        padding: 40px 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}


/* ==========================================================
   MOBİL (≤ 600px) — Dış kartı KALDIR, 3 kartı tek tek göster
========================================================== */
@media (max-width: 600px) {

    /* Dıştaki büyük kutuyu şeffaflaştır, borduru & gölgeyi kaldır */
    .stats {
        max-width: 100%;
        margin: 60px 0 60px 0;
        padding: 0 16px 40px 16px;

        background: transparent;
        border: none;
        box-shadow: none;
    }

    /* 3 kart tamamen dikey, full genişlik */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        margin: 0;
    }

    .stat-item {
        height: auto;
        min-height: 130px;
        padding: 20px 14px;
    }

    .stat-item h3 {
        font-size: 2.1rem;
        margin-bottom: 8px;
    }

    .stat-item p {
        font-size: 1rem;
    }
}
