:root {
  --leaf: #0a8f5b;
  --sky: #4fb4ff;
  --sand: #fff5e6;
  --ink: #0b2620;
  --muted: #5b7d73;
  --line: #dceae4;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
}
body.breeze {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
  color: var(--ink);
  background: radial-gradient(900px 500px at 10% -10%, #e7f7f1, transparent 70%),
    radial-gradient(800px 500px at 90% -15%, #e9f6ff, transparent 70%),
    linear-gradient(180deg, #f7fff9, #eefaf3);
  overflow-x: hidden;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
}
.row {
  display: flex;
  gap: 12px;
}
.row.between {
  justify-content: space-between;
}
.row.center {
  align-items: center;
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  position: relative;
}

/* Ensure header is always on top */
.hdr {
  z-index: 10001 !important;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.menu-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Tablet and mobile menu styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .hdr .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--line);
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    z-index: 10002;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .hdr .nav.nav-open {
    left: 0;
  }

  .hdr .nav a {
    display: block;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    text-decoration: none;
  }

  .hdr .nav a:last-child {
    border-bottom: none;
  }

  .hdr .nav a.btn {
    margin-top: 20px;
    text-align: center;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .hdr .wrap {
    padding: 12px 16px;
  }

  .hdr .logo {
    font-size: 16px;
  }

  .hdr .nav {
    width: 100%;
    max-width: 100vw;
    left: -100%;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .hdr .nav a {
    font-size: 18px;
    padding: 16px 0;
  }
}
.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #0c5a3e;
}
.nav a {
  margin-left: 14px;
  color: #0a3c2e;
  opacity: 0.9;
}
.nav a:hover {
  opacity: 1;
}
.nav .btn {
  background: linear-gradient(135deg, var(--leaf), var(--sky));
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.nav a.active {
  border-bottom: 2px solid var(--leaf);
}

/* Hero */
.hero {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 10px 28px rgba(10, 143, 91, 0.08);
}
.hero h1 {
  margin: 0 0 8px;
}
.tagline {
  color: var(--muted);
  margin: 0 0 10px;
}
.search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search input,
.search select {
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.search .btn {
  border: none;
}

/* Cards */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 0 40px;
}
.card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(77, 170, 255, 0.06);
  flex: 0 0 280px;
  min-width: 260px;
}
.poster-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.card:hover .poster {
  transform: scale(1.05);
}
.card-body {
  padding: 12px;
}
.muted {
  color: var(--muted);
}
.price {
  font-weight: 700;
  color: #074a33;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--leaf), var(--sky));
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.btn.small {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.btn.ghost {
  background: #fff;
  color: #0a3c2e;
  border: 1px solid var(--line);
}
.btn.danger {
  background: #ef4444;
  color: #fff;
}
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}
.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table tr:last-child td {
  border-bottom: none;
}

/* Sections */
.about {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about .about-highlight {
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

/* Booking form */
.book .auth-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form input,
.auth-form select,
.auth-form textarea {
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.error {
  background: #ffecec;
  border: 1px solid #ffb0b0;
  padding: 10px;
  border-radius: 10px;
  color: #8b1a1a;
}
.ok {
  background: #edfbea;
  border: 1px solid #b4e5c8;
  padding: 10px;
  border-radius: 10px;
  color: #0e6c43;
}

/* Admin */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.tabs a {
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.tabs a.active {
  background: linear-gradient(135deg, var(--leaf), var(--sky));
  color: #fff;
  border-color: transparent;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.ftr {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
}
.ftr .wrap {
  padding-top: 12px;
  padding-bottom: 18px;
}

/* --- Breeze Pro enhancements --- */
.hero-pro {
  background: linear-gradient(
    135deg,
    rgba(79, 180, 255, 0.15),
    rgba(10, 143, 91, 0.12)
  );
  position: relative;
  overflow: hidden;
}
.hero-pro::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(79, 180, 255, 0.35),
    rgba(79, 180, 255, 0) 60%
  );
  border-radius: 50%;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.features .feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.features .icon {
  font-size: 24px;
}
.cta-stripe {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  align-items: center;
}
.cta-right .btn.large {
  display: inline-block;
  margin-right: 10px;
}
.testimonials {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}
.testimonials .t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.testimonials blockquote {
  margin: 0;
  padding: 12px;
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.page-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
}
.page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}
.info-card {
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.p-card.highlight {
  box-shadow: 0 14px 40px rgba(10, 143, 91, 0.12);
  border-color: #cfeee3;
}
.p-card .big {
  font-size: 20px;
  font-weight: 800;
  color: #074a33;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.foot-links a {
  color: #0a3c2e;
  margin-right: 8px;
}

/* Booking cards */
.booking-details {
  margin: 12px 0;
}

.booking-details p {
  margin: 4px 0;
  font-size: 14px;
}

.booking-status {
  margin-top: 12px;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.confirmed {
  background: #edfbea;
  color: #0e6c43;
  border: 1px solid #b4e5c8;
}

.status-badge.cancelled {
  background: #ffecec;
  color: #8b1a1a;
  border: 1px solid #ffb0b0;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  grid-column: 1 / -1;
}

.empty-state p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

/* Admin Panel Styles */
.admin-content {
  padding: 20px 0;
}

.admin-content h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.admin-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-form-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.admin-form .btn {
  margin-top: 20px;
  align-self: flex-start;
  min-width: 120px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.admin-form label {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  background: #fbfffd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(10, 143, 91, 0.1);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.admin-list-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.admin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.admin-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 300px;
  min-width: 280px;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 170, 255, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fbfffd;
  border-bottom: 1px solid var(--line);
}

.card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.card-body {
  padding: 12px;
}

.card-body p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--muted);
}

.card-body p strong {
  color: var(--ink);
}

.card-actions {
  padding: 8px 12px;
  background: #f8f9fa;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}

.status-badge.active {
  background: #edfbea;
  color: #0e6c43;
  border: 1px solid #b4e5c8;
}

.status-badge.inactive {
  background: #ffecec;
  color: #8b1a1a;
  border: 1px solid #ffb0b0;
}

.status-badge.confirmed {
  background: #edfbea;
  color: #0e6c43;
  border: 1px solid #b4e5c8;
}

.status-badge.cancelled {
  background: #ffecec;
  color: #8b1a1a;
  border: 1px solid #ffb0b0;
}
@media (max-width: 900px) {
  .cta-stripe {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Admin Panel Styles */
@media (max-width: 768px) {
  /* Admin content mobile */
  .admin-content {
    padding: 16px 0;
  }

  .admin-content h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* General cards mobile */
  .grid {
    gap: 12px;
    padding: 4px 0 20px;
  }

  .card {
    flex: 0 0 100%;
    min-width: auto;
  }

  .card-body {
    padding: 10px;
  }

  /* Admin section mobile */
  .admin-section {
    gap: 16px;
  }

  .admin-form-section {
    padding: 16px;
    margin-bottom: 16px;
  }

  .admin-form {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-grid {
    gap: 12px;
  }

  .admin-card {
    flex: 0 0 100%;
    min-width: auto;
  }

  .card-header {
    padding: 6px 10px;
  }

  .card-header h3 {
    font-size: 14px;
  }

  .card-body {
    padding: 10px;
  }

  .card-body p {
    font-size: 13px;
    margin: 3px 0;
  }

  .card-actions {
    padding: 6px 10px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .card-actions .btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Table scroll for mobile */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--line);
    margin: 0 -16px;
    padding: 0 16px;
    background: white;
    position: relative;
  }

  .table-container::before {
    content: "← Swipe to see more →";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
  }

  .table {
    min-width: 900px;
    font-size: 13px;
    width: 100%;
    margin: 0;
  }

  .table th,
  .table td {
    padding: 8px 6px;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    min-width: 80px;
  }

  .table th:first-child,
  .table td:first-child {
    position: sticky;
    left: 0;
    background: white;
    z-index: 3;
    border-right: 2px solid var(--primary);
    font-weight: bold;
    min-width: 140px;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  }

  .table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--ink);
  }

  .table th:first-child {
    background: var(--primary);
    color: white;
  }

  .table input[type="number"] {
    width: 65px !important;
    font-size: 12px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    text-align: center;
    background: white;
  }

  .table input[type="number"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(12, 90, 62, 0.1);
  }

  /* Tabs responsive */
  .tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tabs a {
    padding: 6px 8px;
    font-size: 13px;
    flex: 1;
    text-align: center;
    min-width: 80px;
  }

  /* Admin form inputs mobile */
  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 8px 10px;
  }

  /* Checkbox mobile */
  .checkbox-group {
    gap: 6px;
  }

  .checkbox-label {
    font-size: 14px;
  }
}

/* Extra small mobile devices (360px and below) */
@media (max-width: 480px) {
  .wrap {
    padding: 12px;
  }

  .admin-content {
    padding: 12px 0;
  }

  .admin-content h1 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .admin-form-section {
    padding: 12px;
    margin-bottom: 12px;
  }

  .admin-form {
    gap: 12px;
  }

  .form-group {
    gap: 4px;
  }

  .admin-form label {
    font-size: 13px;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    font-size: 16px;
    padding: 6px 8px;
  }

  .admin-grid {
    gap: 8px;
  }

  .admin-card {
    border-width: 1px;
  }

  .card-header {
    padding: 4px 8px;
  }

  .card-header h3 {
    font-size: 13px;
  }

  .card-body {
    padding: 8px;
  }

  .card-body p {
    font-size: 12px;
    margin: 2px 0;
  }

  .card-actions {
    padding: 4px 8px;
    gap: 4px;
  }

  .card-actions .btn {
    font-size: 11px;
    padding: 3px 6px;
  }

  /* Tabs for very small screens */
  .tabs {
    gap: 4px;
  }

  .tabs a {
    padding: 4px 6px;
    font-size: 12px;
    min-width: 60px;
  }

  /* Table adjustments for small screens */
  .table-container {
    margin: 0 -12px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .table-container::before {
    content: "← Scroll →";
    font-size: 10px;
    bottom: -20px;
  }

  .table {
    min-width: 700px;
    font-size: 12px;
  }

  .table th,
  .table td {
    padding: 6px 4px;
    min-width: 70px;
  }

  .table th:first-child,
  .table td:first-child {
    min-width: 120px;
    font-size: 11px;
  }

  .table input[type="number"] {
    width: 55px !important;
    font-size: 11px;
    padding: 4px;
  }
  
  /* Stock cards mobile */
  .stock-grid {
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .stock-card .card-header {
    padding: 10px 12px;
  }
  
  .stock-card .card-header h3 {
    font-size: 14px;
  }
  
  .stock-card .card-body {
    padding: 12px;
    gap: 8px;
  }
  
  .stock-item {
    padding: 6px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .stock-item label {
    font-size: 13px;
    margin-right: 0;
    margin-bottom: 4px;
  }
  
  .stock-input {
    width: 100% !important;
    max-width: 120px;
    padding: 6px;
    font-size: 13px;
  }

  /* Status badges for small screens */
.status-badge {
  padding: 2px 6px;
  font-size: 10px;
}

/* Map styles */
.map-hero {
  text-align: center;
  margin-bottom: 24px;
}

/* Ensure map doesn't overlap menu */
#map {
  position: relative;
  z-index: 1;
}

/* Leaflet map container z-index fix */
.leaflet-container {
  z-index: 1 !important;
}

.leaflet-popup {
  z-index: 1000 !important;
}

/* Stock cards styles */
.stock-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.stock-card {
  border: 2px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}

.stock-card .card-header {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  margin: 0;
}

.stock-card .card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.stock-card .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.stock-item:last-child {
  border-bottom: none;
}

.stock-item label {
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  margin-right: 12px;
}

.stock-input {
  width: 80px !important;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  background: white;
}

.stock-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(12, 90, 62, 0.1);
}
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}
