/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #2F3639; }

/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2F3639;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;   /* slightly smaller padding */
  z-index: 1000;
  box-sizing: border-box;
}

/* Logo */
header .logo img {
  height: 45px;
  flex-shrink: 0; /* logo doesn't shrink */
}

/* Navbar */
nav.desktop {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: clamp(8px, 2vw, 20px); /* gap shrinks dynamically */
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Navbar links */
nav.desktop a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  flex-shrink: 1;           /* links can shrink */
  white-space: nowrap;      /* text stays on one line */
  font-size: clamp(12px, 1.2vw, 16px); /* dynamically shrink font */
}

nav.desktop a:hover {
  color: #F4D02C;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
}

/* Mobile menu */
nav.mobile {
  position: absolute;
  top: 60px;
  right: 0;
  background: #2F3639;
  flex-direction: column;
  width: 200px;
  display: none;
  padding: 15px;
}
nav.mobile a { 
	color: inherit; /* Keeps visited links the same color as their parent text */
	margin: 10px 0; 
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  nav.desktop { display: none; }
  .hamburger { display: flex; }
}


/* Hero */
.hero {
  background: url('../images/bg.png') 
              no-repeat center center/cover;
			  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #2F3639;
  text-align: center;
  padding: 120px 20px 80px; /* keeps text clear of navbar */
}
.hero h2 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 20px; }
.hero button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F4D02C;
   
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
}
.hero button:hover { background: #dcbf22; }

/* Sections (general) */
section {
  padding: 80px 50px;
  text-align: center;
  border-top: 5px solid #F4D02C; /* accent line */
}
section h2 { margin-bottom: 20px; font-size: 2rem; color: #2F3639; }
section p { max-width: 800px; margin: auto; margin-bottom: 30px; }

/* Alternating Backgrounds */
#about { background-color: #F9F9F9; }
#services { background-color: #FFFFFF; }
#contact { background-color: #F9F9F9; }

/* Services */
.services {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  transition: transform 0.3s;
  min-width: 250px;
}
.service:hover { transform: translateY(-5px); }
.service h3 { margin-bottom: 10px; color: #F4D02C; }

/* Contact */

.contact{
background: url('../images/bg2.png') 
              no-repeat center center/cover;
			  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #2F3639;
  text-align: center;
  padding: 120px 20px 80px; /* keeps text clear of navbar */
  color:white;
}
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}
button[type="submit"] {
  background: #F4D02C;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 1rem;
}
button[type="submit"]:hover { background: #dcbf22; }

/* Footer */
footer {
  background: #2F3639;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Spacing fix for sticky nav */
.spacer { height: 70px; }

/* Responsive */
@media (max-width: 768px) {
  nav.desktop { display: none; }
  .hamburger { display: flex; }
  .hero h2 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

.email-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F4D02C;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
}
.email-button:hover {
  background-color: #dcbf22;
}
