:root {
  --m6-blue: #176bb2;
  --m6-blue-dark: #0a4e7b;
  --m6-gray: #f5f7fa;
  --m6-text: #333;
  --accent-red: #d32f2f;
  --accent-orange: #ff6b35;
  --accent-green: #28a745;
}

/* Hero Section - standardized height */
.specials-hero {
  background: linear-gradient(135deg, var(--m6-blue) 0%, var(--m6-blue-dark) 100%);
  height: clamp(320px, 48vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.specials-hero .container {
  position: relative;
  z-index: 2;
}

.specials-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}

.page-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* Specials Page Container */
.specials-page {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%);
}

/* Specials Grid */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 400px) {
  .specials-grid {
    grid-template-columns: 1fr;
  }
}

/* Special Card */
.special-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.special-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.special-card.featured {
  border-color: var(--m6-blue);
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.special-card.seasonal {
  border-color: var(--accent-orange);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
}

/* Special Badge */
.special-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--m6-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.special-badge.military {
  background: var(--accent-red);
}

.special-badge.best-rate {
  background: var(--accent-green);
}

.special-badge.seasonal {
  background: var(--accent-orange);
}

.special-badge.new {
  background: #9c27b0;
}

.special-badge.urgent {
  background: #ff5722;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
  }
  50% {
    box-shadow: 0 2px 16px rgba(255, 87, 34, 0.8);
  }
}

/* Special Icon */
.special-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
}

/* Card Heading */
.special-card h3 {
  color: var(--m6-blue);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 700;
}

/* Discount Amount */
.discount-amount {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Description */
.description {
  text-align: center;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Special Details List */
.special-details {
  list-style: none;
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--m6-blue);
}

.special-details li {
  padding: 0.5rem 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Special Actions */
.special-actions {
  text-align: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid #f0f0f0;
}

/* Book Special Button */
.btn-book-special {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--m6-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(23, 107, 178, 0.3);
}

.btn-book-special:hover {
  background: var(--m6-blue-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(23, 107, 178, 0.4);
  color: white;
}

/* Special Note */
.special-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Terms Section */
.terms-section {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-top: 3rem;
}

.terms-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.terms-section h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-section li {
  color: #666;
  line-height: 1.8;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.terms-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--m6-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .specials-hero {
    height: clamp(280px, 40vh, 380px);
  }

  .specials-page {
    padding: 2rem 0;
  }

  .specials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .special-card {
    padding: 1.5rem;
  }

  .discount-amount {
    font-size: 1.5rem;
  }

  .special-icon {
    font-size: 2.5rem;
  }

  .btn-book-special {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }

  .terms-section {
    padding: 2rem 0;
  }

  .terms-section h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .special-badge {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .special-card h3 {
    font-size: 1.3rem;
    padding-right: 80px; /* Make room for badge */
  }

  .discount-amount {
    font-size: 1.3rem;
  }

  .special-details {
    padding: 1rem;
  }

  .special-details li {
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .special-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .btn-book-special {
    display: none;
  }

  .special-badge {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #000;
  }
}
