/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: rgb(214, 137, 37);
  --glass: rgba(60, 40, 25, 0.35);
  --text: white;
  --accent-brown: brown;
  --accent-light: burlywood;
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem; /* keeps section titles clear of the fixed header */
}

body {
  min-height: 100vh;
  background: url("media/background.png") center / cover no-repeat fixed;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

/* ===== HEADER & NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 2rem;
  background: var(--glass);
  backdrop-filter: blur(6px);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.5rem);
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--accent-brown);
  border-radius: 5px;
  transition: width 0.3s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent-light);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

/* ===== SECTIONS (shared) ===== */
section {
  width: min(90%, 1100px);
  margin-inline: auto;
  padding-block: 12vh 4vh;
}

h2 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--primary);
}

h3 {
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

section p {
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.2vw, 1.25rem);
  font-weight: 400;
}

/* ===== HOME / ABOUT ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20vh;
}

.hero p,
#about p {
  max-width: 40rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.5rem;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: scale(1.05);
}

#about {
  min-height: 70vh;
}

.tagline {
  margin-top: 1rem;
  color: var(--primary);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  margin-block: 10vh 4vh;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--accent-light);
  text-align: justify;
  font-size: clamp(0.8rem, 1.2vw, 1.25rem);
}

.why-item:last-child {
  border-right: none;
}

.why-item h4 {
  margin-bottom: 0.5rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--primary);
}

/* ===== MENU ===== */
.section-intro {
  max-width: 36rem;
  margin-block: 0.5rem 2rem;
}

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

.menu-card {
  padding: 1rem;
  background: var(--glass);
  border-radius: var(--radius);
  transition: transform 0.3s ease-in-out;
}

.menu-card:hover {
  transform: scale(1.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 1vw, 1.1rem);
}

th {
  padding-bottom: 0.75rem;
  text-align: left;
  color: var(--primary);
}

td {
  padding: 0.35rem 0;
}

td:last-child {
  text-align: right;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border: 2px solid whitesmoke;
  border-radius: 1rem;
  transition: transform 0.3s ease-in-out;
}

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

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5)
{
  grid-row: span 2;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}

.contact-info {
  font-style: normal;
}

.contact-info p {
  margin-block: 0.5rem;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}

.contact-info a {
  color: var(--accent-light);
}

.hours {
  margin-left: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-light);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: inherit;
  font-size: clamp(0.85rem, 1vw, 1rem);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  border-color: var(--primary);
  background: black;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.03);
  background: var(--primary);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--glass);
  text-align: center;
}