/* ==========================================================================
   RESPONSIVE DESIGN STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOP / SMALL DESKTOP (≤ 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .services-grid {
    grid-gap: 4rem 4.5rem;
  }
  
  .services-tree {
    right: -10%;
    height: 75%;
    top: 15%;
  }
}

/* --------------------------------------------------------------------------
   2. LARGE TABLET (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.4rem;
  }
}

/* --------------------------------------------------------------------------
   3. TABLET (≤ 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  /* Team Section */
  .team-grid {
    gap: 4rem;
  }
  
  .team-card-renee {
    transform: translateY(0);
  }
  
  .team-card-renee:hover {
    transform: translateY(-5px);
  }
  
  .team-section {
    padding: 5rem 1.5rem 8rem;
  }

  /* Services Section */
  .services-section {
    padding: 7rem 1.5rem 10rem;
  }
  
  .services-main-title {
    margin-bottom: 3.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 3.5rem 4rem;
  }
  
  .service-card-5 {
    grid-column: 1;
    grid-row: 3;
  }
  
  .services-tree {
    opacity: 0.15;
    right: -15%;
    height: 60%;
    top: auto;
    bottom: 5%;
  }

  /* Contact Section */
  .contact-section {
    padding: 6rem 1.5rem 8rem;
  }
  
  .contact-main-title {
    margin-bottom: 3.5rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    grid-gap: 3rem;
    margin-bottom: 4rem;
  }
  
  .contact-map-container {
    height: 380px;
    border-radius: 20px;
  }
  
  .contact-waves {
    width: 60%;
  }

  /* Footer Section */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
  }
  
  .footer-col:first-child {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-social-row {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   4. MOBILE NAV & SMALL TABLET (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 1.2rem;
  }

  /* Hide desktop nav & book button in header, show hamburger */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(15, 26, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--dark-border);
  }

  .nav-link {
    display: block;
    padding: 1.1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }

  .nav-link::after {
    display: none;
  }

  .btn-book {
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
  }

  .navbar-container > .btn-book {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero Section */
  .hero {
    max-height: 100vh;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }

  .hero-subtitle {
    letter-spacing: 0.18em;
  }

  .hero-wave svg {
    height: 55px;
  }

  /* Assisting Section */
  .assisting-section {
    padding: 5rem 1.2rem 8rem;
  }

  .assisting-title {
    margin-bottom: 1.8rem;
  }

  .assisting-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
  }

  .assisting-circle-left {
    bottom: 2rem;
    left: 5%;
  }

  .assisting-circle-right {
    bottom: 3.5rem;
    right: 5%;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }
  
  .service-card-1,
  .service-card-2,
  .service-card-3,
  .service-card-4,
  .service-card-5 {
    grid-column: 1;
    grid-row: auto;
  }
  
  .services-tree {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. MOBILE PORTRAIT (≤ 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  /* Team Section */
  .team-image-wrapper {
    width: 200px;
    height: 200px;
  }
  
  .team-bg-circle {
    display: none;
  }

  /* Contact Section */
  .contact-map-container {
    height: 300px;
  }
  
  .contact-waves {
    display: none;
  }

  /* Footer Section */
  .footer-container {
    grid-template-columns: 1fr;
    grid-gap: 2.5rem;
  }
  
  .footer-col {
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 992px) {
  /* Archive & Single Layout */
  .services-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .single-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-narrative-card {
    padding: 2.5rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   4. MOBILE NAV & SMALL TABLET (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .services-archive-grid {
    grid-template-columns: 1fr;
  }

  .single-main-content {
    padding: 2rem 1.6rem;
  }

  .single-post-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-previous,
  .nav-next {
    max-width: 100%;
  }


  .about-quote-box {
    padding: 1.8rem 1.6rem;
  }

  .quote-mark {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. SMALL MOBILE (≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .btn-contact {
    padding: 0.8rem 2rem;
  }

  .archive-hero {
    min-height: 320px;
    padding-top: calc(var(--header-height) + 2rem);
  }

  .about-narrative-card {
    padding: 2rem 1.4rem;
  }

  .resources-section {
    padding: 3.5rem 1rem 6rem;
  }

  .blog-item-card {
    padding-bottom: 2.5rem;
  }

  .blog-item-title {
    font-size: 1.45rem;
  }

  .btn-read-more {
    width: 100%;
    text-align: center;
  }
}