/* ============================
   GLOBAL STYLES
============================ */

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: #f3e7d8;
  color: #2e2a26;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ============================
   HEADER
============================ */

.header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header.scrolled {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 24px;
  font-weight: 600;
  color: #204631;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: #6b645e;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #2e2a26;
  font-size: 14px;
}

.nav a:hover {
  color: #204631;
}

.lang-toggle {
  margin-left: 20px;
  font-size: 14px;
}

.lang-toggle a {
  text-decoration: none;
  color: #204631;
}

.lang-toggle .active {
  font-weight: bold;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  padding: 4px 8px;
  border-radius: 3px;
}

/* ============================
   CAROUSEL — FADE MODE
============================ */

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  height: 700px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Fade carousel uses stacked slides */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Fade effect */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Cinematic zoom effect */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 3s ease-out;
}

.slide.active img {
  transform: scale(1);
}

/* Carousel arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  color: #1f3d2b;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Dot indicators */
.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #b8b1a8;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #204631;
  opacity: 1;
  transform: scale(1.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-wrapper {
    height: 400px;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
  }
}

/* ============================
   HERO
============================ */

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.hero h1 {
  font-size: 36px;
  color: #204631;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 10px;
}

.sub {
  color: #6b645e;
}

/* ============================
   BUTTONS
============================ */

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: #204631;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.btn:hover {
  background: #173423;
}

/* ============================
   SECTIONS
============================ */

.section {
  padding: 60px 0;
}

.alt {
  background: #ffffff;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #204631;
}

/* ============================
   LAYOUT
============================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* ============================
   CARDS
============================ */

.card {
  background: #f9f4ec;
  padding: 20px;
  border-radius: 8px;
}

.card-muted {
  text-align: center;
  font-style: italic;
}

/* ============================
   CONTACT FORM
============================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
}

/* ============================
   FOOTER
============================ */

.footer {
  background: #ffffff;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: 13px;
}

/* ============================
   WHATSAPP FLOATING BUTTON
============================ */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.whatsapp-float:hover {
  background-color: #1ebc59;
}

.whatsapp-icon img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.whatsapp-icon:hover img {
  transform: scale(1.1);
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {
  .hero-inner,
  .two-col {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    position: absolute;
    top: 55px;
    right: 0;
    padding: 10px 20px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}