/* Base Styles & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background-color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

nav div {
  font-weight: 700;
  font-size: 1.25rem;
}

nav a {
  background-color: #0071e3;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

nav a:hover {
  background-color: #0077ed;
}

/* Parallax Framework */
.parallax-section {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}

/* Parallax Background Layer */
.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

/* Dark Overlay for Reading Contrast */
.parallax-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Parallax Foreground Content */
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Triggered Reveal State */
.parallax-content.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero Section Adjustments */
header.hero-parallax {
  min-height: 85vh;
}

.hero-parallax .parallax-bg {
  background-image: url('images/direct-booking-websites-header.jpg');
}

.hero-parallax h1 {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.hero-parallax p {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.8rem 1.75rem;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #0071e3;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0077ed;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Content Sections Styling */
section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Value Grid Section */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

/* Theme Cards */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.theme-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  height: 350px;
  display: flex;
  align-items: flex-end;
}

.theme-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-card:hover img {
  transform: scale(1.05);
}

.theme-card-overlay {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1d1d1f;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0071e3;
}

.pricing-card .btn {
  margin-top: auto;
  text-align: center;
}

/* FAQ Accordion */
.faq-container {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  text-align: left;
}

details {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
}

details p {
  margin-top: 0.75rem;
  font-size: 1rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #000000;
  color: #86868b;
  padding: 4rem 2rem 2rem 2rem;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

footer a {
  color: #f5f5f7;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 2rem;
}