/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header */
header {
  background: #1e3d59;
  color: white;
  padding: 15px 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo in Corner sizing (CURRENTLY REMOVED) 
.logo img {
  height: 10px;
  margin-right: 10px;
}
*/

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #01080c;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5b56e2;
}

/* Main Page */

/* the main page cover image */
.hero {
  background: url('images/roof.jpg') no-repeat center center/cover;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6b35;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #ff9f68;
}

/* Sections */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* services stuff */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
}

.service-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

/* adds the lil images to the card but i will come back to fix thes cuz rn it looks ugly */
.service-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.service-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1f3c88;
}

.service-card p {
  color: #555;
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Service area map stuff */
.service-map {
  text-align: center;
  padding: 3rem 5%;
}

.service-map h2 {
  color: #1f3c88;
  margin-bottom: 1rem;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
  /* --- animation behavior --- */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Forms */
form {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

form label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #1e3d59;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background: #ff6b35;
}

/* Footer */
footer {
  background: #1e3d59;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* responsive requirement  */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* show hamburger on mobile */
  }

  .nav-links {
    display: none; /* hide menu initially */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex; /* show menu when active */
  }
}