/* ======================================
   OPEN HORIZONS RV
   MASTER STYLESHEET (PRODUCTION READY)
====================================== */

/* ======================================
   RESET
====================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* ======================================
   TYPOGRAPHY
====================================== */

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
}

/* ======================================
   HEADER
====================================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #ff6600;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 60px;
  height: auto;
}

/* ======================================
   NAV SYSTEM (FIXED)
====================================== */

nav#navMenu {
  display: flex;
  gap: 15px;
  align-items: center;
}

nav#navMenu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 768px) {

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-toggle {
    display: block;
    color: white;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  nav#navMenu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  nav#navMenu.active {
    display: flex;
    animation: fadeInMenu 0.2s ease-in-out;
  }

  nav#navMenu a {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* ======================================
   BUTTONS
====================================== */

.btn-primary,
.btn-secondary {
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

.btn-primary {
  background: #ff6600;
  color: #fff;
}

.btn-secondary {
  background: #333;
  color: #fff;
}

/* ======================================
   HERO
====================================== */

.hero {
  text-align: center;
  padding: 60px 20px;
  background: #f5f5f5;
}

.hero img {
  max-width: 100%;
  margin-top: 20px;
}

/* ======================================
   SECTIONS
====================================== */

.section {
  padding: 70px 20px;
}

.section.dark {
  background: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  margin-bottom: 20px;
}

.container p:last-child {
  margin-bottom: 0;
}

/* ======================================
   TRUST BAR
====================================== */

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #111;
  color: #fff;
  flex-wrap: wrap;
}

/* ======================================
   CARDS SYSTEM
====================================== */

.service-card,
.why-card,
.review-card,
.pricing-box {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid #ff6600;
  transition: transform 0.2s ease;
}

/* hover effect for all cards */
.service-card:hover,
.why-card:hover,
.review-card:hover,
.pricing-box:hover {
  transform: translateY(-3px);
}

/* ======================================
   SERVICE GRID
====================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ======================================
   WHY GRID
====================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ======================================
   PRICING TABLE
====================================== */

.pricing-box.shop-rates {
  display: block;
  width: 95%;
  max-width: 1600px;
  margin: 20px auto;
}

.rate-row {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 25px;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0, 0.08);
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-title {
  text-align: left;
}

.rate-desc {
  text-align: center;
}

.rate-price {
  text-align: right;
}

/* ======================================
   REVIEW GRID
====================================== */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* ======================================
   CONTACT
====================================== */

.contact-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ======================================
   MODAL
====================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  max-width: 80%;
  margin: 5% auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ======================================
   FLOATING CALL BUTTON
====================================== */

.floating-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6600;
  color: #fff;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 1000;
}

/* ======================================
   FOOTER
====================================== */

.footer {
  text-align: center;
  padding: 30px;
  background: #111;
  color: #fff;
}

/* ======================================
   NAV ANIMATION
====================================== */

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}