:root {
  --bg: #060606;
  --fg: #ffffff;
  --accent: #fb4c45;
  --accent-dark: #d93b37;
  --muted: #c7c6c3;
  /* Responsive Font Sizes */
  --fs-h1: clamp(2.5rem, 8vw, 4.5rem);
  --fs-h2: clamp(2rem, 6vw, 4rem);
  --fs-script: clamp(3rem, 10vw, 10rem);
  --fs-sub: clamp(1rem, 3vw, 1.5rem);
  --fs-btn: clamp(0.9rem, 2vw, 1.1rem);

  /* Responsive Spacing */
  --space-x: clamp(20px, 5vw, 80px);
  --space-y: clamp(40px, 8vh, 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "League Spartan", system-ui, -apple-system, BlinkMacSystemFont;
  background: #111111;
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* --- LAYOUT HELPERS --- */
.page-frame {
  width: 100%;
  min-height: 100vh;
  background: #111;
}

.panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.panel-inner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: var(--space-y) var(--space-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* --- TYPOGRAPHY --- */
@font-face {
  font-family: "Amsterdam";
  src: url("assets/Amsterdam.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.block-heading {
  font-family: "League Spartan", system-ui;
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 32px;
  text-transform: none;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

p {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-btn);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, color 0.15s ease-out;
}

.btn-red {
  background: #f0443a;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.btn-red:hover {
  background: #d73730;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn-white {
  background: #ffffff;
  width: auto;
  min-width: 200px;
  color: #e02a26;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn-white:hover {
  transform: translateY(-2px) scale(1.02);
}

/* --- GLOBAL SOCIALS (Fixed Top-Right) --- */
.global-socials {
  position: fixed;
  top: 30px;
  right: 40px;
  display: flex;
  gap: 20px;
  z-index: 9999;
}

.global-socials svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease, fill 0.2s ease;
}

.global-socials a:hover svg {
  transform: scale(1.15);
  fill: var(--accent);
}

/* ========== SLIDE 1 – HERO ========== */
.panel-hero {
  position: relative;
  background: url("assets/hero sec image.png") center/cover no-repeat;
  padding: 48px 96px 72px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.panel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.panel-hero>* {
  position: relative;
  z-index: 1;
}

.hero-header {
  position: absolute;
  top: 90px;
  /* Moved down to avoid overlapping fixed icons */
  right: 72px;
  display: flex;
  align-items: center;
}

.hero-header img {
  width: clamp(250px, 40vw, 600px);
  height: auto;
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

.hero-main {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.hero-title {
  max-width: 100%;
  align-self: flex-end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(30px, 10vw, 70px);
}

.hero-script {
  display: block;
  font-family: "Amsterdam", cursive;
  font-size: var(--fs-script);
  line-height: 1;
  margin-bottom: clamp(-20px, -4vw, -50px);
  color: #ffffff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

.hero-heading {
  display: block;
  font-family: "League Spartan";
  font-weight: 900;
  font-size: var(--fs-h1);
  margin-left: clamp(0px, 6vw, 70px);
  margin-bottom: clamp(30px, 8vw, 80px); 
  text-transform: lowercase;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.9);
}

@media (max-width: 1024px) {
  .hero-script {
    margin-bottom: clamp(-10px, -2vw, -25px);
  }
  .hero-heading {
    margin-left: 0;
    margin-bottom: clamp(20px, 6vw, 50px);
  }
}

.hero-subtext {
  display: block;
  font-family: "League Spartan";
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-left: 40px;
  margin-top: -60px;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}
.hero-right {
  text-align: right;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.hero-sub {
  font-size: var(--fs-sub);
  font-weight: 600;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* ========== SLIDE 2 – MENU + DELIVERY ========== */
.panel-menu {
  /* Unified background for the whole slide to match Page 4 */
  background: url("assets/lolo.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  overflow: hidden;
}

.panel-menu-inner {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  padding: 0 !important;
  height: 100vh;
  width: 100%;
  align-items: stretch;
}

.menu-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 60px 5% 60px 15%;
  background-color: transparent;
  /* Removed solid color */
  z-index: 10;
}

.menu-left .block-heading {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-left .btn-white {
  font-size: 1.1rem;
  font-weight: 900;
  color: #d83b3b;
  margin-bottom: 50px;
}

.menu-delivery-section {
  margin-top: 20px;
  width: 100%;
}

.delivery-title {
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffffff;
  /* White text to contrast with dark background */
  text-transform: uppercase;
}

.delivery-icons-row {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 25px;
  width: 100%;
}

.delivery-icons-row img {
  width: 100%;
  max-width: 150px;
  min-width: 80px;
  height: auto;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  /* Added shadow */
  transition: transform 0.2s ease;
  flex-shrink: 1;
}

.delivery-icons-row img:hover {
  transform: scale(1.1);
}

.delivery-icons-row img:active {
  transform: scale(0.95);
}

.menu-right {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-food-image {
  width: 65%;
  max-width: 500px;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.8);
  /* Added border like Page 4 */
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: block;
  margin-bottom: 10%;
}

/* ========== SLIDE 3 – LOCATION / VIDEO ========== */
.panel-location {
  position: relative;
  background-color: #f7c879;
  background-image:
    linear-gradient(rgba(247, 200, 121, 0.85), rgba(247, 200, 121, 0.85)),
    url("assets/Paradise On Your Platter Dishes.png");
  background-size: 350px;
  background-repeat: repeat;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-video {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* ========== SLIDE 4 – PLAN ========== */
.panel-plan {
  background: url("assets/lolo.png") no-repeat center center;
  background-size: cover;
}

.panel-plan-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding: 72px 96px;
  align-items: center;
  gap: 60px;
}

.plan-left {
  border: 5px solid #f7b1b1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.plan-left img.plan-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.plan-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 520px;
}

.plan-heading {
  font-size: 3.4rem;
  /* Reduced from default 32px to 15px to pull subtitle closer */
  margin-bottom: 15px;
  line-height: 1.1;
}

.plan-sub {
  font-size: 1.2rem;
  font-style: italic;
  /* Reduced from 32px to 24px to pull button closer */
  margin-bottom: 24px;
}

/* ========== SLIDE 5 – BOOKING ========== */
.panel-book-new {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5)), url('assets/5.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh;
  color: white;
}

.book-layout {
  display: flex;
  flex-direction: column;
  padding: 40px 5% 100px 5%;
  height: 100vh;
  justify-content: space-evenly;
}

.book-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.book-logo {
  width: clamp(200px, 25vw, 350px);
}

.book-title-group {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.book-title {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0 0 15px 0;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.book-btn {
  font-size: 1.3rem;
  padding: 12px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(240, 68, 58, 0.4);
}

.book-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  width: 100%;
  align-items: flex-end;
}

/* --- FIXED ALIGNMENT FOR TIMINGS & CONTACT --- */

.book-info {
  font-family: "League Spartan", sans-serif;
  text-align: center;
  padding-bottom: 40px;
  width: 100%;
}

.info-title {
  /* Scales font size so it doesn't look huge on mobile */
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.timing-grid {
  display: grid;
  grid-template-columns: max-content max-content;
  width: fit-content;
  margin: 0 auto 30px auto;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  gap: 10px 24px;
  justify-content: center;
}

.timing-grid .day {
  text-align: left;
  white-space: nowrap;
  /* Forces "Monday - Friday" to stay on one line */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.timing-grid .time {
  text-align: left;
  white-space: nowrap;
  /* Forces time to stay on one line */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-item .icon {
  font-size: 1.4rem;
  margin-top: 2px;
}

.book-map-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-label {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.map-box {
  width: 100%;
  height: 350px;
  border: 3px solid #ffffff !important;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.book-socials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 10px;
}

.book-socials svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease, fill 0.2s ease;
  cursor: pointer;
}

.book-socials a {
  display: block;
  line-height: 0;
}

.book-socials a:hover svg {
  transform: scale(1.15);
  fill: var(--accent);
}

.page-footer {
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.6);
  font-family: "League Spartan", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ========================================= */
/* RESPONSIVE LAYOUTS (TABLETS & MOBILE) */
/* ========================================= */

@media (max-width: 1024px) {
  .panel-inner {
    padding: 40px 20px;
  }

  /* --- HERO MOBILE --- */
  .hero-main {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-header {
    position: static;
    margin-bottom: 20px;
    justify-content: center;
  }

  .hero-header img {
    width: 85vw !important;
    min-width: 300px !important;
    max-width: none !important;
  }

  .hero-title {
    text-align: center;
    order: 1;
    align-items: center;
  }

  .hero-right {
    align-items: center;
    text-align: center;
    order: 2;
    margin-top: 30px;
  }

  /* --- MENU MOBILE --- */
  .panel-menu-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto; 
    height: auto;
    min-height: 100vh;
  }

  .menu-left {
    padding: 80px 20px 40px; 
    order: 1;
    align-items: center;
    text-align: center;
  }
  
  .menu-left .block-heading {
    font-size: 3rem;
    line-height: 1;
  }

  .menu-delivery-section {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .delivery-icons-row {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 25px;
    justify-items: center;
    margin-top: 30px;
    width: 100%;
    max-width: 350px;
  }
  
  .delivery-icons-row img {
    width: 100%;
    max-width: 120px; 
    height: auto;
  }

  .menu-right {
    order: 2;
    width: 100%;
    min-height: 300px;
    height: auto;
    margin: 0 !important;
  }
  
  .menu-food-image {
    width: 90%;
    margin: 0 auto 40px auto;
  }
  
  .chef-credit {
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  /* --- PLAN MOBILE --- */
  .panel-plan-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .plan-right {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  /* --- BOOKING MOBILE (Centered & Aligned) --- */
  .book-layout {
    height: auto;
    min-height: 100vh;
    padding: 40px 20px 100px;
    justify-content: flex-start;
    gap: 40px;
  }

  .book-header-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .book-title-group {
    align-items: center;
  }

  .book-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .book-info {
    text-align: center;
    width: 100%;
    padding-bottom: 0;
  }

  /* FIXED TIMING GRID FOR MOBILE */
  .timing-grid {
    justify-content: center;
    margin: 0 auto 30px auto;
    width: fit-content; 
    /* Reduced gap and font size to fit perfectly on phones */
    gap: 5px 15px; 
    font-size: 1.2rem; 
  }

  .contact-details {
    align-items: center;
    width: 100%;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
    width: 100%;
    /* Ensure icon doesn't look weird next to wrapped text */
    align-items: center; 
  }

  .book-map-area {
    width: 100%;
  }

  .book-socials {
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;
  }
  
  .global-socials {
    right: 20px;
    top: 20px;
  }
}
