/* General Styles */
html {
  scroll-behavior: smooth;
}
/* Prevent horizontal overflow on small screens and use border-box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}
/* Make media elements responsive */
img, picture, video, canvas, svg, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
body {
  font-family: "Lato", sans-serif;
  margin: 0;
  background-color: #fcfbf9; /* Slightly warmer white for fine dining feel */
  color: #2c2c2c;
  line-height: 1.8;
  /* Removed pattern for cleaner look */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  text-align: center;
  text-transform: none; /* Removed uppercase for elegance */
  letter-spacing: 0.5px;
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-style: italic;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  color: #800000; /* Darker, richer red */
}

h3 {
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 600;
}

p {
  font-size: 1.15rem;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: #9a0000;
}

ul {
  list-style: none;
  padding: 0;
}

section {
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  scroll-margin-top: 100px;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button {
  background-color: #9a0000;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #b30000;
  transform: translateY(-2px);
}

/* Header */
header {
  background-color: #ffffff;
  padding: 0.5rem 0;
  border-bottom: 3px solid #9a0000;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
iframe {
  margin-top: -60px; /* keep desired negative offset to hide top of map */
}

.logo {
  height: 110px;
}

.navbar .nav-links {
  display: flex;
  gap: 2rem;
}

.navbar .nav-links a {
  color: #333;
  font-weight: 400;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #9a0000;
}

.navbar .nav-links .mobile-cta {
  color: #fff; /* Ensure mobile CTA button text is white */
}

.mobile-cta {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #333;
}

/* Responsive Navbar adjustments */
@media (max-width: 992px) {
  .navbar .nav-links {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Ensure hamburger transforms correctly */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Make nav links look like a list in mobile */
@media (max-width: 992px) {
    .navbar .nav-links li {
        margin: 10px 0;
    }
    .navbar .nav-links a {
        font-size: 1.2rem;
        display: block;
    }
}

/* =========================================
   Responsive Design & Navbar Fixes
   ========================================= */
@media (max-width: 992px) {
  .hamburger {
    display: block;
    z-index: 1001; /* Ensure above overlay */
  }

  .desktop-cta {
    display: none;
  }

  .navbar .nav-links {
    position: fixed;
    right: -100%;
    top: 96px; /* Approx header height (80px logo + padding) */
    gap: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    height: calc(100vh - 96px);
    overflow-y: auto;
    z-index: 999;
  }

  .navbar .nav-links.active {
    right: 0;
  }

  /* Animate links in */
  .navbar .nav-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  .navbar .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .mobile-cta {
    display: inline-block !important; /* Force show on mobile */
    margin-top: 1rem;
    color: #fff !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 6rem 0;
  overflow: hidden;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

/* ... */

.hero h1 {
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  font-style: normal;
  font-size: 5rem;
}

.hero p {
  font-family: "Hind", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.slider-nav button {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-nav button:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #fff;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.5rem;
  font-family: "Hind", sans-serif;
}

/* Order Section */
.order {
  background-color: transparent;
  border-radius: 10px;
  box-shadow: none;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding: 3rem;
}

.order-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.order-form select,
.order-form button {
  padding: 1rem 2rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Hind", sans-serif;
}

.order-form select {
  color: #555;
}

/* Order Links Section */
.order-links {
  padding: 4rem 0;
  background-color: #fff;
  text-align: center;
}

.order-links-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.order-links-container img {
  height: 60px;
  transition: transform 0.3s ease;
}

.order-links-container img:hover {
  transform: scale(1.1);
}

/* Outlets / Map Section */
.outlets {
  padding-top: 6rem;
}
.map-container {
  border: 8px solid #9a0000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Make map container more prominent and squarish on most viewports */
.map-container {
  aspect-ratio: 2 / 1; /* wider and shorter */
  width: 75%; /* increased width */
  max-width: 900px; /* limit size on large screens */
  margin: 0 auto; /* center horizontally */
  height: auto;
  min-height: 250px; /* ensure usable height on small screens */
}

@media (max-width: 768px) {
  .map-container {
    width: 95%; /* Decent size on mobile */
    aspect-ratio: 4 / 3; /* Taller on mobile for better map view */
  }
}

.map-container iframe {
  width: 100%;
  height: calc(100% + 60px); /* Compensate for the negative margin */
  display: block;
  border: 0;
  margin-top: -60px; /* Hide top part of map */
}

.map-caption {
  text-align: center;
  margin-top: 2rem;
  font-family: "Teko", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/* Brand Story Section */
.story {
  background-color: transparent;
}

.story-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: #fff;
  padding: 3rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.story-illustration {
  width: 50%;
  height: auto;
}

.story-text {
  width: 50%;
  text-align: left;
  font-family: "Lato", sans-serif;
  color: #555;
}

.story-text h3 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    color: #222;
}

.story-text p {
    font-size: 1.25rem;
    line-height: 1.9;
    font-weight: 400;
    color: #000;
}

.story-text u {
    text-decoration: none;
    font-style: italic;
    font-weight: 600;
    color: #800000;
    border-bottom: 1px solid rgba(128, 0, 0, 0.3);
}

/* Specialties Section */
.specialties {
  background-color: transparent;
}

.specialties-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Closer together */
  flex-wrap: wrap;
  margin-top: 3rem;
}

.specialty-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid #eee;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 350px;
}

/* Ensure text visibility over images */
.specialty-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5); /* Dark overlay */
    z-index: 1;
}

.specialty-item h3, 
.specialty-item p {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.specialty-item h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.specialty-item p {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 1;
}

/* Gallery Section */
.gallery {
  padding: 2.5rem 0;
  background-color: #fff;
  overflow: hidden;
}

.gallery-container {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: calc(400px * 12); /* 400px per slide * 12 slides */
  animation: scroll 30s linear infinite;
}

.slide {
  width: 400px;
  height: 300px;
  margin: 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-400px * 6)
    ); /* scroll by the width of 6 slides */
  }
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #333;
  padding: 2.5rem 0 2rem;
  text-align: center;
  margin-top: 3rem;
  scroll-margin-top: 100px;
  border-top: 1px solid #eee;
}

.footer-logo {
  height: 120px;
  margin: 0 auto 1.5rem; /* center horizontally */
  display: block;
}

.contact-info {
  margin-bottom: 2rem;
  font-family: "Lato", sans-serif;
  font-size: 1.1rem;
}

.contact-info span {
    margin: 0 10px;
    display: inline-block;
}

.contact-info a {
  color: #000;
  font-weight: 700;
  transition: color 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.contact-info a:hover {
  color: #9a0000;
}

.social-icons {
  margin-bottom: 2rem;
}

.social-icons a {
  margin: 0 0.8rem;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  filter: none; /* Removed inversion to keep original colors or use dark icons */
  /* If icons are white by default, I need to invert them to make them black */
  filter: brightness(0); 
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.social-icons a:hover img {
  transform: scale(1.2);
  opacity: 1;
}

.copyright {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #000;
  font-weight: 500;
  border-top: 1px solid #f0f0f0;
  padding-top: 2rem;
}

/* Contact Details Section */
.contact-details-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 600px;
    width: 100%;
    border: 1px solid #f0f0f0;
}

.contact-card h3 {
    margin-bottom: 2rem;
    color: #800000;
}

.contact-info-block {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.phone-info {
    margin: 0.5rem 0;
}

.phone-info a {
    color: #333;
    font-weight: 600;
    margin-left: 0.5rem;
}

.address-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.address-info p {
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 500;
}

/* Online Ordering Section */
.online-ordering {
    background-color: #fcfbf9;
    text-align: center;
    padding: 3rem 0;
}

.online-ordering h2 {
    margin-bottom: 0.5rem;
}

.online-ordering p {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
    font-weight: 500;
}

.delivery-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.delivery-options a {
    display: inline-block;
    max-width: 150px;
    transition: transform 0.3s ease;
}

.delivery-options a:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .delivery-options a {
        max-width: 120px; /* Make images smaller on mobile */
    }
}

/* =========================================
   Ambience & Pulse - Fine Dining Redesign
   ========================================= */

/* Refined Chips */
.ideal-for-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 50px; /* Pill shape */
  font-size: 0.95rem;
  color: #555;
  background-color: transparent;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.chip:hover {
    border-color: #9a0000;
    color: #9a0000;
    background-color: #fff;
}

/* Pulse Section Redesign */
.pulse-subsection {
    margin-top: 4rem;
    text-align: center;
    position: relative;
}

.highlighted-pulse {
    background: #fff;
    padding: 4rem;
    border: none;
    box-shadow: none;
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

/* Elegant Border Frame for Pulse */
.highlighted-pulse::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #eaddcf;
    pointer-events: none;
}

.highlighted-pulse h3 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    color: #800000;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.highlighted-pulse p {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    color: #000;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 500;
}

.pulse-enquiries {
    margin-top: 3rem;
    border-top: 1px solid #d0d0d0;
    padding-top: 2rem;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    color: #000;
}

.pulse-phone {
    font-family: "Lato", sans-serif; /* Normal font as requested */
    font-size: 1.1rem;
    font-weight: 600;
    color: #000 !important;
    letter-spacing: 1px;
}

/* =========================================
   Responsive Adjustments & Fixes
   ========================================= */

/* 1. Navbar & Header Breakpoint Adjustment */
/* Switch to mobile menu earlier to prevent layout breaking on tablets */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
    z-index: 1001;
  }

  .desktop-cta {
    display: none;
  }

  .navbar .nav-links {
    position: fixed;
    right: -100%;
    top: 96px; 
    gap: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    height: calc(100vh - 96px);
    overflow-y: auto;
    z-index: 999;
  }
  
  .navbar .nav-links.active {
    right: 0;
  }

  /* Animate links in */
  .navbar .nav-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  .navbar .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .mobile-cta {
    display: inline-block !important;
    margin-top: 1rem;
    color: #fff !important;
  }
}

/* 2. Hero Section Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 10rem 0; /* Increased height further */
  }
  
  .hero h1 { /* Increased specificity to override desktop styles */
    font-size: 3.2rem;  /* Scaled up text */
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.4rem; /* Scaled up text */
    padding: 0 1rem; /* prevent text hitting edges */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.8rem; /* Even smaller for very small screens */
  }
  .hero p {
    font-size: 1.3rem;
  }
}

/* 3. Story Section Stacking */
@media (max-width: 900px) {
  .story-content {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .story-illustration,
  .story-text {
    width: 100%;
  }

  .story-text {
    text-align: center;
  }
  
  .story-text h3 {
      text-align: center;
      font-size: 2.2rem;
  }
}

/* 4. Specialties Grid Adjustment */
@media (max-width: 480px) {
  .specialties-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .specialty-item {
      min-height: 250px; /* Ensure height for bg image */
  }
}

/* 5. Gallery Mobile Fix */
@media (max-width: 768px) {
  .slide {
    width: 300px; /* Smaller slides on mobile */
    height: 220px;
  }
  
  .gallery-track {
    width: calc(300px * 12);
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-300px * 6));
    }
  }
}

@media (max-width: 480px) {
  .slide {
    width: 260px;
    height: 200px;
  }
   .gallery-track {
    width: calc(260px * 12);
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-260px * 6));
    }
  }
}

/* 6. Pulse & Ambience Mobile Spacing */
@media (max-width: 768px) {
  .highlighted-pulse {
      padding: 2rem;
      margin-top: 3rem;
  }
  
  .highlighted-pulse h3 {
      font-size: 2rem;
  }
  
  .chip {
      padding: 0.4rem 1rem;
      font-size: 0.7rem;
  }
  
  .online-ordering {
      padding: 3rem 0;
  }
}

/* 7. Footer Mobile */
@media (max-width: 768px) {
    .contact-info span {
        display: block; /* Stack phone numbers */
        margin: 10px 0;
    }
}

/* Ambience Section Intro Override to ensure black text */
.ambience .section-intro {
  color: #000 !important;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
