/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background: #f0f8ff;
}

/* Header / Navbar */
header {
  background: #002b5b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffc107;
  text-decoration: none;
}
.logo:hover {
  text-decoration: underline;
  cursor: pointer;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: url('lacalabg.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 15px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  background-color: #ffc107;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #e0a800;
}
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* --- Dynamic Calendar Styles --- */
#calendar-container {
  overflow-x: auto;
}

.calendar {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.calendar th,
.calendar td {
  width: 14.28%;
  padding: 10px;
  text-align: center;
  border: 1px solid #eee;
}

.calendar th {
  background: #f0f0f0;
  font-weight: bold;
}

.calendar td.past {
  color: #aaa;
  text-decoration: line-through;
}

.calendar td.today {
  background: #003366;
  color: white;
  font-weight: bold;
}

.calendar td:hover:not(.past):not(.today) {
  background: #def;
  cursor: pointer;
}
/* calendar.css */

/* 1) Make #calendar a 7-column grid */
#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 700px;      /* or whatever fits your layout */
  margin: 20px auto;     /* center and add vertical space */
  background: #fff;      
  padding: 12px;
  border-radius: 8px;
}

/* 2) Style the weekday headers */
#calendar .header {
  background: #f0f0f0;
  text-align: center;
  font-weight: bold;
  padding: 10px 0;
}

/* 3) Style each date cell */
#calendar .day {
  background: white;
  border: 1px solid #ddd;
  text-align: center;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

/* 4) Hover state for selectable days */
#calendar .day:not(.past):not(.booked):not(.today):hover {
  background: #def;
}

/* 5) Cross-out past days */
#calendar .day.past {
  color: #aaa;
  text-decoration: line-through;
  cursor: default;
}

/* 6) Highlight today */
#calendar .day.today {
  background: #003366;
  color: white;
  font-weight: bold;
}

/* 7) Booked days */
#calendar .day.booked {
  background: #e57373;
  color: white;
  cursor: default;
}

/* 8) Selected day (if you add a .selected class in JS) */
#calendar .day.selected {
  outline: 3px solid #007bff;
}

/* 9) Ensure info-box and book button sit nicely below */
#info-box {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
}
#book-button {
  display: block;
  margin: 12px auto 0;
}
#calendar-title {
  color: #000 !important;       /* force black text */
  text-align: center;           /* center it */
  margin: 20px 0;               /* give it breathing room */
  font-size: 1.75rem;           /* if you want to tweak its size */
}
/* booking form styles inside #info-box */
#info-box form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  max-width: 600px;
  margin: 0 auto;
}
#info-box label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #003366;
}
#info-box input,
#info-box select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
#info-box button.submit-booking {
  grid-column: 1 / -1;
  padding: 12px;
  background: #003366;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#info-box button.submit-booking:hover {
  background: #0055a5;
}

