/* ============================================================
   Premium VIP Eğitim Kurumları - Mobile-First Responsive Stiller
   Test Genişlikleri: 320px, 360px, 375px, 390px, 412px, 430px, 768px, 1024px+
   ============================================================ */

/* Genel Taşma ve Düzen Önleyiciler */
.container, .hero-content, .hero-grid, .form-card, .system-card, .feature-box {
  min-width: 0;
}

/* ============================================================
   TABLET & KÜÇÜK MASAÜSTÜ (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 36px;
  }
  
  .hero-image-card {
    max-width: 380px;
  }
  
  .hero-image-card img {
    height: 420px;
  }
  
  .floating-badge.badge-top-left {
    left: -10px;
  }
  
  .floating-badge.badge-bottom-right {
    right: -10px;
  }
  
  .systems-grid, .features-grid, .announcements-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* ============================================================
   TABLET PORTRAIT & MOBİL MENÜ GEÇİŞİ (max-width: 991px)
   ============================================================ */
@media (max-width: 991px) {
  .top-bar {
    display: none; /* Mobilde dikey alanı rahatlatmak için */
  }
  
  .main-nav, .header-actions .btn-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .site-header .container {
    height: 76px;
  }
  
  .header-logo {
    height: 56px;
    max-height: 56px;
  }
  
  .hero-section {
    padding: 45px 0 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }
  
  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .hero-blob {
    max-width: 340px;
    height: 340px;
  }
  
  .hero-image-card {
    max-width: 340px;
    margin: 0 auto;
  }
  
  .hero-image-card img {
    height: 380px;
  }
  
  .exam-banner-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }
  
  .exam-info-list {
    justify-content: center;
  }
  
  .exam-banner-action {
    display: flex;
    justify-content: center;
  }
}

/* ============================================================
   STANDART TELEFONLAR (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .section-padding {
    padding: 55px 0;
  }
  
  .section-header {
    margin-bottom: 34px;
  }
  
  /* Masaüstü dikey floating bar gizlenir, mobil alt bar açılır */
  .floating-contact-bar {
    display: none;
  }
  
  .mobile-bottom-bar {
    display: block;
  }
  
  .btn {
    width: 100%;
    padding: 13px 20px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .floating-badge {
    padding: 8px 12px;
    gap: 8px;
  }
  
  .badge-icon-box {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .badge-info h4 {
    font-size: 0.95rem;
  }
  
  .floating-badge.badge-top-left {
    top: 15px;
    left: 5px;
  }
  
  .floating-badge.badge-bottom-right {
    bottom: 15px;
    right: 5px;
  }
  
  .systems-grid, .features-grid, .announcements-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .system-card {
    padding: 28px 22px;
  }
  
  .form-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .cta-band {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }
  
  .cta-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons-wrap .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 35px;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ============================================================
   KÜÇÜK VE DAR TELEFONLAR (max-width: 480px, 430px, 390px, 375px)
   ============================================================ */
@media (max-width: 480px) {
  .site-header .container {
    height: 68px;
  }
  
  .header-logo {
    height: 50px;
    max-height: 50px;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-image-card {
    max-width: 290px;
  }
  
  .hero-image-card img {
    height: 330px;
  }
  
  .hero-blob {
    max-width: 280px;
    height: 280px;
  }
  
  .exam-banner-card {
    padding: 28px 16px;
  }
  
  .exam-info-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .exam-info-item {
    width: 100%;
    justify-content: center;
  }
  
  .mobile-drawer {
    width: 275px;
    max-width: 85%;
  }
}

/* ============================================================
   MİNİMUM VE EN KÜÇÜK TELEFONLAR (max-width: 360px & 320px)
   ============================================================ */
@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .header-logo {
    height: 44px;
    max-height: 44px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.925rem;
  }
  
  .hero-image-card {
    max-width: 260px;
  }
  
  .hero-image-card img {
    height: 290px;
  }
  
  .floating-badge {
    position: static;
    margin: 8px auto;
    width: 90%;
    justify-content: center;
  }
  
  .hero-visual-wrap {
    flex-direction: column;
    align-items: center;
  }
  
  .system-card h3 {
    font-size: 1.15rem;
  }
  
  .mobile-bottom-bar {
    padding: 8px 10px;
  }
  
  .mobile-bar-btn {
    font-size: 0.75rem;
    padding: 8px 4px;
  }
}
