/* Design System Variables */
:root {
  --font-heading: 'Merriweather', serif;
  --font-body: 'Inter', sans-serif;

  /* Premium HSL Color Palette */
  --primary-navy: hsl(210, 47%, 23%);
  --primary-navy-light: hsl(210, 47%, 30%);
  --primary-navy-dark: hsl(210, 50%, 15%);
  --accent-gold: hsl(36, 60%, 55%);
  --accent-gold-hover: hsl(36, 60%, 48%);
  
  --bg-light: hsl(210, 20%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  --bg-card: hsl(0, 0%, 100%);
  
  --text-dark: hsl(210, 24%, 16%);
  --text-muted: hsl(210, 16%, 46%);
  --text-light: hsl(0, 0%, 100%);
  
  --border-color: hsl(210, 20%, 90%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 54, 93, 0.08);
  --shadow-lg: 0 10px 25px rgba(26, 54, 93, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1rem;
}

/* Premium Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary-navy);
  transition: var(--transition-smooth);
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo span {
  color: var(--accent-gold);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--primary-navy);
}

nav a:hover::after {
  width: 100%;
}

/* Call to Action Button */
.cta-button {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(26, 54, 93, 0.75), rgba(26, 54, 93, 0.85)), url('../assets/hero-bed.jpg') no-repeat center center/cover;
  padding: 8rem 0;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  font-weight: 300;
}

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

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Ambassador Hiring Form Section */
.hiring-section {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.hiring-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hiring-section p.subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary-navy);
  cursor: pointer;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

/* Footer styling */
footer {
  background-color: var(--primary-navy-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text-light);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }
  #product-bundle {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-wrapper {
    flex-direction: column;
    height: auto;
    padding: 1.5rem 0;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1.25rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Product Cards & Shop Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  aspect-ratio: 1; /* Medium sized square placeholder */
  background-color: hsl(210, 20%, 94%);
  background-position: center;
  background-size: cover;
  position: relative;
}

.product-image::after {
  content: 'Lofty Bed';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.5;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Custom Booking Styles */
.booking-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin: 3rem 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--primary-navy-light);
  color: var(--text-light);
}

.calendar-day.disabled {
  color: var(--text-muted);
  opacity: 0.3;
  cursor: not-allowed;
  background-color: var(--bg-light);
}

.calendar-day.selected {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.time-slot {
  border: 1.5px solid var(--primary-navy);
  color: var(--primary-navy);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.time-slot:hover:not(.disabled) {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.time-slot.disabled {
  border-color: var(--border-color);
  color: var(--text-muted);
  opacity: 0.4;
  cursor: not-allowed;
}

.time-slot.selected {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

/* Bio / Team Section Styles */
.team-section {
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.bio-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.bio-row.reverse {
  flex-direction: row-reverse;
}

.bio-image-slot {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  background-color: hsl(210, 20%, 94%);
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid var(--border-color);
}

.bio-image-slot::after {
  content: 'Photo';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.bio-text {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .bio-row, .bio-row.reverse {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem;
  }
  .bio-text {
    text-align: center !important;
  }
}
