/* ===== Variables (flattened from SCSS) ===== */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #1a1a1a;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Navbar ===== */
.navbar {
  background: linear-gradient(90deg, #1a1a1a, #000);
}
.navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}
.navbar .nav-link:hover {
  color: #ffdf91 !important;
}

/* ===== Hero Section ===== */
header {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/1600x800?text=Restaurent+Interior') center/cover no-repeat;
  color: white;
  animation: fadeIn 1.5s ease-in-out forwards;
}
header h1, header p {
  animation: slideUp 1s ease-out forwards;
}
header .btn-primary {
  background-color: #b22222;
  border: none;
  transition: transform 0.3s, background 0.3s;
}
header .btn-primary:hover {
  background-color: #891919;
  transform: scale(1.05);
}

/* ===== Menu Cards ===== */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1.2s ease-in-out forwards;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.card .card-title {
  color: #b22222;
  font-weight: 600;
}

/* ===== Reservation Form ===== */
form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  animation: slideUp 1s ease-out forwards;
}
form input, form select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
}
form input:focus, form select:focus {
  border-color: #b22222;
  box-shadow: 0 0 0 0.2rem rgba(178,34,34,0.25);
}
form button {
  background-color: #b22222;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
form button:hover {
  background-color: #891919;
  transform: scale(1.05);
}
/* === Modern Gallery Grid === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  animation: fadeIn 1.2s ease-in-out forwards;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(85%);
}

/* ===== Different shapes for variety ===== */
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ===== Fade-in animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
  .gallery-item.wide,
  .gallery-item.large {
    grid-column: span 1;
  }
  .gallery-item.tall,
  .gallery-item.large {
    grid-row: span 1;
  }
}


/* ===== Footer ===== */
footer {
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.9rem;
  padding: 20px 0;
  letter-spacing: 0.5px;
  animation: fadeIn 1.2s ease-in-out forwards;
}
