/* ========================================
   RESPONSIVE MEDIA QUERIES
   Nawaab Cuisine Website
======================================== */

/* ===== LARGE DESKTOPS (1400px and above) ===== */
@media (min-width: 1400px) {
  .welcome-overlay {
    top: 160px;
  }

  .buffet-section h2 {
    font-size: 5.5rem;
  }

  .welcome-section h3 {
    font-size: 3rem;
  }

  .welcome-section p {
    font-size: 2.2rem;
  }
}

/* ===== MEDIUM DESKTOPS (1200px - 1399px) ===== */
@media (max-width: 1399px) {
  header {
    padding: 1rem 3rem;
  }

  .welcome-overlay {
    top: 210px;
  }

  .buffet-section h2 {
    font-size: 4.5rem;
  }

  .welcome-section h3 {
    font-size: 2.2rem;
  }

  .welcome-section p {
    font-size: 1.7rem;
  }
}

/* ===== TABLETS & SMALL LAPTOPS (992px - 1199px) ===== */
@media (max-width: 1199px) {
  header {
    padding: 1rem 2.5rem;
  }

  header .logo span {
    font-size: 1.3rem;
    letter-spacing: 5px;
  }
  .welcome-overlay{
    top: 170px;
  }

  nav {
    gap: 1.4rem;
  }

  nav a {
    font-size: 1rem;
  }

  .buffet-section h2 {
    font-size: 4rem;
    letter-spacing: 6px;
  }

  .buffet-section .tagline {
    font-size: 1.5rem;
    padding: 40px 50px;
  }

  .buffet-section .note {
    font-size: 1.1rem;
  }

  .buffet-cards {
    gap: 25px;
  }

  .buffet-card {
    width: 230px;
  }

  .welcome-section h3 {
    font-size: 2rem;
    margin-right: 300px;
  }

  .welcome-section p {
    font-size: 1.6rem;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 2.2rem;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 1.3rem;
  }
}

/* ===== TABLETS (768px - 991px) ===== */
@media (max-width: 991px) {
  header {
    padding: 1rem 2rem;
  }

  header .logo img {
    height: 50px;
  }

  header .logo span {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  nav {
    gap: 1.2rem;
  }

  nav a {
    font-size: 0.95rem;
  }

  .cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    display: none;
  }

  .welcome-overlay {
    top: 170px;
  }

  .welcome-overlay h3 {
    font-size: 1.3rem;
  }

  .buffet-section {
    padding: 80px 20px;
  }

  .buffet-section h2 {
    font-size: 3.5rem;
    letter-spacing: 5px;
    padding: 10px 30px;
  }

  .buffet-section .tagline {
    font-size: 1.3rem;
    padding: 30px 40px;
  }

  .buffet-section .note {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .buffet-cards {
    gap: 20px;
  }

  .buffet-card {
    width: 210px;
    padding: 20px 25px;
  }

  .buffet-card h3 {
    font-size: 1.1rem;
  }

  .price-group .price {
    font-size: 1.1rem;
  }

  .special-link {
    font-size: 1.1rem;
  }

  .timing-heading {
    font-size: 1.3rem;
  }

  .timings {
    max-width: 350px;
  }

  .welcome-section,
  .welcome-section2,
  .welcome-section3,
  .welcome-section4 {
    height: auto;
    min-height: 70vh;
    padding: 60px 20px;
  }

  .welcome-section h3 {
    font-size: 1.8rem;
    margin-right: 200px;
  }

  .welcome-section p {
    font-size: 1.4rem;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 2rem;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 1.2rem;
    max-width: 600px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-column {
    margin: 15px 0;
  }
}

/* ===== MOBILE LANDSCAPE & SMALL TABLETS (576px - 767px) ===== */
@media (max-width: 767px) {

  /* HEADER - MOBILE MENU */
  header {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }

  header .logo img {
    height: 45px;
  }

  header .logo span {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    max-height: 400px;
    padding: 20px 0;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 136, 0, 0.1);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .cta {
    order: 2;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    margin-left: auto;
    display: none;
  }

  /* WELCOME OVERLAY */
  .welcome-overlay {
    top: 120px;
  }

  .welcome-overlay h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  /* HERO SECTION */
  .hero-section {
    height: 70vh;
  }

  /* BUFFET SECTION */
  .buffet-section {
    padding: 60px 15px;
  }

  .buffet-section h2 {
    font-size: 2.5rem;
    letter-spacing: 4px;
    padding: 8px 20px;
  }

  .buffet-section .tagline {
    font-size: 1.1rem;
    padding: 25px 30px;
    line-height: 1.5;
  }

  .buffet-section .note {
    font-size: 0.9rem;
    padding: 8px 12px;
    line-height: 1.5;
  }

  .buffet-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .buffet-card {
    width: 100%;
    max-width: 300px;
  }

  .price-group {
    flex-direction: row;
    gap: 10px;
  }

  .price-group div {
    width: 48%;
    padding: 12px 8px;
  }

  .special-link {
    font-size: 1rem;
    padding: 8px 8px;
  }

  .buffet-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 200px;
    text-align: center;
  }

  .timing-heading {
    font-size: 1.2rem;
  }

  .timings {
    max-width: 100%;
  }

  .timings div {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  /* WELCOME SECTIONS */
  .welcome-section,
  .welcome-section2,
  .welcome-section3,
  .welcome-section4 {
    height: auto;
    min-height: 60vh;
    padding: 50px 20px;
  }

  .welcome-section h3 {
    font-size: 1.5rem;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .welcome-section p {
    font-size: 1.2rem;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .welcome-card {
    padding: 20px;
    margin: 20px;
  }

  .welcome-buttons {
    justify-content: center;
    padding-left: 20px;
  }

  .welcome-buttons .btn {
    width: auto;
    padding: 10px 20px;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .welcome-section3 h2 {
    font-size: 1.6rem;
  }

  .welcome-section4 .explore-btn,
  .welcome-section4 .contact-btn,
  .welcome-section4 .book-btn {
    display: block;
    margin: 15px auto;
    width: 80%;
    max-width: 250px;
  }

  /* FOOTER */
  .footer {
    padding: 40px 5%;
  }

  .footer-logo {
    font-size: 1.6rem;
  }

  .footer-column {
    margin: 15px 0;
  }

  .footer-column h3 {
    font-size: 0.95rem;
  }
}

/* ===== MOBILE PORTRAIT (480px - 575px) ===== */
@media (max-width: 575px) {
  header {
    padding: 0.8rem 1rem;
  }

  header .logo img {
    height: 40px;
  }

  header .logo span {
    font-size: 1.2rem;
    font-family: 'Playfair Display', vivaldi, serif;
    letter-spacing: 2px;
  }

  .cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .welcome-overlay {
    top: 110px;
    padding-right: 3%;
  }

  .welcome-overlay h3 {
    font-size: 1.2rem;
  }

  .hero-section {
    height: 60vh;
  }

  .buffet-section {
    padding: 50px 10px;
  }

  .buffet-section h2 {
    font-size: 2rem;
    letter-spacing: 3px;
    padding: 8px 15px;
  }

  .buffet-section .tagline {
    font-size: 1rem;
    padding: 20px 20px;
  }

  .buffet-section .note {
    font-size: 0.85rem;
    padding: 8px 10px;
  }

  .buffet-card {
    width: 100%;
    max-width: 280px;
    padding: 20px;
  }

  .buffet-card h3 {
    font-size: 1rem;
  }

  .price-group .price {
    font-size: 1rem;
  }

  .price-group strong {
    font-size: 0.9rem;
  }

  .price-group span {
    font-size: 0.85rem;
  }

  .special-link {
    font-size: 0.95rem;
  }

  .btn {
    width: 180px;
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .timing-heading {
    font-size: 1.1rem;
  }

  .timings div {
    font-size: 0.85rem;
    padding: 8px 12px;
    flex-direction: column;
    gap: 5px;
  }

  .welcome-section h3 {
    font-size: 1.3rem;
  }

  .welcome-section p {
    font-size: 1.1rem;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 1.5rem;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .welcome-section3 h2 {
    font-size: 1.4rem;
  }

  .footer-logo {
    font-size: 1.4rem;
  }

  .social-icons a {
    font-size: 1.1rem;
  }

}

/* ===== SMALL MOBILE (375px - 479px) ===== */
@media (max-width: 479px) {
  header .logo span {
    font-size: 1.8rem;
    letter-spacing: 1.5px;
  }

  .welcome-overlay {
    top: 110px;
  }

  .hero-section {
    width: 100%;
    height: 60vh;
    position: relative;
  
  }

  .cta {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    display: none;
  }

  .buffet-section h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .buffet-section .tagline {
    font-size: 0.95rem;
    padding: 18px 15px;
  }

  .buffet-section .note {
    font-size: 0.8rem;
  }

  .buffet-card {
    max-width: 260px;
  }

  .welcome-section,
  .welcome-section2,
  .welcome-section3,
  .welcome-section4 {
    padding: 40px 15px;
  }

  .welcome-section h3 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .welcome-section p {
    font-size: 1rem;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 1.3rem;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 0.95rem;
  }

  .book-btn {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
  }

  .tour-btn {
    display: flex;
    flex-direction: column;
  }

}

/* ===== EXTRA SMALL MOBILE (320px - 374px) ===== */
@media (max-width: 374px) {
  header {
    padding: 0.6rem 0.8rem;
  }

  header .logo img {
    height: 55px;
  }

  header .logo span {
    font-size: 1.8rem;
    font-family: 'vivaldi', cursive;
    letter-spacing: 1px;
  }

  .cta {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    display: none;
  }
  .welcome-overlay{
    top: 100px;
  }
  .welcome-overlay h3 {
    font-size: 0.9rem;
  }

  .hero-section {
    height: 50vh;
  }

  .buffet-section h2 {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }

  .buffet-section .tagline {
    font-size: 0.9rem;
    padding: 15px 12px;
  }

  .buffet-section .note {
    font-size: 0.75rem;
  }

  .buffet-card {
    max-width: 240px;
    padding: 15px;
  }

  .buffet-card h3 {
    font-size: 0.95rem;
  }

  .price-group .price {
    font-size: 0.95rem;
  }

  .btn {
    width: 160px;
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .timing-heading {
    font-size: 1rem;
  }

  .timings div {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .welcome-section h3 {
    font-size: 1.1rem;
  }

  .welcome-section p {
    font-size: 0.95rem;
  }

  .welcome-section2 h2,
  .welcome-section3 h3,
  .welcome-section4 h2 {
    font-size: 1.2rem;
  }

  .welcome-section2 p,
  .welcome-section3 p,
  .welcome-section4 p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .welcome-section3 h2 {
    font-size: 1.15rem;
  }

  .footer {
    padding: 30px 4%;
  }

  .footer-logo {
    font-size: 1.2rem;
  }

  .footer-column h3 {
    font-size: 0.9rem;
  }

  .footer-column ul li,
  .footer-column p {
    font-size: 0.85rem;
  }
}
@media (max-width:320px){
  header .logo span{
    font-size: 1.3rem;
    font-family: 'vivaldi', cursive;
  } 
  .welcome-overlay{
    top: 90px;
  }
  .hero-section{
    height: 50vh;
  }
  .menu-hero {
    height: 210px;
    top: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}
/* ===== LANDSCAPE ORIENTATION FIXES ===== */
@media (max-height: 500px) and (orientation: landscape) {

  .hero-section,
  .welcome-section,
  .welcome-section2,
  .welcome-section3,
  .welcome-section4 {
    height: auto;
    min-height: 100vh;
  }

  .buffet-section {
    padding: 40px 15px;
  }
}

/* ===== HIGH DPI SCREENS (Retina) ===== */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}




/* ===============================
   HERO IMAGE RESPONSIVENESS FIX
   =============================== */

/* Base styling for all displays */
.about-hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* ensures full coverage */
  width: 100%;
  height: 100vh;
  /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Large desktops (1920px and up) */
@media (min-width: 1440px) {
  .about-hero {
    height: 95vh;
    background-size: cover;
  }
}

/* Laptops and smaller desktops */
@media (max-width: 1280px) {
  .about-hero {
    height: 90vh;
    background-position: center top;
  }
}

/* Tablets landscape */
@media (max-width: 1024px) {
  .about-hero {
    height: 80vh;
    background-size: contain;
    background-position: center;
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .about-hero {
    height: 70vh;
    background-size: contain;
    background-position: top center;
  }
}

/* Smartphones landscape */
@media (max-width: 576px) {
  .about-hero {
    height: auto;
    background-size: contain;
    background-position: center center;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Small smartphones portrait */
@media (max-width: 400px) {
  .about-hero {
    height: auto;
    top: 10vh;
    background-size: 100% auto;
    background-position: center;
  }

  .about-story h1 span {
    font-size: 1.3rem;
  }
}

/* ===============================
   RESPONSIVE MEDIA QUERIES
   =============================== */

/* ==== Large Screens (Above 1600px) ==== */
@media (min-width: 1600px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  .occasions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .occasion-card img {
    height: 320px;
  }
}

/* ==== Laptops / Standard Desktops (1024px – 1599px) ==== */
@media (max-width: 1599px) and (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }

  .occasions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .occasion-card img {
    height: 260px;
  }
}

/* ==== Tablets (768px – 1023px) ==== */
@media (max-width: 1023px) and (min-width: 768px) {
  .occasions-hero {
    height: 60vh;
    background-position: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .occasions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 60px 5%;
  }

  .occasion-card img {
    height: 220px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* ==== Smartphones (480px – 767px) ==== */
@media (max-width: 767px) {
  .occasions-hero {
    height: 50vh;
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .occasions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 50px 10%;
  }

  .occasion-card {
    margin: 0 auto;
    width: 90%;
  }

  .occasion-card img {
    height: 200px;
  }

  .cta-section {
    padding: 60px 15px;
  }

  .cta-section h2 {
    font-size: 1.7rem;
  }

  .cta-section p {
    font-size: 0.9rem;
  }
}

/* ==== Small Smartphones (Below 480px) ==== */
@media (max-width: 479px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .occasion-card img {
    height: 180px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}



/* ================================================
   UNIVERSAL RESPONSIVE FIX: RESERVATION FORM TABLE
   (Handles date, time slots, and step-by-step forms)
   ================================================ */

/* ================================================
   MEDIA QUERIES
   ================================================ */

/* For large screens (between 1200px and 1920px) */
@media (max-width: 1920px) {
  .reservation-form-table {
    padding: 35px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* For laptops & small desktops */
@media (max-width: 1200px) {
  .reservation-container {
    padding-top: 90px;
  }

  .reservation-form-table {
    padding: 30px 25px;
  }

  .date-selector,
  .meal-type-selector {
    flex: 1 1 45%;
  }

  .time-slot {
    font-size: 0.95rem;
  }
}

/* For tablets (landscape & portrait) */
@media (max-width: 992px) {
  .reservation-container {
    padding-top: 80px;
  }

  .reservation-form-table h3 {
    font-size: 1.6rem;
  }

  .reservation-header-row {
    flex-direction: column;
  }

  .date-selector,
  .meal-type-selector {
    width: 100%;
    font-size: 1rem;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }
}

/* For large smartphones (below 768px) */
@media (max-width: 768px) {
  .reservation-container {
    padding: 70px 6% 40px;
  }

  .reservation-form-table {
    padding: 25px 20px;
    border-radius: 10px;
  }

  .reservation-form-table h3 {
    font-size: 1.4rem;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .time-slot {
    font-size: 0.9rem;
    padding: 8px 0;
  }

  .next-step-btn {
    font-size: 1rem;
    padding: 12px;
  }
}

/* For small smartphones (below 480px) */
@media (max-width: 480px) {
  .reservation-container {
    padding: 65px 5% 30px;
  }

  .reservation-form-table {
    padding: 20px 15px;
  }

  .reservation-form-table h3 {
    font-size: 1.2rem;
  }

  .date-selector,
  .meal-type-selector {
    font-size: 0.9rem;
    padding: 10px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 10px;
  }

  .time-slot {
    font-size: 0.85rem;
    padding: 7px 0;
  }

  .next-step-btn {
    font-size: 0.95rem;
    padding: 10px;
  }
}

/* For ultra-small devices (below 360px) */
@media (max-width: 360px) {
  .reservation-container {
    padding-top: 60px;
  }

  .reservation-form-table {
    padding: 15px 10px;
  }

  .time-slots {
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  }

  .time-slot {
    font-size: 0.8rem;
  }
}
