/* ===== Base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #f7f7f8;
  line-height: 1.6;
}

a {
  color: #0aa3ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Topbar ===== */
.topbar {
  background: #000;
  color: #fff;
  font-size: 14px;
}

.topbar .container {
  padding: 8px 0;
  text-align: center;
}

.topbar a {
  color: #43c7ff;
}

/* ===== Header / Nav ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: #007bff;
}

#mainNav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

#mainNav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
}

#mainNav a.active,
#mainNav a:hover {
  background: #eaf4ff;
  color: #007bff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: brightness(88%);
}

.carousel-caption {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 18px 26px;
  border-radius: 10px;
}

.carousel-caption h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
}

.carousel-caption p {
  margin: 0;
  font-size: 16px;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* ===== Sections ===== */
section {
  padding: 60px 0;
}

h1,
h2 {
  margin: 0 0 20px;
}

p {
  margin: 0 0 18px;
}

/* Services grid */
.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 18px;
  transition: 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

/* Home featured gallery */
.home-gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-grid.small img {
  height: 160px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Why section */
.why {
  background: #f0f4f9;
}

.why-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.why-list li {
  background: #fff;
  border-radius: 10px;
  margin: 10px 0;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Gallery Page */
.gallery-page {
  background: #fff;
}

.gallery-page h1 {
  text-align: center;
}

.gallery-page p {
  text-align: center;
  margin-top: -6px;
  margin-bottom: 28px;
}

/* Contact */
.contact-wrapper {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.contact-info,
.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

.btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 500;
}

.btn:hover {
  background: #0064cc;
}

.btn.outline {
  background: #fff;
  color: #007bff;
  border: 1px solid #007bff;
}

.card.dark {
  background: #0b1b2a;
  color: #e9f3ff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* About */
.about-section {
  background: #fff;
}

.about-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 10px auto;
}

.about-list li {
  background: #f7fbff;
  border-radius: 10px;
  margin: 8px 0;
  padding: 10px 14px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 14px;
}

/* Floating buttons */
.float-btn {
  position: fixed;
  bottom: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: 0.2s;
  z-index: 1001;
}

.float-btn.wa {
  background: #25d366;
  right: 20px;
}

.float-btn.call {
  background: #007bff;
  right: 86px;
}

.float-btn:hover {
  transform: scale(1.07);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #mainNav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    border-bottom: 1px solid #eee;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .carousel-item img {
    height: 400px;
  }

  .carousel-caption {
    bottom: 12%;
    padding: 14px 20px;
  }

  .carousel-caption h1 {
    font-size: 22px;
  }

  .carousel-caption p {
    font-size: 14px;
  }
}
