/* ==========================================================================
   George & Dragon Restaurant - Responsive Stylesheet
   Mobile-First & Cross-Device Optimization
   ========================================================================== */

/* Tablets and below (max-width: 1024px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 24px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-script {
    font-size: 56px;
  }

  .hero-eyebrow {
    font-size: 14px;
    letter-spacing: 0.18em;
  }

  .features-section {
    padding: 75px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 45px;
  }

  .feature-pillar:nth-child(odd)::after {
    display: block;
  }

  .feature-pillar:nth-child(even)::after {
    display: none;
  }

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

  .about-image-wrapper img {
    height: 380px;
  }

  .specialty-row,
  .specialty-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }

  .specialty-img-box img {
    height: 320px;
  }

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

  .refined-container {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 0 24px;
    text-align: center;
  }

  .refined-content {
    max-width: 100%;
  }

  .refined-img {
    max-width: 440px;
  }

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

  .event-types-grid,
  .events-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
  }
}

/* Laptops under 1440px and tablets: the 5-item menu no longer fits beside the
   centred logo, so switch to the same off-canvas (hamburger) menu as mobile. */
@media (max-width: 1439px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #0b1315;
    border-left: 1px solid rgba(201, 171, 129, 0.25);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px 30px;
    gap: 20px;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
  }

  .header-lang {
    margin-top: 10px;
    margin-left: 0;
    font-size: 14px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }

  .site-header.scrolled {
    padding: 10px 0;
  }

  .header-container {
    padding: 0 14px;
    gap: 8px;
  }

  .header-left {
    flex: 0 0 auto;
  }

  .header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .header-right {
    flex: 0 0 auto;
  }

  .header-socials {
    display: none;
  }

  .header-phone-link {
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    gap: 6px;
    padding: 2px 0;
  }

  .phone-svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  .logo-img {
    height: 32px;
    max-width: 135px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #0b1315;
    border-left: 1px solid rgba(201, 171, 129, 0.25);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px 30px;
    gap: 20px;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
  }

  .header-lang {
    margin-top: 10px;
    font-size: 14px;
  }

  .hero-section {
    height: 100vh;
    min-height: 520px;
    padding: 0;
  }

  .hero-content {
    padding: 0 16px;
    margin-top: 20px;
  }

  .hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }

  .hero-rating-badge {
    margin: 4px 0 22px 0;
    padding: 5px 12px;
    gap: 6px;
  }

  .hero-rating-stars {
    font-size: 10px;
  }

  .hero-rating-text {
    font-size: 11px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-script {
    font-size: 42px;
    margin-bottom: 30px;
  }

  .btn-hero-discover {
    font-size: 11px;
    letter-spacing: 0.28em;
    padding: 10px 28px;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .features-section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-pillar {
    padding: 0 15px;
  }

  .feature-pillar::after {
    display: none !important;
  }

  .feature-pillar:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 34px;
  }

  .refined-section {
    padding: 70px 0;
  }

  .refined-title {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .refined-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .refined-img {
    max-width: 320px;
  }

  .restaurant-interior-banner {
    min-height: 280px;
    height: 38vh;
  }

  .gallery-showcase-section {
    padding: 70px 16px;
  }

  .gallery-showcase-title {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .gallery-showcase-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .facts-section {
    padding: 70px 16px;
  }

  .facts-title {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .facts-lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-section.hero-events {
    height: 82vh;
    min-height: 520px;
  }

  .event-types-grid,
  .events-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-item summary {
    font-size: 15.5px;
  }

  .testimonials-section {
    padding: 70px 16px;
  }

  .testimonials-title {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .testimonials-rating-summary {
    margin-bottom: 34px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .testimonial-card:last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .testimonial-text {
    min-height: 0;
  }

  .footer-showcase-section {
    padding: 80px 16px 60px 16px;
  }

  .footer-title {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .footer-phone-val {
    font-size: 20px;
  }

  .footer-leaf-left {
    width: 170px;
    max-width: 36vw;
  }

  .footer-leaf-right {
    width: 160px;
    max-width: 34vw;
  }

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

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

  .gallery-item {
    height: 220px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-card {
    padding: 24px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .map-wrapper {
    min-height: 320px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-dialog {
    padding: 24px;
    margin: 10px;
  }

  /* Show floating quick contact on mobile */
  .floating-action-bar {
    display: flex;
  }

  body {
    padding-bottom: 65px;
  }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .header-container {
    padding: 0 10px;
    gap: 6px;
  }

  .header-phone-link {
    font-size: 9.5px;
    letter-spacing: 0.02em;
    gap: 4px;
  }

  .phone-svg {
    width: 11px;
    height: 11px;
  }

  .logo-img {
    height: 28px;
    max-width: 120px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .menu-tab-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .about-badge {
    position: static;
    margin-top: 16px;
  }
}
