/* ===================================================
   FSM CATERING — RESPONSIVE
   responsive.css — Mobile-first Breakpoints
   =================================================== */

/* ===========================
   MAX 1280px — Large Desktop
   =========================== */
@media (max-width: 1280px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }

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

  .service-detail {
    grid-template-columns: 1fr 340px;
    gap: var(--space-2xl);
  }
}


/* ===========================
   MAX 1024px — Tablet Landscape
   =========================== */
@media (max-width: 1024px) {

  /* Header */
  .top-bar {
    display: none;
  }

  .nav,
  .nav__list {
    display: none;
  }

  .header__cta {
    margin-left: auto;
    margin-right: 1rem;
  }

  .header__cta .btn {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile {
    display: block;
  }

  /* Logo responsive sizing */
  .header__logo img {
    height: auto;
    width: 100%;
    max-width: 190px;
  }

  .header.is-scrolled .header__logo img {
    height: 36px;
  }

  /* Hero */
  .hero {
    height: 70vh;
    min-height: 480px;
  }

  .hero__nav {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  /* Trust Bar */
  .trust-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .trust-bar__item:nth-child(n+4) {
    display: none;
  }

  /* Grid Adjustments */
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Menu Showcase */
  .menu-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .menu-showcase__image {
    height: 300px;
    order: -1;
  }

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

  .food-gallery__item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
  }

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

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

  /* Areas Grid */
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* Story Block */
  .story-block {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .story-block:nth-child(even) {
    direction: ltr;
  }

  .story-block__image::before {
    display: none;
  }

  .story-block__image img {
    height: 300px;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .timeline__dot {
    left: 20px;
  }

  /* Service Detail */
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

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

  /* Card Featured */
  .card--featured {
    grid-template-columns: 1fr;
  }

  .card--featured .card__image {
    min-height: 250px;
  }

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


/* ===========================
   MAX 768px — Tablet Portrait
   =========================== */
@media (max-width: 768px) {

  /* Section Spacing */
  :root {
    --section-py: clamp(3rem, 6vw, 5rem);
  }

  /* Hero */
  .hero {
    height: 65vh;
    min-height: 420px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  /* Trust Bar */
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar__item:nth-child(n+3) {
    display: none;
  }

  /* Grid */
  .grid--2 {
    grid-template-columns: 1fr;
  }

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

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

  /* Feature Cards */
  .feature-card {
    display: flex;
    text-align: left;
    gap: var(--space-lg);
    padding: var(--space-xl);
  }

  .feature-card__icon {
    margin-bottom: 0;
    min-width: 60px;
    width: 60px;
    height: 60px;
  }

  /* Food Gallery */
  .food-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Areas Grid */
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section Header */
  .section__header {
    margin-bottom: var(--space-2xl);
  }

  /* Stats */
  .stat__number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Process Grid */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Contact Steps */
  .contact-steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Author Box */
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

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

  /* Related Posts */
  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  /* Menu Tabs */
  .menu-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-sm);
  }

  .menu-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-tab {
    flex-shrink: 0;
  }
}


/* ===========================
   MAX 480px — Mobile
   =========================== */
@media (max-width: 480px) {

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 380px;
  }

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

  .hero__cta .btn {
    width: 100%;
  }

  /* Logo responsive sizing - mobile */
  .header__logo img {
    height: auto;
    width: 100%;
    max-width: 180px;
  }

  .header.is-scrolled .header__logo img {
    height: 42px;
  }

  .header__phone {
    font-size: 0 !important;
    /* Yalnızca ikon görünür */
    gap: 0;
    width: 38px;
    height: 38px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .header__phone i {
    font-size: 1.1rem;
    color: var(--bg-white) !important;
  }

  .nav__mobile-header img {
    height: auto;
    width: 100%;
    max-width: 140px;
  }

  .footer__logo img {
    height: auto;
    width: 100%;
    max-width: 180px;
  }

  .hero__pagination {
    bottom: 0.25rem;
    /* Butonların üzerine çıkmasını önler */
  }

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

  .card--service .card__image {
    height: 200px;
  }

  /* Trust Bar */
  .trust-bar__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  /* Food Gallery */
  .food-gallery {
    grid-template-columns: 1fr;
  }

  /* Areas Grid */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  /* Page Hero */
  .page-hero {
    padding: var(--space-4xl) 0 var(--space-2xl);
  }

  /* Buttons */
  .btn--lg {
    padding: 1rem 2rem;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }

  /* Testimonial */
  .testimonial {
    padding: var(--space-xl);
  }

  .testimonial::before {
    font-size: 3rem;
  }

  /* Contact Info Card */
  .contact-info-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Feature Card (Stack on very small) */
  .feature-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Sidebar Form */
  .sidebar-form {
    padding: var(--space-xl);
  }

  /* Article */
  .article__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .article__share {
    flex-wrap: wrap;
  }

  /* Menu Card */
  .pdf-viewer iframe,
  .pdf-viewer embed {
    height: 400px;
  }

  /* Map */
  .map-container iframe {
    height: 300px;
  }
}