/* ------------------------------------------------------------
   SECTION TINT SYSTEM — BOLD NAVY / GRAY
------------------------------------------------------------ */

.section:nth-of-type(even) {
  background: rgba(11, 17, 32, 0.30); /* 30% deep navy tint */
}

.section:nth-of-type(odd) {
  background: var(--color-surface);
}


/* ------------------------------------------------------------
   NAV
------------------------------------------------------------ */

/* ------------------------------------------------------------
   NAV — Black Text, Gold Hover, Gold Active, Gold Border
------------------------------------------------------------ */

.navbar {
  border-bottom: 4px solid var(--color-accent);
  background: var(--color-surface) !important; /* white/navy contrast */
}

/* Default link style */
.navbar .nav-link {
  color: #000 !important;          /* black text */
  font-weight: 600;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Hover */
.navbar .nav-link:hover {
  color: var(--color-accent) !important; /* gold */
  text-shadow: 0 0 6px rgba(234, 179, 8, 0.45);
}

/* Active link */
.navbar .nav-link.active {
  color: var(--color-accent) !important; /* gold */
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 4px;
}



/* ------------------------------------------------------------
   GALLERY STRIP
------------------------------------------------------------ */

.gallery-strip-item {
  width: 25%;
  min-width: 200px;
  height: 600px;
  overflow: hidden;
}

.gallery-strip-item img {
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 992px) {
  .gallery-strip-item { width: 33.33%; height: 400px; }
}

@media (max-width: 768px) {
  .gallery-strip-item { width: 100%; height: 300px; min-width: 0; }
}


/* ------------------------------------------------------------
   HERO — FULL-WIDTH ROTATOR WITH TEXT OVERLAY
------------------------------------------------------------ */

#hero {
  position: relative; /* CRITICAL FIX */
}

/* Rotating background layer */
.hero-rotator-wide {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-rotator-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-rotator-wide img.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

/* Content sits above everything */
.hero-wide-content {
  position: relative;
  z-index: 3;
  color: white;
}


/* ------------------------------------------------------------
   SPACING
------------------------------------------------------------ */

.hairline {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.18);
  margin: 3rem 0;
}

.section-spacer { height: 40px; }


/* ------------------------------------------------------------
   ABOUT
------------------------------------------------------------ */

.about-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
}

.about-feature {
  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.25),
    rgba(29,78,216,0.25)
  );
  border-radius: var(--bs-border-radius);
}


/* ------------------------------------------------------------
   TESTIMONIALS
------------------------------------------------------------ */

.testimonial-card,
.testimonial-spotlight,
.testimonial-carousel-item {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: var(--bs-border-radius);
}


/* ------------------------------------------------------------
   CTA BUTTON
------------------------------------------------------------ */

.btn-text-us {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.1s ease, background 0.2s ease;
}

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


/* ------------------------------------------------------------
   SERVICES
------------------------------------------------------------ */

.service-block {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Background image layer */
.service-block .service-bg {
  position: absolute;
  inset: 0;
  background-image: var(--service-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(100%) brightness(0.45);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

/* Content stays above */
.service-block .service-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

/* Hover effect */
.service-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.service-block:hover .service-bg {
  opacity: 1;
  transform: scale(1.05);
}

.service-block:hover .service-content {
  color: var(--color-surface);
}

.service-block:hover i {
  color: var(--color-accent);
}


/* ------------------------------------------------------------
   CONTACT
------------------------------------------------------------ */

.contact-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.contact-button {
  padding: 0.6rem 1.2rem;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: 8px;
  font-weight: 600;
}

.contact-secondary {
  color: var(--color-primary);
  font-weight: 500;
}


/* ------------------------------------------------------------
   ANIMATIONS
------------------------------------------------------------ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-scroll {
  animation: fadeIn 1s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes heroFloatIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-animate {
  animation: heroFloatIn 1s ease-out forwards;
}

/* ============================================
   MOBILE COMFORT LAYER
   Makes the site breathe on small screens
   ============================================ */
@media (max-width: 768px) {

  /* Global spacing */
  body {
    padding: 0 1rem;
    line-height: 1.5;
  }

  main#content {
    padding: 1rem 0;
  }

  section {
    padding: 1.5rem 0;
  }

  /* Headings scale down */
  h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Paragraph readability */
  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Navbar spacing */
  nav.navbar {
    padding: 0.75rem 1rem;
  }

  nav .navbar-brand img {
    max-width: 150px;
  }

  /* Buttons */
  .btn,
  button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  /* Cards */
  .card,
  .service-card {
    margin-bottom: 1.25rem;
    padding: 1rem;
  }

  /* Fix cramped columns */
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }

  /* Forms */
  form input,
  form textarea,
  form select {
    font-size: 1rem;
    padding: 0.75rem;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 2rem 0;
  }
}
