:root {
  --bg-dark: #000;
  --accent: #c00;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text-light);
  background: linear-gradient(to right, #a80000, #661010, #4d1515, #000000);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6, p, a, label, input, textarea, button {
  color: #fff;
}

h2 {
  text-align: center;
  margin: 50px 40px 50px 50px;
  color: var(--accent);
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: #000;
  border-bottom: 1px solid var(--accent);
  max-width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.logo h1 {
  font-size: 24px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-menu li a {
  text-decoration: none;
  font-weight: bold;
}

.btn, .btn-call, .btn-primary {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
}

.btn-call {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #a00;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
}

/* Hero Section */
.image-box {
  position: relative;
  width: 100%;

}
.page-1logo {
  width: 100%;
  height: auto;
  display: block;
}
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  text-align: center;
}
/* Sections */
section {
  scroll-margin-top: 80px;
}

/* About */
.about {
  padding: 80px 0;
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Features */
.features-bg {
  background: linear-gradient(to right, #a80000, #661010, #4d1515, #000000);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  position: relative;
}

.features-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('pp-logo-refined.png') center center / contain no-repeat;
  z-index: 1;
}

.features-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
  margin: 0 0 10px 0;
}

.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.icon {
  height: 60px;
  width: 60px;
  object-fit: contain;
}

/* Portfolio */
.portfolio {
  padding: 80px 0;
}

.portfolio .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.portfolio img:hover {
  transform: scale(1.05);
}

/* Reviews */
.reviews {
  position: relative;
  padding: 80px 2rem 80px 2rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(to right, #a80000, #661010, #4d1515, #000000);
}

.reviews::before {
  content: '';
  /* Removed fixed attachment to prevent scrolling effect */
  background: url('pp-van.jpg') center center / contain no-repeat;
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reviews h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.review-carousel {
  max-width: 800px;
  width: 100%;
  position: relative;
}

.review {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
}

.review.active {
  display: block;
}

.review p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: #851111;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background: #cc0000;
}

/* Contact */
.contact {
  padding: 50px 0;
}

.contact p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.contact a {
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

#contactForm {
  max-width: 600px;
  margin: 0 auto 40px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #222;
  color: #fff;
}

#contactForm textarea {
  height: 150px;
}

/* Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background-color: #333;
  text-align: center;
  padding: 20px 0;
}

/* Portfolio Filters */
.portfolio-filters {
  text-align: center;
  margin-bottom: 20px;
}

.filter-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin: 10px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ffffff;
}
/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #000;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger {
    display: flex;
  }

  .reviews {
    padding: 50px 1rem;
  }

  .reviews h2 {
    font-size: 2rem;
  }

  .review p {
    font-size: 1rem;
  }

  .text-overlay {
    font-size: 1.5rem;
  }

  h2 {
    margin: 30px 20px;
  }

  .container {
    width: 95%;
  }

  .portfolio .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  /* Ensure background images scale down on mobile */
  .image-box {
    background-size: contain;
  }

  .features-bg {
    background-size: contain;
  }

  .reviews::before {
    background-size: contain; /* This will shrink the van image on mobile */
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .text-overlay {
    font-size: 1.2rem;
  }

  .reviews h2 {
    font-size: 1.8rem;
  }

  .carousel-btn {
    padding: 10px 15px;
    font-size: 1rem;
  }
}

.gradient-divider {
  display: none;
}

.about-title {
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 35px;
}

.about-text {
  font-family: Arial, sans-serif;
  font-size: 18px;
}