/* ==========================================================================
   THE BAYLEAF INDIAN RESTAURANT & TAKEAWAY
   Classic Luxury Dining Experience (Heanor DE75 7NR)
   Color System from Official Logo:
   - Base Dark Caviar: #231F20
   - Signature Champagne Gold: #DEBD70
   - Deep Antique Gold: #C6A55E
   - Warm Amber Gold: #BC9142
   - Pale Champagne Cream: #F4E8C1
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Logo Palette */
  --primary: #DEBD70;
  --primary-dark: #C6A55E;
  --primary-light: #F4E8C1;
  --accent: #BC9142;
  --gold-gradient: linear-gradient(135deg, #DEBD70 0%, #C6A55E 50%, #BC9142 100%);
  --gold-glow: 0 0 25px rgba(222, 189, 112, 0.25);

  /* Dark Luxury Theme Backgrounds */
  --bg-dark: #231F20;
  /* Logo Background */
  --bg-darker: #171415;
  /* Deep Canvas */
  --bg-card: #282325;
  /* Elevated Surface */
  --bg-card-hover: #302A2D;
  --bg-glass: rgba(35, 31, 32, 0.94);

  /* Text Colors */
  --text-main: #FDFBF7;
  --text-muted: #BDB5AC;
  --text-gold: #DEBD70;

  /* Borders */
  --border-subtle: rgba(222, 189, 112, 0.15);
  --border-gold: rgba(222, 189, 112, 0.35);
  --border-dark: #383134;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-muted);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.font-cursive {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary);
}

.text-gold {
  color: var(--primary) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
  font-family: var(--font-sans);
  cursor: pointer;
}

.btn-secondary {
  background: var(--gold-gradient);
  color: #151213;
  box-shadow: 0 4px 18px rgba(222, 189, 112, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(222, 189, 112, 0.5);
  color: #000;
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: rgba(222, 189, 112, 0.06);
}

.btn-outline:hover {
  background: var(--primary);
  color: #141112;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* Section Header standard */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
}

/* ==========================================================================
   HEADER
   Logo Left, Nav, Order Online Button Right
   ========================================================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(23, 20, 21, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1.5rem;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo a:hover img {
  filter: drop-shadow(0 0 12px rgba(222, 189, 112, 0.5));
}

#nav ul {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

#nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
}

#nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

#nav a:hover,
#nav a.active {
  color: var(--primary);
}

#nav a:hover::after,
#nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.35rem;
  color: var(--primary);
  padding: 0.4rem;
}

/* ==========================================================================
   HERO / 3 POSTERS SECTION
   ========================================================================== */
.hero {
  height: 90vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero-slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* 3 Poster Backgrounds */
.slide-1 {
  background-image: url("images/banner/1.jpg");
}

.slide-2 {
  background-image: url("images/banner/2.jpg");
}

.slide-3 {
  background-image: url("images/banner/3.jpg");
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(23, 20, 21, 0.92) 0%,
      rgba(23, 20, 21, 0.65) 50%,
      rgba(23, 20, 21, 0.88) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  max-width: 720px;
  text-align: left;
  padding: 0 1.5rem;
}

.slide-subtitle {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.15rem;
  color: #D6CEC5;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(35, 31, 32, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 20;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: #141112;
  box-shadow: 0 0 18px rgba(222, 189, 112, 0.5);
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(222, 189, 112, 0.3);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 12px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: 6.5rem 0;
  background: var(--bg-dark);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.about-tag {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--primary-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  padding: 0.85rem 1.15rem;
  border-radius: 6px;
  transition: var(--transition);
}

.about-badge-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.about-badge-item i {
  color: var(--primary);
  font-size: 1.15rem;
}

.about-badge-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.about-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold-gradient);
  color: #151213;
  padding: 1.25rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.about-float-card .big {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1;
}

.about-float-card .sub {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   MENU PREVIEW SECTION
   ========================================================================== */
.menu-preview {
  padding: 6.5rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.menu-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.menu-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-img-wrap img {
  transform: scale(1.08);
}

.menu-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(23, 20, 21, 0.88);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.menu-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--gold-gradient);
  color: #120F10;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.menu-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: #fff;
}

.menu-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
}

.menu-view-all {
  text-align: center;
  margin-top: 3.5rem;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery {
  padding: 6.5rem 0;
  background: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 270px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 20, 21, 0.9) 0%, transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  color: var(--primary-light);
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* ==========================================================================
   FIND US SECTION
   ========================================================================== */
.find-us {
  padding: 6.5rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
}

.find-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: stretch;
}

.find-info {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.find-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.find-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(222, 189, 112, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.detail-text h4 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.detail-text p,
.detail-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.detail-text a:hover {
  color: var(--primary);
}

.find-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.find-map {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  min-height: 460px;
}

.find-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

/* ==========================================================================
   FOOTER (Exact Match to Reference & Screenshot)
   ========================================================================== */
footer#contact {
  background: #141013;
  color: #fff;
  padding: 70px 0 0;
  border-top: 1px solid rgba(222, 189, 112, 0.2);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-col {
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.footer-logo-link {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  padding: 10px 16px;
  transition: var(--transition);
  line-height: 0;
}

.footer-logo-link:hover {
  box-shadow: 0 6px 20px rgba(222, 189, 112, 0.35);
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col:first-child h4::after {
  display: none;
}

.footer-col p {
  margin-bottom: 14px;
  color: #D4CDC5;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-col a {
  color: #D4CDC5;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col i {
  color: var(--primary);
  margin-right: 10px;
}

/* Opening Hours in Footer */
.opening-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 5px;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(222, 189, 112, 0.1);
}

.opening-hours .day {
  color: #D4CDC5;
  font-size: 0.88rem;
  font-weight: 500;
}

.opening-hours .time {
  color: var(--primary);
  font-size: 0.88rem;
  text-align: right;
  font-weight: 600;
}

/* App Buttons */
.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.app-btn {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(222, 189, 112, 0.25);
  transition: var(--transition);
  width: 100%;
  max-width: 200px;
}

.app-btn img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.app-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(222, 189, 112, 0.35);
  transform: translateY(-3px);
}

/* Footer Bottom Powered By */
.footer-bottom {
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(222, 189, 112, 0.12);
  text-align: center;
  padding: 22px 0;
}

.footer-bottom p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #BDB5AC;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.footer-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.gogrubz-brand {
  color: #fc353a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gogrubz-link {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

.gogrubz-link img {
  height: 22px;
  width: auto;
  display: block;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  color: #141112;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.15rem;
  box-shadow: 0 5px 20px rgba(222, 189, 112, 0.45);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(222, 189, 112, 0.6);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    left: 5%;
    max-width: 600px;
  }

  .about-grid,
  .find-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

@media (max-width: 768px) {
  #nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #171415;
    border-bottom: 1px solid var(--border-gold);
    padding: 2rem;
    display: none;
  }

  #nav.open {
    display: block;
  }

  #nav ul {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: block;
  }

  .prev-btn,
  .next-btn {
    display: none;
  }

  .hero-content {
    left: 0;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

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

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

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}