:root {
  --primary: #1a3c34;
  --secondary: #d4af37;
  --light: #f8f9fa;
  --dark: #111;
  --whatsapp: #25D366;
  --overlay: rgba(26, 60, 52, 0.92);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: var(--light);
}

/* ────────────────────────────────────────────────
   Navbar - Transparent → Solid + blur on scroll
───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: var(--overlay);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Mobile Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: black;
  margin: 6px 0;
  transition: all 0.4s ease;
  border-radius: 2px;
}

#menu-check {
  display: none;
}

/* ────────────────────────────────────────────────
   Hero Section – Slideshow (overlay removed)
───────────────────────────────────────────────── */
header {
  height: 100vh;
  min-height: 680px;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
  animation: imageSlideshow 50s infinite ease-in-out;
  opacity: 0.92;               /* slightly reduced for better visibility */
}

header::after {
  /* Removed the dark overlay layer completely */
  /* If you want a very subtle tint later, you can add back a lighter version */
  /* Example subtle version: background: rgba(26,60,52,0.15); */
  display: none;               /* ← this disables the overlay */
}

@keyframes imageSlideshow {
  0%   { background-image: url('images/9.jpeg'); }
  20%  { background-image: url('images/3.jpeg'); }
  40%  { background-image: url('images/6.jpeg'); }
  60%  { background-image: url('images/3.jpeg'); }
  80%  { background-image: url('images/8.jpeg'); }
  100% { background-image: url('images/9.jpeg'); }
}

header h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 6px 20px rgba(0,0,0,0.7); /* stronger shadow for readability */
  letter-spacing: -1px;
  z-index: 1;
}

header p {
  font-size: 1.7rem;
  max-width: 920px;
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6); /* added for better contrast */
  z-index: 1;
}

/* Reduce aggressive crop on smaller screens */
@media (max-width: 768px) {
  header {
    min-height: 80vh;
  }
  header::before {
    background-position: center 30%;
    background-size: cover;
  }
  header h1 { font-size: 3.4rem; }
  header p { font-size: 1.35rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 18px 48px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.35s ease;
  box-shadow: 0 6px 15px rgba(212,175,55,0.25);
  z-index: 1;
}

.btn:hover {
  background: #e6c24d;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ────────────────────────────────────────────────
   General Sections
───────────────────────────────────────────────── */
section {
  padding: 110px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#about {
  padding-top: 160px;
}

h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2.8rem;
  font-size: 3rem;
  font-weight: 700;
  position: relative;
}

h2::after {
  content: '';
  width: 100px;
  height: 6px;
  background: var(--secondary);
  display: block;
  margin: 25px auto 0;
  border-radius: 3px;
}

/* About */
.about {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 60px 40px;
}

/* Services with Icons */
.services {
  background: #f5f9f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  text-align: center;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card .icon {
  display: block;
  font-size: 3.8rem;
  margin: 0 auto 1.4rem;
  color: var(--primary);
  transition: transform 0.4s ease;
}

.service-card:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1.4rem;
  font-size: 1.65rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 60px 20px;
  font-size: 1.05rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 45px;
  right: 35px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  box-shadow: 0 8px 25px rgba(37,213,102,0.4);
  z-index: 999;
  transition: all 0.4s ease;
  text-decoration: none;
  font-weight: 600;
}

/* Hover animation */
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 15px 35px rgba(37,213,102,0.5);
}

/* Icon */
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Text */
.whatsapp-float span {
  font-size: 14px;
}

/* ────────────────────────────────────────────────
   Responsive Adjustments
───────────────────────────────────────────────── */
@media (max-width: 992px) {
  header h1 { font-size: 4.2rem; }
  .nav-container { padding: 1rem 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--overlay);
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
    gap: 2rem;

    display: none;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  #menu-check:checked ~ .nav-links {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    padding: 1rem 1.2rem;
  }

  /* WhatsApp Button for mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 15px;
    padding: 10px 16px;
    border-radius: 50px;
    gap: 8px;
    font-size: 13px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}
