/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: #2c3e50; /* Deep navy */
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo h1 {
  font-size: 1.8em;
  color: #fff;
  margin: 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Responsive Header */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 80px; /* Adjust to appear below header */
    height: 100vh;
    background-color: #2c3e50;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
    margin: 20px 0;
  }
  .nav-active {
    transform: translateX(0%);
  }
  .nav-active li {
    opacity: 1;
  }
  .burger {
    display: block;
  }
  /* Optionally animate the burger icon when toggled */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  margin-top: 80px; /* Adjust for fixed header height */
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: background-image 1s ease-in-out;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
/* Extra spacing between header and hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  margin-top: 20px; /* Adjust this value as needed */
}
.hero-content h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #fff;
}
.hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ddd;
}
.btn {
  background: #1abc9c; /* Inviting teal */
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #16a085;
}

/* Sections */
section {
  padding: 80px 0;
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #2c3e50;
}

/* About Section */
#about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}
.service-item {
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: transform 0.3s ease;
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}
.service-item p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;       /* Fixed height for uniformity */
  object-fit: cover;   /* Crop images to fill the container */
  border-radius: 5px;
}

/* Testimonials Section */
#testimonials {
  padding: 80px 0;
  background: #f4f4f4;
}
#testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #2c3e50;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
}
.testimonial {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.testimonial blockquote {
  font-style: italic;
  color: #555;
  margin: 0 0 10px 0;
}
.testimonial p {
  font-weight: bold;
  text-align: right;
  color: #333;
  margin: 0;
}

/* Contact Section */
#contact p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
  font-size: 1.1em;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}
.contact-form button {
  background: #1abc9c;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #16a085;
}

/* Footer */
footer {
  background: #ecf0f1;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
  color: #777;
}
