﻿/* ==========================================================================
   BRANDDAID CREATIVE AGENCY - RESPONSIVE STYLESHEET
   Carefully tuned breakpoints: 1920px, 1440px, 1024px, 768px, 480px, 375px
   ========================================================================== */

/* --- Extra Large Desktops (1920px+) --- */
@media screen and (min-width: 1920px) {
  :root {
    --container-max: 1680px;
  }

  .text-display-xl {
    font-size: 8.5rem;
  }

  .hero-bottom-grid {
    gap: 5rem;
  }
}

/* --- Standard Desktops & Large Laptops (1440px - 1680px) --- */
@media screen and (max-width: 1440px) {
  .manifesto-grid {
    gap: 3.5rem;
  }

  .services-layout {
    gap: 3.5rem;
  }

  .footer-top-row {
    gap: 2.5rem;
  }
}

/* --- Laptops & Small Desktops (1024px - 1366px) --- */
@media screen and (max-width: 1024px) {
  /* Navigation switch */
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero Section */
  .hero-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual-card {
    max-width: 600px;
  }

  /* Manifesto */
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Services */
  .services-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .service-tab-btn {
    padding: 1.25rem;
  }

  .service-tab-btn .tab-title {
    font-size: 1.1rem;
  }

  .service-tab-btn .tab-icon {
    display: none;
  }

  /* Portfolio Columns Collapse */
  .project-card.col-span-8,
  .project-card.col-span-7,
  .project-card.col-span-5,
  .project-card.col-span-4 {
    grid-column: span 6;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About Page */
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

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

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

  /* Footer */
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* --- Tablets (768px - 1023px) --- */
@media screen and (max-width: 768px) {
  .section {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
  }

  /* Header adjustments */
  .site-header {
    padding: 1.25rem 0;
  }

  .brand-logo {
    font-size: 1.5rem;
  }

  .header-cta .btn {
    display: none;
  }

  /* Hero adjustments */
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-quick-meta {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Services on Tablet */
  .services-nav {
    grid-template-columns: 1fr;
  }

  /* Portfolio Grid */
  .project-card.col-span-8,
  .project-card.col-span-7,
  .project-card.col-span-6,
  .project-card.col-span-5,
  .project-card.col-span-4 {
    grid-column: span 12;
  }

  .project-card.col-span-12 .project-thumb {
    aspect-ratio: 16/10;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Process & Team */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* --- Mobile Devices (480px - 767px) --- */
@media screen and (max-width: 480px) {
  :root {
    --container-pad: 1.25rem;
  }

  .text-display-xl {
    font-size: 2.75rem;
  }

  .text-display-lg {
    font-size: 2.25rem;
  }

  .text-display-md {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Stats single column on phone */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-card {
    padding: 1.75rem 1.5rem;
  }

  /* Team on Phone */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Form adjustments */
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .budget-chips {
    flex-direction: column;
  }

  .chip-label {
    width: 100%;
    justify-content: center;
  }

  /* CTA Rotating Badge */
  .cta-rotating-badge {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
  }

  .cta-banner-box {
    padding: 3rem 1.25rem;
  }
}

/* --- Small Mobile Devices (375px and below) --- */
@media screen and (max-width: 375px) {
  .text-display-xl {
    font-size: 2.35rem;
  }

  .brand-logo {
    font-size: 1.35rem;
  }

  .brand-badge {
    display: none;
  }

  .mobile-nav-item a {
    font-size: 1.9rem;
    gap: 1rem;
  }

  .project-body {
    padding: 1.25rem;
  }

  .marquee-item {
    font-size: 1.25rem;
    gap: 1.25rem;
  }
}

/* --- Touch & Accessibility Fixes --- */
@media (hover: none) and (pointer: coarse) {
  .btn, .service-tab-btn, .chip-label, .btn-pill {
    min-height: 48px;
  }
}
