/* project.css */

/* ─── RESET & BASE ───────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: Arial, sans-serif;
  background: #fafafa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* ─── UTILITIES ─────────────────────────────────────────────────── */
.btn,
.cta-btn,
.read-more-btn,
form button,
.contact-form button,
.reservation-card button {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
}
.btn:hover,
.cta-btn:hover,
.read-more-btn:hover,
form button:hover,
.contact-form button:hover,
.reservation-card button:hover {
  background: #e65c00;
}

/* ─── HEADER & NAV ──────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 4000;
}
.logo {
  height: 40px;
}
.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 4001;
}
/* Off-canvas Navigation */
.main-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 250px;
  padding-top: 60px;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 3000;
}
.main-nav.active {
  transform: translateX(0);
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ff6600;
  background: #fafafa;
}
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2000;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Desktop Navigation */
@media (min-width: 601px) {
  .nav-toggle,
  .nav-overlay {
    display: none;
  }
  .main-nav {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    width: auto;
    padding: 0;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
  .main-nav a {
    border: none;
    padding: 0;
  }
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  p  { font-size: 0.9rem; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  p  { font-size: 1rem; }
}

/* ─── LAYOUT ───────────────────────────────────────────────────── */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: auto;
}

/* ─── COMPONENTS ───────────────────────────────────────────────── */
/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 2rem;
}
.hero-video {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
}

/* Blog Posts */
.blog-post .post-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.blog-post .full-content {
  display: none;
  margin-top: 1rem;
}
.blog-post .post-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Menu Table */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.menu-table th,
.menu-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
}
@media (max-width: 600px) {
  .menu-table thead { display: none; }
  .menu-table tr {
    display: block;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .menu-table td {
    display: block;
    padding: 0.75rem 1rem;
    text-align: left;
    border: none;
  }
  .menu-table td + td {
    border-top: 1px solid #eee;
  }
  .menu-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    color: #666;
  }
}

/* Gallery */
.about-img,
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 1rem auto;
}
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

/* Events Listing */
.event-list {
  padding: 3rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow-y: auto;
  box-sizing: border-box;
}
.event {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}

/* Contact Page */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
}
@media (max-width: 768px) {
  .contact-page { grid-template-columns: 1fr; }
}
.contact-details .contact-info {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.map-container iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form h2 { margin-bottom: 1rem; }
.contact-form .form-row { display: flex; gap: 1rem; }
@media (max-width: 600px) {
  .contact-form .form-row { flex-direction: column; }
}
.contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: green;
}

/* Reservation Card */
.reservation-card {
  background: #fff;
  padding: 3rem;
  border-radius: 0;
  box-shadow: none;
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow-y: auto;
  box-sizing: border-box;
}
.reservation-card form {
  display: grid;
  gap: 1.5rem;
}
.reservation-card fieldset {
  border: none;
  padding: 0;
}
.reservation-card .guest-info,
.reservation-card .booking-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.reservation-card legend {
  font-weight: bold;
  margin-bottom: 1rem;
}
.reservation-card label {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.25rem;
  display: block;
}
.reservation-card input,
.reservation-card select,
.reservation-card textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
}
.reservation-card textarea { min-height: 6rem; }
#reservation-message {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  text-align: center;
  color: green;
}
