/* CSS from style.css */

/* Basic Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: #0d3b36; /* Dark green from logo */
  margin-bottom: 15px;
}

h1 {
  font-size: 3.5em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #f7b32b; /* Gold from logo */
  border-radius: 5px;
}

h3 {
  font-size: 1.8em;
  color: #0d3b36;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: #f7b32b;
}

/* Header & Navigation */
header {
  background-color: #0d3b36; /* Dark green from logo */
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  color: #f7b32b;
}

.logo img {
  /* CORRECTED: Removed the conflicting 'content: url()' property */
  height: 50px; /* Adjust logo size */
  margin-right: 10px;
  filter: drop-shadow(0 0 5px rgba(247, 179, 43, 0.5));
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #f7b32b;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Burger Menu for Mobile */
.burger {
  display: none; /* Hidden on desktop */
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  /* Placeholder: Replace with your actual Dubai skyline image file path or URL */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1517976192147-9753e1a8a25a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80")
      no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #f7b32b; /* Gold from logo */
  color: #0d3b36; /* Dark green from logo */
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #e0a320;
  transform: translateY(-3px);
}

/* Sections General Styling */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hidden-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Services Section */
.services-section {
  background-color: #fff;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  color: #f7b32b; /* Gold */
  margin-bottom: 15px;
  font-size: 1.6em;
}

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

/* About Section */
.about-section {
  background-color: #e8f5e9; /* Light green tint */
  text-align: left;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.1em;
  color: #444;
}

/* Contact Section */
.contact-section {
  background-color: #0d3b36; /* Dark green */
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  color: #f7b32b;
}

.contact-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  background-color: #fff;
  color: #333;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form textarea {
  resize: vertical;
}

.contact-info {
  margin-top: 30px;
  font-size: 1.1em;
}

.contact-info p {
  margin: 5px 0;
}

/* Footer */
footer {
  background-color: #072a27; /* Even darker green */
  color: #bbb;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #0d3b36;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    z-index: 999;
  }

  .nav-links li {
    opacity: 0;
    margin: 20px 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0%);
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    text-align: center;
  }

  .contact-form {
    padding: 0 10px;
  }
}

/* Keyframe for nav links animation */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
