/* General Styles */
body {
  margin: 0;
  font-family: 'Stardos Stencil', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  margin-bottom: 0.5em;
}
/* Floating nav bar */
.navbar {
  position: fixed;           /* ✅ Makes it float above the page */
  top: 0;
  left: 0;
  width: 100%;
  background: #8E1616; /* Semi-transparent background */
  padding: 15px 0;
  z-index: 10;               /* Keep it above the video and overlay */
  backdrop-filter: blur(5px); /* Optional: adds a frosted-glass look */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;   /* Center the menu horizontally */
  gap: 40px;
}

.navbar li {
  display: inline-block;
}

.navbar a {
  text-decoration: none;
  color: #fff;               /* White text */
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ff4b4b;            /* Highlight color on hover */
}

/* Add space at top of content to avoid hiding under nav */
body {
  margin: 0;
  padding-top: 70px;         /* Adjust if navbar height changes */
}

/* Section 1: Introduction */
.intro {
  position: relative;
  height: 75vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.intro-content {
  z-index: 1;
  max-width: 700px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

/* Overlay box styling */
.overlay-box {
  position: absolute;
  top: 50%;                       /* Center vertically */
  left: 50%;                      /* Center horizontally */
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6); /* ✅ Semi-transparent black background */
  color: white;
  padding: 40px 60px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  z-index: 2;
}

/* Logo styling */
.overlay-logo {
  width: 80px;                    /* Small logo size */
  margin-bottom: 15px;
  border-radius: 50%;             /* Optional: make it circular */
}
/* Section 2: Services */
.services {
  padding: 80px 20px;
  background: #EEEEEE;
  text-align: center;
  color: black;
}

.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  color: black;
}

.service-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
}

.service-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-box {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* The hover effect */
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(26, 1, 1, 0.2);
  background-color: #8E1616;
}

.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-box:hover::before {
  opacity: 0.1;
}

.service-box * {
  position: relative;
  z-index: 1;
}

.service-box {
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Section 3: Reviews */
.reviews {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.review-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.review {
  background: #f1f1f1;
  padding: 25px;
  border-radius: 10px;
  max-width: 300px;
  font-style: italic;
}

/* Section 4: Contact Form */
.contact {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.contact-form button {
  padding: 12px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
}

.contact-form button:hover {
  background: #0056b3;
}

/* Footer */
footer {
  background: #222;
  color: #ddd;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}
