/* Updated style.css with wave backgrounds and Big Caslon */
:root {
  --dark-blue: hsl(220, 60%, 30%);   /* deep blue hint */
  --blue: hsl(210, 55%, 60%);        /* medium blue */
  --sky-blue: hsl(210, 70%, 85%);    /* light sky blue */
  --off-white: hsl(210, 30%, 95%);
  --accent: hsl(210, 70%, 70%);
  --text: hsl(210, 15%, 20%);
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

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

body {
  font-family: 'Big Caslon', serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* layered wave backgrounds */
body::before,
body::after,
.wave3 {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}
body::before {
  top: 0;
  height: 35vh;
  background: linear-gradient(135deg,
            var(--dark-blue),
            var(--blue),
            var(--sky-blue));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}
body::after {
  top: 25vh;
  height: 30vh;
  background: linear-gradient(135deg,
            var(--sky-blue),
            var(--off-white));
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}
.wave3 {
  top: 55vh;
  height: 30vh;
  background: linear-gradient(135deg,
            var(--off-white),
            var(--blue));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

/* Executive Modern Header */
header.header {
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 30, 80, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 1000;
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 40, 100, 0.08);
}

.header-brand h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.5px;
  margin: 0;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(225, 238, 255, 0.7);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 80, 180, 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.top-info p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.top-info strong {
  color: var(--dark-blue);
  font-weight: 700;
}

.top-info a {
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.top-info a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.info-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.18);
}

/* Row 2: Navigation Bar */
.header-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-menu {
  width: 100%;
}

.nav-menu ul {
  list-style: none !important;
  list-style-type: none !important;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--dark-blue), var(--blue));
  box-shadow: 0 4px 12px rgba(30, 60, 120, 0.2);
}

/* Hamburger button for small screens */
.hamburger-btn {
  display: none;
  background: rgba(210, 230, 255, 0.8);
  border: 1px solid var(--blue);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.6rem 0.7rem;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s, transform 0.2s;
}

.hamburger-btn:hover {
  background: var(--sky-blue);
  transform: scale(1.03);
}

.hamburger-btn .bar {
  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--dark-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* main content */
main { flex:1; padding:2rem; }
section.card {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding:1.5rem;
  box-shadow:0 4px 12px var(--shadow);
  backdrop-filter:blur(8px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem 0;
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partners-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

footer.footer {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  padding: 1.75rem 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: auto;
}

.footer-contact-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-contact-block h3 {
  font-size: 1.25rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-contact-block p {
  margin: 0.35rem 0;
  color: var(--text);
  font-size: 1rem;
}

.footer-contact-block a {
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-contact-block a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.65);
}

/* Forms */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.label-icon {
  stroke: var(--dark-blue);
  flex-shrink: 0;
}
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-input-wrapper input {
  width: 100%;
  padding-right: 4.5rem !important;
}
button.toggle-password-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  color: var(--dark-blue) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  padding: 0.25rem 0.5rem !important;
  margin: 0 !important;
  border-radius: 4px;
  box-shadow: none !important;
  outline: none;
  line-height: 1;
}
button.toggle-password-btn:hover {
  background: rgba(0, 80, 180, 0.1) !important;
  color: var(--blue) !important;
}
.booking-form input,
.booking-form select,
.booking-form button:not(.toggle-password-btn) {
  padding: 0.8rem;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.booking-form button:not(.toggle-password-btn) {
  background: var(--blue);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.booking-form button:not(.toggle-password-btn):hover {
  background: var(--dark-blue);
}
.hidden {
  display: none;
}

/* Dashboard Styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.logout-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
}
.logout-btn:hover {
  background: #c0392b;
}

.summary-cards {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.summary-card {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
}
.summary-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.summary-card .stat {
  font-size: 2rem;
  font-weight: bold;
  color: var(--dark-blue);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.dashboard-section {
  padding: 1.5rem;
}
.dashboard-section h3 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.data-table th {
  font-weight: 600;
  color: var(--blue);
}
.inventory-list {
  list-style: none;
  padding: 0;
}
.inventory-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.inventory-list li:last-child {
  border-bottom: none;
}

/* Our Fleet Gallery Styles */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.fleet-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.fleet-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fleet-card-body {
  padding: 1rem 1.25rem;
}

.fleet-card-body h3 {
  font-size: 1.1rem;
  color: var(--dark-blue);
  margin-bottom: 0.4rem;
}

.fleet-card-body p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

/* Admin CMS Table Action Buttons */
.table-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.approve-btn {
  background: #27ae60;
  color: #ffffff;
}
.approve-btn:hover {
  background: #219150;
}
.delete-btn {
  background: #e74c3c;
  color: #ffffff;
}
.delete-btn:hover {
  background: #c0392b;
}

/* Responsive Design System & Media Queries */

/* Mobile Responsive Header */
@media (max-width: 768px) {
  header.header {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .header-top-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    align-items: center;
  }

  .top-info {
    flex-direction: column;
    gap: 0.3rem;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    width: 100%;
    text-align: center;
  }

  .info-divider {
    display: none;
  }

  .header-nav-bar {
    justify-content: flex-start;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-menu a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }

  main {
    padding: 1.25rem 1rem;
  }

  section.card {
    padding: 1.25rem 1rem;
  }

  .summary-cards {
    flex-direction: column;
    gap: 1rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .fleet-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .dashboard-section {
    padding: 1rem;
    overflow-x: auto;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  header.header h1 {
    font-size: 1.45rem;
  }

  nav ul {
    gap: 0.5rem 0.8rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .partners-grid img {
    padding: 0.5rem;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .fleet-card img {
    height: 200px;
  }

  .table-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .summary-card .stat {
    font-size: 1.6rem;
  }
}

/* Extra Small Mobile Screens (<= 360px) */
@media (max-width: 360px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
