/* Vembanad Houseboats - Stylesheet */
:root {
  --primary: #0e3d32;
  --primary-light: #185344;
  --primary-dark: #07231c;
  --accent: #d4a359;
  --accent-hover: #be8e45;
  --accent-light: #f6eedf;
  --bg-cream: #faf7f2;
  --bg-white: #ffffff;
  --text-dark: #202724;
  --text-muted: #5e6b66;
  --text-light: #ffffff;
  --border-color: #e3ded6;
  --status-free: #1b8a5a;
  --status-free-bg: #eafaf1;
  --status-booked: #c83232;
  --status-booked-bg: #fdeeee;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
header.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(14,61,50,0.3);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.1;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
}

nav.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

nav.main-nav a:hover {
  color: var(--accent);
}

.admin-link-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary) !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-link-btn:hover {
  background-color: var(--primary);
  color: white !important;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(14, 61, 50, 0.75), rgba(7, 35, 28, 0.85)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect fill="%230e3d32" width="1200" height="600"/><path fill="%23185344" d="M0 350 Q300 280 600 350 T1200 350 L1200 600 L0 600 Z"/><path fill="%2307231c" d="M0 430 Q300 380 600 430 T1200 430 L1200 600 L0 600 Z"/><circle cx="950" cy="180" r="60" fill="%23d4a359" opacity="0.4"/></svg>') center/cover;
  color: var(--text-light);
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(212, 163, 89, 0.25);
  border: 1px solid var(--accent);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  color: #e0e9e5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 163, 89, 0.4);
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
  display: block;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Houseboat Cards */
.boats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.boat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.boat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Placeholder Box for Boats & Gallery */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 210px;
  background-color: #edf5f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px dashed #b8d6c5;
}

.placeholder-icon {
  width: 52px;
  height: 52px;
}

.placeholder-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.3px;
}

.boat-img-wrap {
  position: relative;
  height: 210px;
  background: #edf5f0;
  overflow: hidden;
}

.boat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 61, 50, 0.88);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.boat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.boat-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.boat-spec {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.features-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Pricing Box inside Card */
.pricing-box {
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-top: auto;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row .val {
  font-weight: 700;
  color: var(--primary);
}

.peak-tag {
  color: #b54708;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-action {
  margin-top: 1rem;
}

.card-action .btn {
  width: 100%;
}

/* Packages Section */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.package-card.featured {
  border-color: var(--accent);
  background: linear-gradient(to bottom, #ffffff, #fcf9f4);
}

.package-pill {
  position: absolute;
  top: -12px;
  right: 25px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.package-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.package-time {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.package-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.package-inclusions {
  list-style: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.package-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.package-inclusions li span.icon {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Food Highlight Banner */
.food-banner {
  background: linear-gradient(135deg, #123d33, #0a231d);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.food-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.food-text p {
  max-width: 600px;
  color: #d1ded8;
  font-size: 0.95rem;
}

.food-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.food-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 163, 89, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #ddd;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7,35,28,0.9), transparent);
  color: white;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Interactive Availability & Booking Section */
.booking-calendar-section {
  background-color: #f3efe9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.booking-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

/* Calendar Styles */
.calendar-card {
  display: flex;
  flex-direction: column;
}

.boat-selector-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.boat-tab {
  padding: 0.5rem 1rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.boat-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
}

.cal-nav-btn {
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: bold;
}

.cal-nav-btn:hover {
  background: var(--border-color);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-cream);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.cal-cell.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.cal-cell.free {
  background: var(--status-free-bg);
  border-color: rgba(27, 138, 90, 0.4);
  color: var(--status-free);
}

.cal-cell.booked {
  background: var(--status-booked-bg);
  border-color: rgba(200, 50, 50, 0.4);
  color: var(--status-booked);
  cursor: not-allowed;
  opacity: 0.85;
}

.cal-cell.booked::after {
  content: "Booked";
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.cal-cell.selected {
  outline: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 61, 50, 0.2);
}

.cal-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-dot.free {
  background-color: var(--status-free);
}

.legend-dot.booked {
  background-color: var(--status-booked);
}

/* Booking Enquiry Form */
.enquiry-form-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.enquiry-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.enquiry-form-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.92rem;
  background-color: white;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 61, 50, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #25d366;
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  font-size: 2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer.site-footer {
  background-color: var(--primary-dark);
  color: #b5c7c0;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h5 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* =========================================================
   Admin Portal Specific Styles
========================================================= */
.admin-body {
  background-color: #f0f4f2;
  min-height: 100vh;
}

.admin-header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.admin-badge {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.admin-main {
  padding: 2.5rem 0 4rem;
}

.auth-card {
  max-width: 420px;
  margin: 2rem auto;
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.auth-card h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.auth-card p.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.admin-panel-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-instruction {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  animation: fadeIn 0.25s ease;
}

.toast.error {
  background-color: var(--status-booked);
}

.toast.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.85rem;
  }
  .section-head h2 {
    font-size: 1.65rem;
  }
  .cal-cell {
    font-size: 0.78rem;
  }
  .cal-cell.booked::after {
    display: none; /* Hide text on small screens, color suffices */
  }
  .nav-wrap {
    flex-direction: column;
    gap: 0.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
