@font-face {
  font-family: 'Vivaldi';
  src: url('assets/fonts/vivaldi.woff2') format('woff2'),
    url('assets/fonts/vivaldi.woff') format('woff'),
    url('assets/fonts/vivaldi.ttf') format('truetype');
}

/* Reset browser defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  z-index: 1000;
}

/* ===== Logo Styling ===== */
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;

}

header .logo img {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  object-fit: contain;
  /* Keeps the logo’s proportions */
  border-radius: 100%;
  /* Optional – makes it circular */
}

header .logo span {
  font-family: 'vivaldi', cursive;
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  color: #ff9100;
  letter-spacing: 7px;
}

/* ===== NAVBAR GLOW + ZOOM EFFECT ===== */
nav {
  display: flex;
  gap: 1.8rem;
  transition: all 0.3s ease;
}

nav a {
  font-weight: 500;
  color: #ff8800be;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  text-decoration: none;
  transition: all 0.28s ease;
  position: relative;
}

/* Glow + Zoom on Hover */
nav a:hover {
  color: #ffd152;
  /* golden glow color */
  transform: scale(1.12);
  text-shadow: 0 0 6px rgba(255, 209, 82, 0.3px);
}

/* Optional underline glow animation */
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f3b23a, #fce57e);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===== BOOK A TABLE BUTTON WITH GOLDEN PULSE GLOW ===== */
.cta {
  background: linear-gradient(90deg, #f8b551e8, #66ffd1);
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Hover: stronger glow and zoom */
.cta:hover {
  transform: scale(1.08);
  background: linear-gradient(90deg, #ffd152, #ffe88a);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  color: #000;
}

/* ===== PULSE GLOW ANIMATION ===== */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 0 0 50px rgba(255, 215, 0, 0.3);
  }

  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2);
  }
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
}


/* --- Typography Scaling --- */
h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p,
a,
span,
li {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
}

/* Root variables */
:root{
  --bg: #f3f4f6;
  --card-bg: #ffffff;
  --accent: #c59d5f; /* golden */
  --muted: #6b7280;
  --text: #111827;
  --header-offset: 100px; /* fallback, script will set --reservation-top-offset if header present */
}

/* Layout */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;}
body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}

/* The section will always sit below header using the CSS variable set by JS */
.reservation-container {
  padding-top: calc(var(--reservation-top-offset, var(--header-offset)) + 20px);
  padding-bottom: 60px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  min-height: calc(100vh - 80px);
}

/* card */
.reservation-card {
  width: min(1000px, 94%);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.08);
  margin: 12px;
}

/* headings */
.reservation-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.6px;
}

/* section title micro */
.section-title {
  font-weight: 700;
  color: var(--muted);
  margin: 12px 0 8px;
  font-size: 0.95rem;
}

/* layout rows */
.card-row{
  display:flex;
  gap:14px;
  margin-bottom: 14px;
  align-items: flex-start;
  flex-wrap:wrap;
}

/* fields */
.field{
  flex:1 1 48%;
  min-width: 220px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.field.full{flex:1 1 100%}
.field label{font-size:0.92rem;color:var(--muted);font-weight:600}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea{
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #e6e6e9;
  font-size:1rem;
  background: #fff;
  color:var(--text);
  outline:none;
  transition: box-shadow .18s, border-color .15s;
}
.field textarea{resize:vertical}
.field input:focus,
.field select:focus,
.field textarea:focus{
  box-shadow:0 6px 18px rgba(197,157,95,0.12);
  border-color: rgba(197,157,95,0.4);
}

/* segmented meal chooser */
.segmented{
  display:flex;
  gap:8px;
  align-items:center;
}
.seg-btn{
  padding:8px 12px;
  border-radius:8px;
  border:1px solid #e6e6e9;
  background:#fff;
  font-weight:700;
  cursor:pointer;
}
.seg-btn.active{
  background:var(--accent);
  color:white;
  border-color:var(--accent);
}

/* steppers */
.people-row{gap:12px}
.people-control{flex:1 1 30%;min-width:140px}
.stepper{display:flex;gap:8px;align-items:center}
.stepper-input{width:64px;text-align:center;padding:8px;border-radius:8px;border:1px solid #e6e6e9}
.stepper-btn{background:#fff;border:1px solid #e6e6e9;border-radius:8px;padding:6px 10px;cursor:pointer;font-weight:700}
.stepper-btn:active{transform:translateY(1px)}

/* time slots */
.time-slots{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
  margin: 12px 0 18px;
}
.time-slot{
  padding:10px 8px;
  background:#fff;
  border-radius:8px;
  border:1px solid #e6e6e9;
  cursor:pointer;
  text-align:center;
  font-weight:600;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.time-slot:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(2,6,23,0.06)}
.time-slot.selected{background:var(--accent);color:white;border-color:var(--accent)}

/* actions */
.actions-row{display:flex;gap:12px;justify-content:flex-end;margin-top:6px;flex-wrap:wrap}
.btn{padding:10px 16px;border-radius:8px;border:none;cursor:pointer;font-weight:700}
.btn.primary{background:var(--accent);color:white}
.btn.ghost{background:transparent;border:1px solid #ddd;color:var(--text)}
.res-status{margin-top:10px;font-size:0.95rem;min-height:1.35rem;opacity:0.95}
.res-status.success{color: #065f46}
.res-status.error{color:#b91c1c}

/* responsive breakpoints */

/* 1400px and below: reduce columns */
@media (max-width: 1400px){
  .time-slots{grid-template-columns: repeat(4, 1fr)}
}

/* laptops/tablets */
@media (max-width: 992px){
  .reservation-card{padding:24px}
  .time-slots{grid-template-columns: repeat(3, 1fr)}
  .card-row{gap:12px}
  .field{min-width:180px}
}

/* small tablets / large phones */
@media (max-width: 768px){
  :root{--reservation-top-offset: calc(var(--reservation-top-offset, 100px));}
  .reservation-container{padding-top: calc(var(--reservation-top-offset, 100px) + 12px)}
  .reservation-card{width:94%;padding:18px}
  .card-row{flex-direction:column}
  .field{flex:1 1 100%}
  .people-control{flex:1 1 100%}
  .time-slots{grid-template-columns: repeat(2, 1fr)}
  .segment{gap:6px}
  .actions-row{justify-content:space-between}
}

/* phones */
@media (max-width: 480px){
  .reservation-card{padding:14px;border-radius:10px}
  .time-slots{grid-template-columns: repeat(2, 1fr);gap:8px}
  .time-slot{padding:8px;font-size:0.95rem}
  .reservation-card h1{font-size:1.3rem}
  .section-title{font-size:0.88rem}
  .btn{padding:10px 12px;font-size:0.95rem}
}

/* tiny phones */
@media (max-width:360px){
  .time-slots{grid-template-columns: repeat(1, 1fr)}
  .time-slot{padding:8px;font-size:0.9rem}
}

.footer {
  background-color: #000;
  color: #ccc;
  padding: 50px 5%;
  font-family: 'Poppins', sans-serif;
}

/* Style for phone number and email links */
.footer a[href^="tel"],
.footer a[href^="mailto"] {
  color: #ff9c08;
  /* Change this to your desired color */
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* Optional hover effect */
.footer a[href^="tel"]:hover,
.footer a[href^="mailto"]:hover {
  color: #0bc8f7;
  /* Turns white when hovered */
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #333;
  padding-bottom: 25px;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-logo {
  font-size: 2rem;
  margin-top: -10px;
  font-weight: bold;
  color: white;
  font-family: 'Playfair Display', serif;
}

.footer-column h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #aaa;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #777;
}

.footer-bottom h3 {
  color: #eb8007;
}

.social-icons {
  margin: 15px 0;
}

.social-icons a {
  color: #ffffffe0;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: rgb(24, 218, 252);
}

.powered {
  color: #777;
}

.powered .iclx {
  color: #00ffff;
  font-weight: bold;
}