/***********************************************************************
 * RESPONSIVE — mobile-first additions
 * Desktop layout (1024px+) is UNCHANGED by these rules.
 ***********************************************************************/

/* ── Global overflow guard ────────────────────────────────────────── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── Hamburger button (hidden on desktop) ─────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #3e2521;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* ── Mobile slide-out menu (hidden by default) ────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #f4f2e6;
  z-index: 1200;
  padding: 80px 30px 40px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #3e2521;
  line-height: 1;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3e2521;
  text-decoration: none;
  border-bottom: 1px solid #e0d8cc;
  padding-bottom: 12px;
}
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1150;
}
.mobile-menu-backdrop.active {
  display: block;
}

/* ── SVG / image scaling ──────────────────────────────────────────── */
img,
svg {
  max-width: 100%;
}

/* ════════════════════════════════════════════════════════════════════
   LARGE SCREENS  1440px+
   ════════════════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .main-nav {
    padding: 0 48px;
  }
  .hero-content {
    left: 40%;
  }
  .categories {
    gap: 50px;
  }
  .footer-container {
    gap: 140px;
    padding: 20px 60px;
  }
}

@media (max-width: 1023px) {
  /* Nav */
  .nav-hamburger {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }

  .main-nav {
    padding: 0 16px;
    height: 56px;
  }
  .nav-links-left {
    display: none;
  }
  .nav-logo {
    flex: unset;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-icons {
    flex: unset;
    margin-left: auto;
  }

  /* Announce bar — hide the side spans, keep centre */
  .announce-bar span,
  .announce-right {
    display: none;
  }
  .announce-bar {
    justify-content: center;
  }

  /* Hero */
  .hero {
    height: 80vh;
    background-position: center top;
  }
  .hero-content {
    position: relative;
    left: auto;
    text-align: center;
    padding: 0 24px;
    max-width: 600px;
    width: 100%;
  }
  h1 {
    font-size: 2.6rem;
  }
  .hero p {
    width: 100%;
    font-size: 1.1rem;
  }
  .hero-cta-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-cta-btns button {
    width: 180px;
    margin: 10px 8px;
  }

  /* Section divider */
  .section-divider {
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
  }

  /* Categories — horizontal scroll */
  .categories-section {
    overflow: hidden;
  }
  .categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .categories::-webkit-scrollbar {
    display: none;
  }
  .catergory {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: auto;
    font-size: 0.9rem;
  }
  .catergory img,
  .new-cat {
    height: 110px;
    width: 110px;
  }

  /* Featured — horizontal scroll */
  .featured-section {
    overflow: hidden;
  }
  .featured-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .featured-container::-webkit-scrollbar {
    display: none;
  }
  .featured-item {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .featured-item img {
    height: 340px;
    width: 240px;
  }
  .featured-item button {
    width: 240px;
  }

  /* New Arrivals — horizontal scroll */
  .new-section {
    overflow: hidden;
  }
  .new-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .new-container::-webkit-scrollbar {
    display: none;
  }
  .new-item {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .new-item img {
    height: 340px;
    width: 240px;
  }
  .new-item button {
    width: 240px;
  }

  /* Services */
  .services-main-container {
    flex-direction: column;
    width: 95%;
  }

  /* Testimonial */
  .test-container {
    width: 95%;
    gap: 16px;
  }
  .test2 {
    padding: 0 20px;
  }

  /* FAQ */
  .faq-container {
    flex-direction: column;
    width: 92%;
    gap: 30px;
  }
  .faq-content,
  .faq-form-container {
    width: 100%;
  }

  /* Contact */
  .contact-container {
    flex-direction: column;
  }
  .map {
    width: 100%;
  }

  /* Contact image overlay */
  .overlay-text h2 {
    font-size: 2rem;
  }

  .overlay-text {
    margin-bottom: 100px;
  }
  /* Footer */
  .footer-container {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
  }
  .footer-logo {
    padding-left: 40px;
  }
  .footer-logo img {
    height: 120px;
    width: 160px;
  }
}

@media (max-width: 767px) {
  /* Nav */
  .main-nav {
    height: 52px;
    padding: 0 12px;
  }
  .logo-text {
    font-size: 1.2rem;
  }
  .logo-sub {
    font-size: 7px;
    letter-spacing: 2px;
  }

  /* Announce bar */
  .announce-bar {
    font-size: 9px;
    letter-spacing: 0.8px;
    padding: 6px 12px;
  }

  /* Hero */
  .hero {
    height: 50vh;
    min-height: 0;
    background-position: center;
    align-items: center;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(244, 242, 230, 0.55);
  }
  .hero-content {
    position: relative;
    left: auto;
    z-index: 1;
    padding: 0 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  h4 {
    font-size: 0.65rem;
    letter-spacing: 3px;
  }
  h1 {
    font-size: 2rem;
  }
  .hero p {
    width: 100%;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
  }
  .hero-cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero-cta-btns button {
    width: 90%;
    max-width: 280px;
    margin: 8px auto;
    padding: 14px 0;
    font-size: 0.8rem;
    touch-action: manipulation;
  }

  /* Section divider */
  .section-divider {
    font-size: 0.85rem;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
  }

  /* Categories — horizontal scroll on mobile */
  .categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .categories::-webkit-scrollbar {
    display: none;
  }
  .catergory {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: auto;
    min-width: unset;
    font-size: 0.78rem;
  }
  .catergory img,
  .new-cat {
    height: 60px;
    width: 60px;
    border-radius: 50%;
  }
  .new-cat {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  /* Featured — horizontal scroll on mobile */
  .featured-section {
    padding: 0 0 0 16px;
    overflow: hidden;
  }
  .featured-section h2,
  .featured-section > p {
    padding-right: 16px;
  }
  .featured-section h2 {
    font-size: 1.4rem;
  }
  .featured-section > p {
    font-size: 1rem;
  }
  .featured-container {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px 16px 0;
    width: 100%;
  }
  .featured-container::-webkit-scrollbar {
    display: none;
  }
  .featured-item {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .featured-item img {
    width: 200px;
    height: 270px;
    max-width: unset;
    aspect-ratio: unset;
    object-fit: cover;
  }
  .featured-item button {
    width: 200px;
    max-width: unset;
  }

  .featured-name,
  .new-name {
    width: 200px;
    height: 80px;
  }

  /* New Arrivals — horizontal scroll on mobile */
  .new-section {
    padding: 20px 0 20px 16px;
    overflow: hidden;
  }
  .new-section h2,
  .new-section > p {
    padding-right: 16px;
  }
  .new-section h2 {
    font-size: 1.4rem;
  }
  .new-section > p {
    font-size: 1rem;
  }
  .new-container {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px 16px 0;
    width: 100%;
  }
  .new-container::-webkit-scrollbar {
    display: none;
  }
  .new-item {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .new-item img {
    width: 200px;
    height: 270px;
    max-width: unset;
    aspect-ratio: unset;
    object-fit: cover;
  }
  .new-item button {
    width: 200px;
    max-width: unset;
  }

  /* Services */
  .services-section {
    padding: 24px 0;
  }
  .services-section h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  .services-main-container {
    flex-direction: column;
    width: 95%;
    gap: 16px;
  }
  .services-container1 {
    padding: 20px;
  }
  .services-container2 {
    padding: 20px;
  }
  .services-section button {
    width: 90%;
    max-width: 280px;
    touch-action: manipulation;
  }

  /* Testimonial */
  .testimonial {
    padding: 24px 12px;
  }
  .test-container {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 28px;
  }
  .test2 {
    padding: 0;
  }
  .test2 img {
    width: 80px;
    height: 80px;
  }

  /* FAQ */
  .faq {
    padding: 20px 0;
  }
  .faq h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
  .faq-container {
    flex-direction: column;
    width: 96%;
    gap: 20px;
  }
  .faq-content,
  .faq-form-container {
    width: 100%;
  }
  .text h3 {
    font-size: 1.4rem;
  }

  /* Contact */
  .contact {
    width: 96%;
  }
  .contact h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
  }
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }
  .map {
    width: 100%;
  }
  .contact-text {
    font-size: 1.1rem;
  }

  /* Contact image banner */
  .contact-image-container {
    width: 96%;
  }
  .contact-image-container img {
    height: 45vh;
  }
  .overlay-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 12px 14px;
  }
  .overlay-text h2 {
    font-size: 1.3rem;
  }
  .overlay-text p {
    font-size: 0.85rem;
  }
  .overlay-text button {
    padding: 12px 28px;
    font-size: 0.9rem;
    touch-action: manipulation;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 28px;
    padding: 0 16px;
  }
  .footer-logo img {
    height: 100px;
    width: 140px;
  }
  .footer-credits {
    font-size: 0.8rem;
    text-align: center;
  }

  /* Modal — full-width on mobile */
  .modal-box {
    width: 95%;
    max-width: 95%;
    padding: 32px 20px 24px;
    margin: 0 auto;
  }

  /* Booking button touch targets */
  .services-section button,
  .hero-cta-btns button,
  .modal-submit,
  .faq-form button,
  .overlay-text button {
    min-height: 44px;
    touch-action: manipulation;
  }
}

@media (max-width: 399px) {
  h1 {
    font-size: 1.7rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
