/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
}

/* Header */
header {
  background: #fff;
  color: #222;
  padding: 1rem 0;
  position: sticky;   /* keeps header visible */
  top: 0;             /* sticks to top */
  z-index: 1000;      /* ensures it stays above content */
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

header .logo {
  max-height: 150px; /* control logo size */
  height: auto;
  width: auto;
}

.navbar a {
  font-size: 1.2rem; /* default size */
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav a {
  color: #e63946;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../assets/images/dawnglow.png') no-repeat center center;
  background-size: cover;   /* fills hero, maintains aspect ratio */
  z-index: -1;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.hero-content {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

/* Smooth fade effect for hero background */
.hero {
  transition: background-image 1.5s ease-in-out;
}



.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #c5303c;
}

/* Services Section */
.services-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  flex: 1;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  list-style: disc;
  text-align: left;
  color: #444;
}

.card ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}


/* Quote Section */
.quote-section {
  padding: 4rem 2rem;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* Form Styles */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button[type="submit"] {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #0056b3;
}

#form-messages {
  font-size: 0.95rem;
  font-weight: bold;
  min-height: 1.5em;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #2c3e50;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 360px;
  height: 3px;
  background-color: #0077cc;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Footer Links */
footer a {
  color: #ffffff;           /* white text to match footer */
  text-decoration: none;    /* remove underline */
  margin: 0 0.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00bcd4;           /* highlight color on hover (teal) */
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #e63946;
  cursor: pointer;
}

/* Privacy Policy Page */
.privacy-policy {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.privacy-policy h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

.privacy-policy h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: #444;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3rem;
}

.privacy-policy p {
  margin: 1rem 0;
}

.privacy-policy ul {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
}

.privacy-policy a {
  color: #00bcd4;
  text-decoration: none;
}

.privacy-policy a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Show hamburger button on mobile */
  .menu-toggle {
    display: block;
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    gap: 0.5rem;
    width: 100%;
  }

  nav ul li {
    margin: 0; /* reset margin since we’re stacking */
  }

  .service-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

/* Tablet */
@media (max-width: 768px) {
  .hero {
    height: 50vh; /* shorter hero */
    padding: 1rem;
  }

  .hero::before {
    background-size: contain;   /* show entire image */
    background-repeat: no-repeat;
    background-position: center;
  }

  .hero-content {
    padding: 1rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero {
    height: 40vh; /* shorter hero */
  }

  .hero::before {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .hero-content h2 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-content .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}





