/* ============================================================
   HENNA BY SANIYA – RESPONSIVE STYLESHEET
   ============================================================ */

/* ─── LARGE DESKTOP (≤ 1400px) ─────────────────────────── */
@media (max-width: 1400px) {
  :root {
    --container: 1160px;
  }

  .hero-image-ring {
    width: 420px;
    height: 420px;
  }

  .hero-image-inner {
    width: 350px;
    height: 350px;
  }
}

/* ─── LAPTOP (≤ 1200px) ─────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --container: 960px;
  }

  .container {
    padding: 0 36px;
  }

  .nav-links {
    gap: 28px;
  }

  .hero-inner {
    gap: 50px;
  }

  .hero-image-ring {
    width: 360px;
    height: 360px;
  }

  .hero-image-inner {
    width: 300px;
    height: 300px;
  }

  .hero-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .why-choose-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }

  .footer-grid>div:nth-child(4) {
    display: none;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-brand p {
    max-width: 420px;
  }
}

/* ─── TABLET (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px 0;
  }

  .container {
    padding: 0 28px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
    padding: 140px 0 80px;
  }

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

  .hero-desc {
    margin: 0 auto 40px;
  }

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

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

  .hero-image-wrap {
    justify-content: center;
    transform: none !important;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: -20px;
    white-space: nowrap;
  }

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

  /* Why Choose */
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-center {
    order: -1;
  }

  .why-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .why-item {
    flex: 1 1 calc(50% - 16px);
    min-width: 220px;
  }

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

  /* About */
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image-stack {
    height: 400px;
  }

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

  .counter-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .counter-item:nth-child(even) {
    border-right: none;
  }

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

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

  /* Gallery */
  .gallery-masonry {
    columns: 2;
  }

  /* Quote */
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .quote-left {
    position: static;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: column;
  }
}

/* ─── MOBILE (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Nav */
  .navbar {
    padding: 18px 0;
  }

  .nav-logo img {
    height: 58px;
    width: 58px;
  }

  .nav-logo-text .brand-name {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero-image-ring {
    width: 240px;
    height: 240px;
  }

  .hero-image-inner {
    width: 196px;
    height: 196px;
  }

  .hero-badge {
    display: none;
  }

  /* Stats — 3 items in one centered row */
  .hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
  }

  .hero-stat-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding: 0 10px;
  }

  .hero-stat-item:last-child {
    border-right: none;
  }

  .hero-stat-num {
    font-size: 1.6rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  /* Sections */
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Services home */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why choose */
  .why-item {
    flex: 1 1 100%;
  }

  /* Offer */
  .offer-grid {
    grid-template-columns: 1fr;
  }

  /* Page banner */
  .page-banner {
    min-height: 320px;
    padding: 100px 0 60px;
  }

  .page-banner h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  /* About */
  .about-image-stack {
    height: 300px;
  }

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

  .counter-num {
    font-size: 3rem;
  }

  /* About why */
  .about-why-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-full-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-masonry {
    columns: 1;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.78rem;
  }

  /* Quote */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 32px 24px;
  }

  .quote-left-img {
    height: 300px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Lightbox — arrows overlay on mobile */
  .lightbox-inner {
    position: relative;
    display: block;
    width: 95vw;
    max-height: 90vh;
  }

  .lightbox-inner img {
    width: 95vw;
    max-height: 85vh;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 24px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  /* Buttons */
  .btn {
    padding: 13px 28px;
    font-size: 0.82rem;
  }
}

/* ─── SMALL MOBILE (≤ 480px) ────────────────────────────── */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .about-img-badge {
    display: none;
  }

  .lightbox-inner img {
    max-height: 80vh;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}