/* =====================================================================
   ENZEE CONSTRUCTION — STYLESHEET
   =====================================================================
   CSS controls how the HTML looks: colors, spacing, fonts, layout.
   Each rule looks like this:

     selector {
       property: value;
     }

   The "selector" says WHAT to style (a tag, a class like .hero, or an
   id like #booking). The properties inside the { } say HOW to style it.

   TIP: To change the site's main color, just change the --primary and
   --primary-dark values below — every button, link, and accent color
   is built from those two variables.
   ===================================================================== */

/* ---------- 1. VARIABLES (change these to re-theme the whole site) ---------- */
:root {
  --primary: #3b6e91;        /* steel blue — main brand color */
  --primary-dark: #2c5470;   /* darker steel blue, used for hover states */
  --dark: #2e3b45;           /* dark slate, used for headings/footer */
  --gray: #57636b;           /* slate gray, used for body text */
  --light-bg: #eef2f5;       /* light slate-tinted section background */
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1150px;
}

/* ---------- 2. RESET / BASE STYLES ----------
   Browsers apply their own default spacing to things like <body> and
   <ul>. This section clears that out so we start from a clean slate. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3 {
  color: var(--dark);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Reusable "container" that centers content and adds side padding.
   Almost every section wraps its content in <div class="container"> */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}
.logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-block;
  white-space: nowrap;
}

/* Hamburger button — hidden by default, shown only on small screens */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

/* ---------- 5. HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark), #182229 70%);
  color: var(--white);
  padding: 110px 0;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: #d7dee3;
  font-size: 1.1rem;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 6. TRUST STRIP ---------- */
.trust-strip {
  background: var(--light-bg);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.trust-item p {
  font-weight: 600;
  color: var(--dark);
}

/* ---------- 7. GENERIC SECTION SPACING ---------- */
.section {
  padding: 90px 0;
}
.section-alt {
  background: var(--light-bg);
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- 8. SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e4e9ec;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

/* ---------- 9. GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--dark);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Lightbox: a full-screen overlay for viewing a gallery photo larger.
   Hidden by default; js/script.js adds the "open" class to show it. */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 21, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 10. ABOUT ---------- */
.about-grid {
  max-width: 720px;
  margin: 0 auto;
}
.about-text p {
  margin-bottom: 24px;
}
.checklist li {
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--dark);
}
.checklist i {
  color: var(--primary);
  margin-right: 10px;
}

/* ---------- 11. SERVICE AREA ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.area-list span {
  background: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid #e4e9ec;
}

/* ---------- 12. TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.stars {
  color: #d9a441;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.testimonial-quote {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 16px;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ---------- 13. BOOKING ---------- */
.booking-embed {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e4e9ec;
}

/* ---------- 14. CONTACT ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.contact-item {
  text-align: left;
}
.contact-item i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.contact-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--light-bg);
  padding: 32px;
  border-radius: var(--radius);
}
.contact-form label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  margin-top: 10px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #d3dbe0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.contact-form button {
  margin-top: 18px;
  align-self: flex-start;
}

/* ---------- 15. FOOTER ---------- */
.site-footer {
  background: var(--dark);
  color: #b7c0c6;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* =====================================================================
   16. RESPONSIVE / MOBILE STYLES
   These rules only apply when the screen is 850px wide or narrower
   (phones and small tablets). This is called a "media query".
   ===================================================================== */
@media (max-width: 850px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 12px rgba(0,0,0,0.06);
    transition: max-height 0.25s ease;
  }
  .main-nav.open {
    max-height: 360px;
    overflow-y: auto;
  }
  .main-nav a {
    width: 100%;
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 80px 0;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
