/* Base variables & colors (unchanged) */
:root {
  --accent:#2a9d8f;
  --muted:#6b6b6b;
  --bg:#f7f7f7;

  --primary-600: #006f9a;
  --primary-500: #2a9d8f;
  --accent-400: #88c7d9;
  --muted-600: #6b6b6b;
  --card: #ffffff;
}

/* --- Global Typography & Layout --- */
body {
  background: linear-gradient(180deg,#f7fbfc 0%, #f5f8fa 100%);
  color: #163241;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

main {
    flex: 1;
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- Headers --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

h1 { font-size: 2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; text-align: center; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* --- Header Navigation --- */
.site-header {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  box-shadow: 0 2px 8px rgba(13,44,58,0.08);
  padding: 16px 0;
  margin-bottom: 0;
  text-align: center;
}

.site-header h1 {
  display: inline-block;
  margin: 0;
  font-size: 1.6rem;
}

.site-header h1 a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.site-header nav {
  display: inline-block;
  margin-left: 24px;
}

.site-header nav a {
  color: rgba(255,255,255,0.95);
  margin: 0 10px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-header nav a:hover {
  opacity: 0.85;
}

/* --- Buttons --- */
button,
.book-btn,
a.button-ghost {
  display: inline-block;
  background: linear-gradient(180deg,var(--primary-500),var(--primary-600));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

button:hover,
.book-btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

a.button-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--primary-600);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
}

a.button-ghost:hover {
  background: rgba(0,0,0,0.03);
}

/* --- Form Styling --- */
.form {
  background: var(--card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(13,44,58,0.04);
  max-width: 600px;
  margin: 30px auto;
}

.form label {
  font-weight: 600;
  color: #0b3843;
  margin-bottom: 6px;
  display: block;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--primary-500);
  outline: none;
}

/* Add-ons area */
.addons {
  background: #fafafa;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.addons label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

/* --- Table for My Bookings --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 12px 14px;
  text-align: left;
}

th {
  background: var(--primary-600);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

td {
  border-bottom: 1px solid #eaeaea;
}

tr:last-child td {
  border-bottom: none;
}

/* --- Footer --- */
.site-footer {
  background: #08252b;
  color: #bfeaf2;
  padding: 18px 0;
  margin-top: auto;
  text-align: center;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 720px) {
  .site-header h1, .site-header nav {
    display: block;
    text-align: center;
    margin: 6px 0;
  }

  .form {
    padding: 20px;
    margin: 20px;
  }

  button, .book-btn {
    width: 100%;
  }
}

/* --- About Page Styling --- */
.about-hero {
  position: relative;
  width: 100%;                     /* Full width across the screen */
  height: 100vh;                   /* Full viewport height */
  background:
    linear-gradient(rgba(0, 47, 53, 0.6), rgba(0, 47, 53, 0.6)),
    url('../images/cats-dogs-peeking-over-white-edge-web-promotional-banner-pet-shop-vet-clinic-background-cute-pets-325674604.jpg')
    center center / cover no-repeat;  /* Center image + cover ensures full coverage */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;                 /* Prevent unwanted scrollbars */
}

.about-hero .overlay {
  background: rgba(0, 47, 53, 0.55);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 800px;
}

.about-hero h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.about-hero h1 span {
  color: var(--accent-400);
}

.about-hero p {
  font-size: 1.2rem;
  color: #e6f9f6;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .about-hero {
    height: 90vh;
    padding: 40px 10px;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }
}

/* About Content Layout */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 480px;
  color: #163241;
  line-height: 1.7;
}

.about-text h2 {
  color: var(--primary-600);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-600));
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.about-btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2rem; }
  .about-content { flex-direction: column-reverse; text-align: center; }
  .about-image { margin-bottom: 1.5rem; }
}

/* --- PetCare Packages Page Styling --- */
section[aria-labelledby="packages-heading"] {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

#packages-heading {
  font-size: 2.5rem;
  color: var(--primary-600, #2a9d8f);
  margin-bottom: 1rem;
  font-weight: 700;
}

section h3 {
  font-size: 1.8rem;
  margin-top: 3rem;
  color: #08323c;
  position: relative;
  display: inline-block;
}

section h3::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: var(--accent-400, #88c7d9);
  margin: 8px auto 0;
  border-radius: 3px;
}

/* --- Package Grid Layout --- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 cards per row */
  gap: 2rem;
  justify-items: center; /* center any leftover items */
  margin: 2rem auto;
  max-width: 1200px;
}

/* Center grid on small screens */
@media (max-width: 992px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Package Grid Layout --- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; /* spacing between each card */
  justify-items: center;
  margin: 3rem auto;
  padding: 0 1.5rem; /* left/right spacing for small screens */
  max-width: 1200px;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .package-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Package Card Design --- */
.package-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  margin: 0.5rem; /* small individual card gap */
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}


.package-card h4 {
  font-size: 1.3rem;
  color: var(--primary-600, #2a9d8f);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.package-card ul {
  list-style: none;
  padding-left: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.package-card li {
  margin-bottom: 6px;
}

.package-card li.price {
  font-weight: 600;
  color: #0a555f;
  margin-top: 10px;
  font-size: 1rem;
}

/* Book Button */
.book-btn {
  align-self: center;
  margin-top: 15px;
  background: linear-gradient(180deg, var(--primary-500, #2a9d8f), var(--primary-600, #21867a));
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.book-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-600, #21867a);
}

/* Add-ons section */
.addons-list {
  list-style-type: '🐾 ';
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem 2rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  #packages-heading { font-size: 2rem; }
  section h3 { font-size: 1.5rem; }
  .package-card { padding: 1.2rem; }
  .book-btn { font-size: 0.95rem; }
}

