/* ============================================================
   KALPTEN ORGANİZASYON - Responsive Stiller
   ============================================================ */

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem;
    --container-padding: 1.25rem;
  }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* Navbar */
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-lg);
    transition: right var(--transition-slow);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
    z-index: 1;
  }

  .navbar__menu.active { right: 0; }

  .navbar__link {
    font-size: var(--text-lg);
    width: 100%;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  }

  .navbar__link::after { display: none; }

  .navbar__cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
  }

  .navbar__cta .btn { width: 100%; }

  .navbar__toggle { display: flex; }

  /* Mobile menu overlay */
  .navbar__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }
  .navbar__overlay.active { display: block; }

  /* Hero */
  .hero { min-height: 500px; max-height: 800px; }
  .hero__title { max-width: 100%; }
  .hero__nav-btn--prev { left: var(--space-md); }
  .hero__nav-btn--next { right: var(--space-md); }
  .hero__scroll { display: none; }

  /* Service Detail */
  .service-detail__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .service-detail__features {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  /* Related Services */
  .related-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Package Cards */
  .package-card {
    padding: var(--space-xl);
  }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
  }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }

  /* Navbar */
  .navbar { padding: var(--space-md) 0; }
  .navbar--scrolled { padding: var(--space-sm) 0; }
  .navbar__logo-text { font-size: var(--text-lg); }

  /* Hero */
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    max-height: none;
  }

  .hero__content {
    justify-content: flex-end;
    padding-bottom: 100px;
  }

  .hero__label { font-size: var(--text-xs); margin-bottom: var(--space-md); }
  .hero__subtitle { font-size: var(--text-base); margin-bottom: var(--space-xl); }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__nav-btn { width: 40px; height: 40px; }
  .hero__dots { bottom: 80px; }

  /* Cards */
  .card__content { padding: var(--space-md); }

  /* Form */
  .form__row { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .gallery__filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery__filters::-webkit-scrollbar { display: none; }
  .gallery__filter-btn { flex-shrink: 0; }

  /* Lightbox */
  .lightbox__nav--prev { left: var(--space-sm); }
  .lightbox__nav--next { right: var(--space-sm); }
  .lightbox__close { top: var(--space-md); right: var(--space-md); }

  /* Reviews */
  .review-card { flex: 0 0 300px; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Related services */
  .related-services__grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Bar */
  .mobile-bar { display: block; }
  .whatsapp-float { bottom: 80px; right: var(--space-md); }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  /* Page Hero */
  .page-hero {
    padding: calc(60px + var(--space-3xl)) 0 var(--space-2xl);
    text-align: left;
  }

  .page-hero__description {
    margin: 0;
  }

  /* Breadcrumb */
  .breadcrumb { padding: var(--space-md) 0; }

  /* Adjust body padding for mobile bar */
  body { padding-bottom: 64px; }

  /* Section descriptions */
  .section-description { font-size: var(--text-base); }
  .section-title { font-size: var(--text-3xl); }

  /* Instagram */
  .instagram-section__link {
    font-size: var(--text-xl);
    flex-direction: column;
  }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  :root {
    --section-padding: 2.5rem;
    --container-padding: 1rem;
  }

  .grid--4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero__content { padding-bottom: 90px; }
  .hero__nav-btn { display: none; }

  /* Package Cards */
  .package-card { padding: var(--space-lg); }

  /* Feature Cards */
  .feature-card { padding: var(--space-lg) var(--space-md); }

  /* Reviews */
  .review-card {
    flex: 0 0 280px;
    padding: var(--space-lg);
  }

  /* Gallery */
  .gallery__grid { grid-template-columns: 1fr 1fr; }

  /* Lightbox */
  .lightbox__nav { width: 40px; height: 40px; }

  /* Mobile bar smaller */
  .mobile-bar__btn {
    font-size: 0.65rem;
    padding: 8px;
    gap: 3px;
  }

  .mobile-bar__btn svg { width: 14px; height: 14px; }

  /* Accordion */
  .accordion__header {
    padding: var(--space-md);
    font-size: var(--text-base);
  }
  .accordion__content { padding: 0 var(--space-md) var(--space-md); }
}

/* ===== LARGE DESKTOP (min-width: 1440px) ===== */
@media (min-width: 1440px) {
  :root {
    --container-max: 1400px;
  }

  .hero__title { font-size: var(--text-6xl); }
}

/* ===== HOVER MEDIA QUERY ===== */
@media (hover: none) {
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .footer__social a:hover { transform: none; }
  .gallery__item:hover img { transform: none; }
  .gallery__item-overlay { opacity: 0.5; }
  .gallery__item-label { transform: translateY(0); }
}

/* ===== PRINT ===== */
@media print {
  .navbar,
  .whatsapp-float,
  .mobile-bar,
  .cookie-banner,
  .hero__nav-btn,
  .hero__dots,
  .hero__scroll,
  .btn--whatsapp {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    padding-bottom: 0;
  }

  .section { padding: 1rem 0; }
  .footer { background: white; border-top: 1px solid #ccc; }

  a { color: inherit; }
  a[href^="tel:"]::after { content: " (" attr(href) ")"; }
}
