/* =========================
   GLOBAL RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background: #111;
  color: #fff;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   HEADER & NAVBAR
========================= */

header {
  background: #000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 14px;
  transition: 0.35s ease;
}

nav a:hover {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
  flex-shrink: 0;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(3px);
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 46px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

.hero-btn {
  margin-top: 25px;
  padding: 14px 32px;
  background: #fff;
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.hero-btn:hover {
  background: #ddd;
}

/* =========================
   SLIDER DOTS
========================= */

.carousel-indicators {
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  background: #aaa;
  border-radius: 50%;
}

.dot.active {
  width: 30px;
  border-radius: 20px;
  background: #fff;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner {
  background: #1c1c1c;
  padding: 60px 20px;
  text-align: center;
  flex-shrink: 0;
}

.page-banner h1 {
  font-size: 32px;
}

/* =========================
   CONTENT
========================= */

.content {
  padding: 50px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
  flex-shrink: 0;
}

.content p {
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* =========================
   FEATURES
========================= */

.features {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.features div {
  background: #222;
  padding: 25px;
  border-radius: 16px;
  width: 30%;
}

/* =========================
   SERVICES
========================= */

.services {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  flex-shrink: 0;
}

.service-item {
  display: flex;
  gap: 50px;
  margin-bottom: 80px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-text h2 {
  margin-bottom: 15px;
}

.service-image img {
  width: 100%;
  border-radius: 20px;
}

/* =========================
   FOOTER (FIXED)
========================= */

footer {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  opacity: 0.7;
  margin-top: auto;
}

/* =========================
   WHATSAPP FLOATING BUTTON
========================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 999;
  animation: whatsappSlide 1s ease;
}

.whatsapp-text {
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  animation: textPulse 2s infinite;
}

.whatsapp img {
  width: 55px;
  height: 55px;
  animation: iconPulse 2s infinite;
}

@keyframes whatsappSlide {
  from { transform: translateX(120px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes textPulse {
  50% { transform: scale(1.05); }
}

@keyframes iconPulse {
  50% { transform: scale(1.08); }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
  }

  .features {
    flex-direction: column;
    gap: 20px;
  }

  .features div {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .service-item {
    flex-direction: column;
  }
}
