/* =========================
   GLOBAL STYLES
========================= */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

section {
  margin-bottom: 60px;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

h2 {
  margin-bottom: 20px;
}

.container p {
  max-width: 700px;
}


/* =========================
   HERO SECTION
========================= */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('/images/hero.jpg') no-repeat center center/cover;
  min-height: 300px;
}

.hero-section h1 {
  font-size: 2.8rem;
}

.hero-section .lead {
  font-size: 1.2rem;
}

.hero-section .container {
  max-width: 800px;
}

.hero-divider {
  height: 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
  margin-top: -20px;
}

/* =========================
   LOGO
========================= */
.logo-wrapper {
  text-align: center;
  margin: 20px 0;
}

.site-logo {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.hero-logo {
  max-height: 110px;
  width: auto;
  margin-bottom: 10px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 600;
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.navbar-nav .nav-link.active {
  color: #0d6efd;
  font-weight: bold;
  border-bottom: 2px solid #0d6efd;
}


/* =========================
   BUTTONS
========================= */
.btn {
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 500;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}

.btn-outline-primary:hover {
  color: #fff;
}
.btn-light {
  color: #000;
  border: none;
}

.btn-light:hover {
  background-color: #e2e2e2;
}

/* =========================
   CARDS (SERVICES)
========================= */
.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
  border-radius: 10px 10px 0 0;
}


/* =========================
   GALLERY
========================= */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* =========================
   GALLERY GRID
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

lightbox.option({
  'resizeDuration': 200,
  'wrapAround': true,
  'fadeDuration': 200,
  'imageFadeDuration': 200,
  'disableScrolling': true
});

/* =========================
   FACEBOOK SECTION
========================= */
.facebook-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   HERO LOGO FIX
========================= */
.hero-logo {
  height: 90px;
  width: auto;
}

/* =========================
   FORMS
========================= */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: auto;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


/* =========================
   CAROUSEL
========================= */
.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
}

.carousel-item img {
  object-fit: contain;
  height: 300px;
  width: auto;
}

/* =========================
   CAROUSEL UPGRADE
========================= */

/* Consistent image sizing */
.carousel-image-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption styling (premium look) */
.carousel-caption-custom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  text-align: left;
}

.carousel-caption-custom h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.carousel-caption-custom p {
  margin: 0;
  font-size: 0.95rem;
}

/* Controls styling */
.custom-control span {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 15px;
}

/* Indicators (dots) */
.carousel-indicators button {
  background-color: #ccc;
}

.carousel-indicators .active {
  background-color: #0d6efd;
}

/* Hover pause visual polish */
.carousel:hover {
  cursor: pointer;
}

.carousel-image-wrapper img {
  transition: transform 0.5s ease;
}

.carousel-item.active img {
  transform: scale(1.05);
}

/* =========================
   COOKIE BANNER
========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 12px;
  z-index: 9999;
  font-size: 0.9rem;
}

.cookie-banner button {
  margin-left: 10px;
  background-color: #0d6efd;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner button:hover {
  background-color: #0b5ed7;
}


/* =========================
   FOOTER
========================= */
footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 20px;
  color: #333;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 400px;
  }

  .carousel-caption {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.95rem;
  }

  .carousel-item img {
    height: 450px;
  }
}

@media (min-width: 1200px) {
  .carousel-item img {
    height: 600px;
  }
}
