/* ==================== VARIABLES & RESET ==================== */
:root {
  --primary-color: #C8A96E;       /* Warm gold — wood / luxury feel */
  --primary-dark: #A07840;
  --dark-color: #1C1712;           /* Deep warm dark */
  --body-bg: #FAF8F5;
  --text-color: #3a3228;
  --light-text-color: #fff;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.3s ease;
  --accent-color: #8B5E3C;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --card-bg: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); line-height: 1.7;
  color: var(--text-color); background: var(--body-bg);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--dark-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; }
.section-title {
  text-align: center; font-size: 2.8rem;
  margin-bottom: 60px; position: relative;
  font-family: var(--font-heading);
}
.section-title::after {
  content: ''; position: absolute; bottom: -15px; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: var(--primary-color); border-radius: 2px;
}

/* ==================== HEADER ==================== */
#header {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 15px 0; z-index: 1000; transition: var(--transition);
}
#header.scrolled {
  background: var(--dark-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand {
  display: flex; align-items: center; font-family: var(--font-heading);
  font-weight: 700; font-size: 22px; color: var(--primary-color); text-decoration: none;
  letter-spacing: 1px;
}
.brand__logo {
  height: 45px; width: 45px; margin-right: 10px;
  border-radius: 50%; object-fit: cover;
}
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__link {
  text-decoration: none; color: var(--light-text-color); font-size: 15px;
  font-weight: 400; transition: color .3s; position: relative; letter-spacing: 0.5px;
}
.nav__link.active { color: var(--primary-color); }
.nav__link::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--primary-color); transition: width 0.3s;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover { color: var(--primary-color); }
.burger {
  display: none; width: 30px; height: 22px; position: relative;
  background: none; border: none; cursor: pointer; z-index: 1001;
}
.burger-line {
  display: block; width: 100%; height: 2px;
  background-color: white; border-radius: 3px;
  position: absolute; left: 0; transition: all 0.3s ease;
}
.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-line:nth-child(3) { bottom: 0; }
.burger.active .burger-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
#main-content.blurred { filter: blur(5px); transition: filter 0.3s; }

/* ==================== BUTTONS ==================== */
.btn {
  padding: 13px 32px; border-radius: 3px; font-weight: 500; text-decoration: none;
  display: inline-block; transition: var(--transition); border: 1px solid transparent;
  font-family: var(--font-body); letter-spacing: 1px; font-size: 14px;
}
.btn--primary { background: var(--primary-color); color: var(--dark-color); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--light { background: white; color: var(--dark-color); }
.btn--light:hover { background: var(--primary-color); color: var(--dark-color); transform: translateY(-2px); }
.btn--outline { border: 1px solid rgba(255,255,255,0.7); color: white; }
.btn--outline:hover { background: white; color: var(--dark-color); transform: translateY(-2px); }

/* ==================== HERO ==================== */
.hero {
  height: 100vh; display: flex; justify-content: center; align-items: center;
  text-align: center; position: relative; color: white; padding: 0 20px; overflow: hidden;
}
.hero__bg {
  background: url('images/background-hero.png') center/cover no-repeat;
  position: absolute; inset: 0; z-index: -2;
  animation: kenburns 20s infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__overlay { background: rgba(15,10,5,0.65); position: absolute; inset: 0; z-index: -1; }
.hero__tagline {
  font-family: var(--font-body); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--primary-color); margin-bottom: 20px;
}
.hero h1 {
  font-size: 4rem; margin-bottom: 25px; color: white;
  font-family: var(--font-heading); line-height: 1.2; font-weight: 600;
}
.hero p { max-width: 600px; margin: auto; margin-bottom: 40px; font-size: 1.05rem; opacity: 0.85; }
.hero__ctas { display: flex; justify-content: center; gap: 20px; }

.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid rgba(255,255,255,0.5); border-radius: 20px;
}
.scroll-down::before {
  content: ''; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%); width: 5px; height: 5px;
  background: white; border-radius: 50%;
  animation: scroll-animation 2s infinite;
}
@keyframes scroll-animation {
  0% { opacity: 1; top: 8px; }
  50% { opacity: 0; top: 20px; }
  100% { opacity: 1; top: 8px; }
}

/* ==================== STATS BANNER ==================== */
.stats-banner {
  background: var(--dark-color);
  padding: 50px 0;
}
.stats-banner__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat__number {
  display: block; font-family: var(--font-heading);
  font-size: 2.5rem; color: var(--primary-color); font-weight: 700;
}
.stat__label {
  display: block; color: rgba(255,255,255,0.6);
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 5px;
}

/* ==================== SERVICES ==================== */
.services { background: var(--body-bg); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service {
  background: var(--card-bg); padding: 40px 30px; border-radius: 4px; text-align: center;
  transition: var(--transition); box-shadow: 0 2px 20px var(--shadow-color);
  position: relative; overflow: hidden; border-bottom: 3px solid transparent;
}
.service:hover { transform: translateY(-8px); border-bottom-color: var(--primary-color); box-shadow: 0 10px 30px var(--shadow-color); }
.service__icon-wrapper {
  display: inline-flex; justify-content: center; align-items: center;
  width: 75px; height: 75px; margin-bottom: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff; transition: var(--transition);
}
.service:hover .service__icon-wrapper { transform: rotate(10deg) scale(1.1); }
.service__icon { font-size: 30px; }
.service h3 { margin-bottom: 12px; font-size: 1.4rem; }

/* ==================== ABOUT ==================== */
.about { background: #fff; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about__image-inner {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about__image-inner img { width: 100%; height: 500px; object-fit: cover; display: block; }
.about__badge {
  position: absolute; bottom: 30px; right: -20px;
  background: var(--primary-color); color: var(--dark-color);
  padding: 15px 25px; border-radius: 3px;
  display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.about__eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--primary-color); margin-bottom: 15px; font-family: var(--font-body);
}
.about__content h2 {
  font-size: 2.4rem; margin-bottom: 25px; line-height: 1.3;
}
.about__content p { margin-bottom: 18px; color: #5a4e43; line-height: 1.8; }
.about__values { margin: 30px 0; display: flex; flex-direction: column; gap: 12px; }
.about__value {
  display: flex; align-items: center; gap: 12px; color: var(--text-color);
}
.about__value i { color: var(--primary-color); font-size: 16px; }

/* ==================== GALLERY ==================== */
.gallery { background: var(--body-bg); }
.gallery__filters {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px; border-radius: 2px; border: 1px solid #ddd;
  background: #fff; cursor: pointer; transition: var(--transition);
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0.5px;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color); color: var(--dark-color);
  border-color: var(--primary-color);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative; border-radius: 4px; overflow: hidden;
  display: block; height: 240px;
}
@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item-overlay {
  position: absolute; inset: 0; background: rgba(28,23,18,0.55);
  display: flex; justify-content: center; align-items: center;
  color: white; font-size: 28px; opacity: 0; transition: var(--transition);
}
.gallery__item:hover .gallery__item-overlay { opacity: 1; }

/* ==================== TESTIMONIALS ==================== */
.testimonials { background: var(--dark-color); padding: 100px 0; }
.testimonials .section-title { color: #fff; }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.testimonial {
  background: rgba(255,255,255,0.05); padding: 35px;
  border-radius: 4px; border-left: 3px solid var(--primary-color);
  transition: var(--transition);
}
.testimonial:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.testimonial__stars { font-size: 18px; margin-bottom: 15px; }
.testimonial p { color: rgba(255,255,255,0.8); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial__author { display: flex; flex-direction: column; gap: 2px; }
.testimonial__author strong { color: var(--primary-color); font-family: var(--font-heading); font-size: 1.1rem; }
.testimonial__author span { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ==================== FAQ ==================== */
.faq { background: #fff; }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid #e8e0d5; border-radius: 4px; overflow: hidden;
}
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 25px; background: none; border: none; cursor: pointer;
  font-family: var(--font-heading); font-size: 1.15rem; color: var(--dark-color);
  text-align: left; transition: background 0.3s;
}
.faq__question:hover { background: var(--body-bg); }
.faq__icon { transition: transform 0.3s; flex-shrink: 0; color: var(--primary-color); }
.faq__item.open .faq__icon { transform: rotate(180deg); }
.faq__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 25px;
}
.faq__answer p { color: #5a4e43; line-height: 1.8; }
.faq__item.open .faq__answer { max-height: 300px; padding: 0 25px 22px 25px; }

/* ==================== CONTACT ==================== */
.contact { background: var(--dark-color); }
.contact .section-title, .contact .section-subtitle { color: #fff; }
.section-subtitle {
  text-align: center; max-width: 600px; margin: -40px auto 50px auto; color: rgba(255,255,255,0.6);
}
.contact__wrapper {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 15px; }
.contact__card {
  display: flex; align-items: center; gap: 15px;
  background: rgba(255,255,255,0.06); padding: 20px;
  border-radius: 4px; text-decoration: none; color: white;
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.08);
}
.contact__card:hover { background: rgba(200,169,110,0.15); border-color: var(--primary-color); }
.contact__card i { font-size: 22px; color: var(--primary-color); flex-shrink: 0; width: 30px; text-align: center; }
.contact__card strong { display: block; color: white; font-size: 14px; margin-bottom: 2px; }
.contact__card span { color: rgba(255,255,255,0.55); font-size: 13px; }
.contact__form { max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.form__group { position: relative; }
.form__icon { position: absolute; top: 16px; left: 15px; color: #aaa; transition: color 0.3s; }
.form__group input, .form__group textarea {
  width: 100%; padding: 15px 15px 15px 45px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  color: #fff; font-family: var(--font-body); transition: border-color 0.3s;
}
.form__group input:focus, .form__group textarea:focus {
  outline: none; border-color: var(--primary-color);
}
.form__group label {
  position: absolute; top: 15px; left: 45px; color: rgba(255,255,255,0.4);
  pointer-events: none; transition: var(--transition); font-size: 14px;
}
.form__group input:focus + label, .form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label, .form__group textarea:not(:placeholder-shown) + label {
  top: -12px; left: 40px; font-size: 11px; color: var(--primary-color);
  background: var(--dark-color); padding: 0 5px; letter-spacing: 1px; text-transform: uppercase;
}
.form__group input:focus ~ .form__icon, .form__group input:not(:placeholder-shown) ~ .form__icon,
.form__group textarea:focus ~ .form__icon, .form__group textarea:not(:placeholder-shown) ~ .form__icon { color: var(--primary-color); }
.contact__form .btn { align-self: flex-start; }
.form-message {
  text-align: center; margin-top: 10px; font-weight: 500;
  opacity: 0; transition: opacity 0.3s;
}
.form-message.success { color: #6dbb8a; }
.form-message.error { color: #e07070; }

/* ==================== FOOTER ==================== */
.footer { background: #0f0d0a; color: #ccc; padding: 80px 0 0 0; }
.footer__container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; padding-bottom: 50px;
}
.footer__col .brand { font-size: 1.6rem; margin-bottom: 15px; }
.footer__col h4 { color: var(--primary-color); margin-bottom: 18px; font-size: 1.1rem; font-family: var(--font-body); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.footer__col p { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 8px; line-height: 1.7; }
.footer__col a { color: rgba(255,255,255,0.55); text-decoration: none; transition: var(--transition); font-size: 14px; line-height: 2; }
.footer__col a:hover { color: var(--primary-color); }
.footer__socials { display: flex; gap: 12px; margin-top: 5px; }
.footer__socials a {
  display: inline-flex; width: 40px; height: 40px; justify-content: center;
  align-items: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  color: rgba(255,255,255,0.6); transition: var(--transition);
}
.footer__socials a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.footer__copyright { text-align: center; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer__copyright p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: #25D366; color: white;
  width: 55px; height: 55px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 26px; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }

/* ==================== REVEAL ANIMATION ==================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .section-title { font-size: 2.1rem; }
  section { padding: 70px 0; }
  #header { padding: 12px 0; }

  .nav__links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--dark-color); flex-direction: column; justify-content: center;
    gap: 25px; transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }
  .nav__links.show { right: 0; }
  .nav__link { font-size: 17px; }
  .burger { display: block; }

  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 0.95rem; }
  .hero__ctas { flex-direction: column; gap: 12px; align-items: center; }
  .hero__ctas .btn { width: 80%; max-width: 300px; text-align: center; }

  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .services__grid { grid-template-columns: 1fr; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__image-inner img { height: 350px; }
  .about__badge { right: 15px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery__item { height: 180px; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .contact__wrapper { grid-template-columns: 1fr; gap: 40px; }

  .footer__container { grid-template-columns: 1fr; text-align: center; }
  .footer__col .brand { justify-content: center; }
  .footer__socials { justify-content: center; }

  .whatsapp-float { bottom: 20px; right: 20px; }
}
