/* Core Styling & Variables */
:root {
  --primary-navy: #1f364d;
  --light-blue: #d9eff5;
  --accent-yellow: #f8ee68;
  --accent-pink: #f4c2c2;
  --accent-green: #97d08f;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --font-family: 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Component */
.site-header {
  background-color: var(--light-blue);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--primary-navy);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--primary-navy);
  font-weight: 500;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.7;
}

.header-right {
  font-size: 0.85rem;
  color: var(--primary-navy);
  text-align: right;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 8%;
  background-color: #fafafa;
}

.hero-content {
  max-width: 45%;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-tagline {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.btn-group {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-outline, .btn-solid {
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

.btn-outline {
  border: 1px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.btn-solid {
  background-color: var(--primary-navy);
  color: white;
  border: none;
}

.hero-image-container {
  max-width: 50%;
}

/* Quick Nav Button Row (Contact, Promos, FAQ, Affiliate) */
.quick-nav-row {
  display: flex;
  width: 100%;
}

.quick-nav-btn {
  flex: 1;
  padding: 20px 10px;
  text-align: center;
  font-weight: 600;
  color: var(--primary-navy);
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick-nav-btn:nth-child(1) { background-color: var(--primary-navy); color: #fff; }
.quick-nav-btn:nth-child(2) { background-color: var(--light-blue); }
.quick-nav-btn:nth-child(3) { background-color: var(--primary-navy); color: #fff; }
.quick-nav-btn:nth-child(4) { background-color: var(--light-blue); }
.quick-nav-btn:nth-child(5) { background-color: var(--primary-navy); color: #fff; }

.quick-nav-btn:hover {
  opacity: 0.85;
}

/* Section Common Styling */
.section-padding {
  padding: 80px 10%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-navy);
  font-weight: 300;
}

/* Section 2: What We Offer */
.what-we-offer {
  background-color: #fcfcfc;
}

.offer-content {
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: left;
  line-height: 1.8;
}

.btn-yellow {
  background-color: var(--accent-yellow);
  color: #000;
  padding: 12px 30px;
  font-weight: bold;
  display: inline-block;
}

/* Section 3: Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.feature-card {
  padding: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

/* Section 4: Promos & Packages Grid */
.promos-section {
  background-color: var(--light-blue);
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.promo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.promo-card h4 {
  margin-top: 10px;
  font-size: 1rem;
}

.promo-card p {
  font-size: 0.85rem;
  color: #555;
}

/* Section 5 & 6: Services Grid Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  display: flex;
  height: 250px;
  border-radius: 4px;
  overflow: hidden;
}

.service-text-side {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.service-image-side {
  flex: 1;
  background-size: cover;
  background-position: center;
}

/* Footer Container Styling */
.site-footer {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 60px 8% 30px 8%;
  font-size: 0.85rem;
}

.footer-top-grid, .footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #b0c4de;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 30px 0;
}

.footer-brand-center {
  text-align: center;
  padding: 20px 0;
}

/* ==========================================
   MOBILE RESPONSIVE STYLES (Max Width: 768px)
   ========================================== */

@media screen and (max-width: 768px) {

  /* 1. Header Navigation - Stack content vertically */
  .site-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    text-align: center;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .header-right {
    text-align: center;
  }

  /* 2. Hero Section - Stack text and image */
  .hero-section {
    flex-direction: column;
    padding: 30px 5%;
    text-align: center;
  }

  .hero-content, 
  .hero-image-container {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .btn-group {
    justify-content: center;
  }

  /* 3. Quick Nav Row - Stack buttons into 1 column */
  .quick-nav-row {
    flex-direction: column;
  }

  /* 4. Feature Cards - Stack 3 columns into 1 column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 5. Promos Grid - Stack 5 columns into 1 column */
  .promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 6. Service Cards - Stack 2 columns into 1, and make cards vertical */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
    height: auto;
  }

  .service-image-side {
    height: 180px;
  }

  /* 7. Footer - Stack footer grid columns */
  .footer-top-grid, 
  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Adjust Section Padding for smaller screens */
  .section-padding {
    padding: 40px 5%;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
