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

/* Global Styles */
body {
  background-color: #000;      /* Black background */
  color: #fff8dc;             /* Ivory / light yellow text */
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: #fff8dc; 
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px; /* Ensures proper width on larger screens */
  margin: 0 auto;
}

/* Main Header (Sticky) */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5); /* 50% opacity background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Header Container Layout */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.centered-heading {
  text-align: center;
}

.left-aligned {
  text-align: left;
}

/* Logo: increase height to make it large enough to read */
.logo img.logo-img {
  height: 150px;    /* Adjust as desired for a bigger/smaller logo */
  width: auto;
  display: inline-block;
}

/* Nav Toggle (for mobile screens) */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* Hidden on desktop */
}
.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff8dc; /* Ivory text color */
  position: relative;
  transition: background-color 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #fff8dc;
  transition: transform 0.3s;
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

/* Nav Links (unified padding) */
.nav-links li a {
  display: inline-block;
  padding: 0.5rem 0;  /* same vertical padding for all items */
  text-decoration: none;
  font-weight: 500;
  color: #fff8dc;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #ffdf88; /* Lighter shade on hover */
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  display: none;
  margin: 0;
  padding: 0.5rem 0;
  background-color: #000;
  border: 1px solid #222;
  min-width: 140px;
}
.has-dropdown .dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
.has-dropdown .dropdown li a:hover {
  background-color: #222;
}
/* Show the dropdown on hover (desktop) */
.has-dropdown:hover .dropdown {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh; /* Full viewport height */
  background: url("logos/hero-image.jpg") no-repeat center center;
  background-size: cover; /* Scale background */
  background-attachment: fixed; /* Keep fixed for larger screens */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff8dc;
  margin: 0 auto;
  padding: 2rem;
  max-width: 1200px; /* Restrict width */
}

/* Dark overlay on hero image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 1rem;
}
.hero-content h1 {
  font-size: 3vw; /* Adjust font size proportionally to screen width */
  margin-bottom: 1rem;
  color: #fff8dc;
  text-shadow: 2px 2px 4px #000;
}
.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff8dc;
  text-shadow:    
    1px 1px 0 #000,
    -1px 1px 0 #000,
    1px -1px 0 #000,
    -1px -1px 0 #000;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff8dc;
  text-shadow:    
    1px 1px 0 #000,
    -1px 1px 0 #000,
    1px -1px 0 #000,
    -1px -1px 0 #000;
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  background-color: #444; 
  color: #fff8dc;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-cta:hover {
  background-color: #666;
}

/* Content Section */
.content {
  margin: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.show {
    max-height: 400px; 
    padding: 1rem;
  }
  .has-dropdown .dropdown {
    position: static;
    background-color: transparent;
    border: none;
    margin-top: 0;
    padding-left: 1rem;
  }
}

/* Adjustments for larger screens */
@media (min-width: 1920px) {
  .container {
    width: 80%; /* Reduce width for very large screens */
  }
  .hero-section {
    padding: 3rem; /* Add more padding for larger screens */
    margin: 0 auto;
    max-width: 1400px; /* Larger max width */
  }
}

/* Animate the nav toggle */
.nav-toggle.active .hamburger {
  background-color: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Highlight the active page link */
.active-link {
  font-weight: 700;
  color: #ffdf88;
}

/* Dark-Gray container */
.services-content {
  background-color: #333;
  opacity: 0.95;
  color: #fff8dc;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 6px;
}
