/* ============================================
   HAYAT DENGESI — Responsive Styles
   ============================================ */

/* --- Max 1280px: Large Desktop --- */
@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* --- Max 1024px: Tablet Landscape / Small Desktop --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero-photo-blob {
    max-width: 350px;
  }

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

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .process-timeline::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

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

  .service-detail-grid {
    gap: var(--space-2xl);
  }

  .quick-contact-grid {
    gap: var(--space-md);
  }
}

/* --- Max 768px: Tablet Portrait / Mobile Landscape --- */
@media (max-width: 768px) {
  :root {
    --space-section: clamp(3.5rem, 8vh, 6rem);
    --header-height: 70px;
    --header-height-scrolled: 60px;
  }

  /* Navigation */
  .nav-links,
  .nav-cta .nav-phone,
  .nav-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-photo-wrapper {
    order: -1;
  }

  .hero-photo-blob {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-deco-circle-2 {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* Sections */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

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

  .footer-social {
    justify-content: center;
  }

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

  /* About Page */
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-photo-wrapper {
    display: flex;
    justify-content: center;
  }

  .story-photo-wrapper img {
    max-width: 300px;
  }

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

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

  /* Services Page */
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .service-detail-visual {
    aspect-ratio: 4 / 3;
  }

  .service-detail-content ul {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-meta {
    justify-content: center;
  }

  .service-visual-element {
    max-width: 250px;
    margin: 0 auto;
  }

  /* Contact Page */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
  }

  .contact-social {
    justify-content: center;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .map-container {
    height: 300px;
  }

  /* Decorative elements */
  .watermark-text {
    font-size: clamp(4rem, 15vw, 8rem);
  }

  .deco-circle {
    display: none;
  }
}

/* --- Max 640px: Mobile --- */
@media (max-width: 640px) {
  .hero-photo-blob {
    max-width: 220px;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-md);
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .btn {
    padding: 14px 28px;
    font-size: var(--fs-tiny);
  }

  .btn-lg {
    padding: 16px 36px;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .faq-question {
    font-size: var(--fs-body);
  }

  .contact-form-wrapper {
    padding: var(--space-xl);
  }

  .intro-section blockquote {
    padding: 0;
  }

  .intro-section blockquote::before {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    text-align: center;
    font-size: 4rem;
    margin-bottom: var(--space-sm);
  }
}

/* --- Max 480px: Small Mobile --- */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .service-card {
    padding: var(--space-lg) var(--space-md);
  }

  .testimonial-card {
    padding: 0;
  }

  .contact-form-wrapper {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .page-hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }
}

