/* =========================================
   VARIABLES & SETUP
========================================= */
:root {
  --primary: #8B7355;      /* Marrom terra */
  --secondary: #D4C5B9;    /* Bege claro */
  --accent: #6B5D52;       /* Marrom escuro */
  --highlight: #E8B4A8;    /* Coral/terra */
  --neutral-light: #F9F7F5;
  --neutral-dark: #2C2825;
  --white: #ffffff;
  
  --font-logo: 'Playfair Display', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--neutral-dark);
  background-color: var(--white);
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--accent); font-weight: 600; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.relative { position: relative; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.bg-light { background-color: var(--neutral-light); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-secondary { background-color: var(--secondary); }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.color-primary { color: var(--primary); }
.color-accent { color: var(--accent); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Typography */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
  line-height: 1.2;
}
.section-title.border-white::after {
  content: ''; display: block; width: 60px; height: 2px; background: var(--white); margin: 20px auto 0;
}
.section-subtitle { font-size: 1.1rem; color: #666; font-weight: 300; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 4px; font-weight: 500; font-family: var(--font-body);
  cursor: pointer; transition: var(--transition); gap: 10px; border: 1px solid transparent;
  text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
}
.btn-large { padding: 18px 40px; font-size: 1rem; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--accent); transform: translateY(-2px); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* =========================================
   NAVBAR (LUSCH STYLE: Clean & Elegant)
========================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 24px 0; z-index: 1000; transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--white); padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 120px; transition: height 0.4s ease; }
.navbar.scrolled .logo-img { height: 60px; }

.nav-menu { display: flex; align-items: center; gap: 35px; }
.nav-link {
  color: var(--white); font-weight: 500; font-size: 0.9rem; 
  text-transform: uppercase; letter-spacing: 1px; position: relative;
}
.navbar.scrolled .nav-link { color: var(--neutral-dark); }
.nav-link::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
  background: var(--highlight); transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

.nav-btn-outline {
  border: 1px solid var(--white); padding: 10px 24px; border-radius: 4px; color: var(--white);
}
.navbar.scrolled .nav-btn-outline {
  border-color: var(--primary); color: var(--primary);
}
.nav-btn-outline:hover, .navbar.scrolled .nav-btn-outline:hover {
  background: var(--primary); color: var(--white)!important; border-color: var(--primary);
}
.nav-btn-outline::after { display: none; }

.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 2px; margin: 5px auto; transition: var(--transition); background: var(--white); }
.navbar.scrolled .bar { background: var(--neutral-dark); }

/* =========================================
   HERO
========================================= */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden;
}
.bg-video {
  position: absolute; top:0; left:0; width:100%; height:100%;
  object-fit: cover; z-index: 0;
}
.hero-bg {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background-size: cover; background-position: center; z-index: 0;
}
.hero-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(44, 40, 37, 0.45); z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: 900px; padding: 0 20px; color: var(--white);
}
.hero-kicker {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.9rem; margin-bottom: 20px; color: var(--secondary);
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 30px;
  color: var(--white); font-weight: 400; text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 40px; font-weight: 300; max-width: 700px; margin-inline: auto;
}
.scroll-down {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--white); font-size: 1.5rem; animation: bounce 2s infinite; opacity: 0.8;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
  40% {transform: translateY(-20px) translateX(-50%);}
  60% {transform: translateY(-10px) translateX(-50%);}
}

/* =========================================
   A QUINTA
========================================= */
.quinta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.section-paragraph { font-size: 1.1rem; color: #555; margin-bottom: 20px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--primary);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px;
  padding-bottom: 5px; border-bottom: 2px solid var(--primary);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 15px; }
.quinta-image-wrapper { position: relative; }
.quinta-main-img { border-radius: 4px; }
.experience-badge {
  position: absolute; bottom: -30px; left: -30px; padding: 30px; border-radius: 50%;
  width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: var(--white); font-family: var(--font-heading);
}
.experience-badge span { font-size: 1rem; font-style: italic; }
.experience-badge strong { font-size: 1.8rem; line-height: 1; }

/* =========================================
   EVENTOS (Lusch Style Big Blocks)
========================================= */
.eventos-showcase { display: flex; flex-direction: column; }
.evento-block {
  position: relative; height: 80vh; min-height: 600px; display: flex; align-items: center;
}
.evento-bg {
  position: absolute; top:0; left:0; width: 100%; height: 100%; background-size: cover;
  background-position: center; background-attachment: fixed;
}
.evento-overlay {
  position: absolute; top:0; left:0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(44,40,37,0.8) 0%, rgba(44,40,37,0.2) 100%);
}
.evento-block.reverse .evento-overlay {
  background: linear-gradient(270deg, rgba(44,40,37,0.8) 0%, rgba(44,40,37,0.2) 100%);
}
.evento-block.reverse .container { display: flex; justify-content: flex-end; }

.evento-content {
  position: relative; z-index: 2; max-width: 600px; color: var(--white); padding: 40px;
  background: rgba(139, 115, 85, 0.15); backdrop-filter: blur(5px); border-radius: 4px;
  border-left: 4px solid var(--highlight);
}
.evento-block.reverse .evento-content { border-left: none; border-right: 4px solid var(--highlight); text-align: right; }
.evento-category { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; color: var(--secondary); font-size: 0.9rem;}
.evento-title { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white); margin-bottom: 20px; line-height: 1.1;}
.evento-desc { font-size: 1.1rem; margin-bottom: 30px; font-weight: 300; line-height: 1.6;}

/* =========================================
   AMBIENTES (Technical Specs Grid)
========================================= */
.ambientes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.ambiente-card {
  background: var(--white); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden;
  transition: var(--transition);
}
.ambiente-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ambiente-header { padding: 30px; text-align: center; }
.ambiente-header h3 { color: inherit; margin: 0; font-size: 1.6rem; }
.ambiente-body { padding: 30px; }
.ambiente-specs li {
  display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #eee; font-size: 1rem;
}
.ambiente-specs li:last-child { border-bottom: none; }
.ambiente-specs span { color: #666; }
.ambiente-specs strong { color: var(--neutral-dark); font-weight: 500;}

/* Otros Ambientes */
.otros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;}
.otro-item {
  text-align: center; padding: 30px; border: 1px solid #eee; border-radius: 8px; transition: var(--transition);
}
.otro-item:hover { border-color: var(--primary); background: var(--white); }
.otro-item i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; transition: var(--transition);}
.otro-item:hover i { color: var(--primary); transform: scale(1.1); }
.otro-item h4 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 5px; color: var(--neutral-dark);}
.otro-item p { color: #777; font-size: 0.9rem; }

/* =========================================
   GALERIA MASONRY
========================================= */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
}
.masonry-item {
  display: block; width: 100%; min-height: 250px;
  overflow: hidden; border-radius: 4px; position: relative; cursor: pointer;
}
.masonry-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease;
}
.masonry-item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(139,115,85,0.4);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: 2rem; opacity: 0; transition: var(--transition); pointer-events: none;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover::after { opacity: 1; }

/* LIGHTBOX */
.lightbox {
  display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.95); align-items: center; justify-content: center;
}
.lightbox-content { max-width: 90%; max-height: 90vh; object-fit: contain; animation: zoomIn 0.3s; }
@keyframes zoomIn { from {transform:scale(0.9); opacity:0} to {transform:scale(1); opacity:1} }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; transition: 0.3s; }
.close-lightbox:hover { color: var(--highlight); }

/* =========================================
   TESTIMONIOS
========================================= */
.quote-bg {
  position: absolute; top: 50px; left: 50%; transform: translateX(-50%);
  font-size: 10rem; color: rgba(255,255,255,0.05); z-index: 0;
}
.testimonio-wrapper { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; z-index: 1;}
.testimonio-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.testimonio-slide { min-width: 100%; padding: 0 40px; text-align: center; }
.testimonio-slide .stars { color: var(--highlight); margin-bottom: 20px; font-size: 1.2rem; }
.testimonio-text { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.6; margin-bottom: 30px; font-style: italic;}
.testimonio-author { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; color: var(--secondary);}
.testimonio-controls { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.test-btn {
  background: transparent; border: 1px solid var(--secondary); color: var(--white);
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: 1.2rem;
}
.test-btn:hover { background: var(--secondary); color: var(--accent); }

/* =========================================
   CONTACTO (Lusch Layout)
========================================= */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.elegant-form { display: flex; flex-direction: column; gap: 20px; }
.elegant-form input, .elegant-form select, .elegant-form textarea {
  width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid #ccc;
  background: transparent; font-family: var(--font-body); font-size: 1rem; color: var(--neutral-dark);
  transition: var(--transition); border-radius: 0;
}
.elegant-form input:focus, .elegant-form select:focus, .elegant-form textarea:focus {
  outline: none; border-bottom-color: var(--primary);
}
.elegant-form-dark input, .elegant-form-dark select, .elegant-form-dark textarea {
  color: var(--white); border-bottom-color: rgba(255,255,255,0.3);
}
.elegant-form-dark input::placeholder, .elegant-form-dark textarea::placeholder {
  color: rgba(255,255,255,0.6);
}
.elegant-form-dark input:focus, .elegant-form-dark select:focus, .elegant-form-dark textarea:focus {
  border-bottom-color: var(--highlight);
}
.elegant-form-dark select option {
  color: var(--neutral-dark);
}
.form-group.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.map-box { height: 280px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.map-box iframe { width: 100%; height: 100%; }
.loc-details { display: flex; flex-direction: column; gap: 20px; }
.loc-item { display: flex; gap: 20px; align-items: flex-start; }
.loc-item i { font-size: 1.5rem; margin-top: 5px; color: var(--highlight); }
.loc-item strong { display: block; font-size: 1.1rem; margin-bottom: 5px; color: var(--white);}
.loc-item span { color: var(--secondary); }
.wa-numbers a { color: var(--secondary); text-decoration: underline dotted; }
.wa-numbers a:hover { color: var(--highlight); }
.text-white { color: var(--white) !important; }

/* =========================================
   FOOTER (Lusch Style)
========================================= */
.footer-modern { padding-top: 80px; }
.footer-brand { max-width: 300px; }
.footer-logo-lg { max-width: 220px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-right { text-align: right; }
.social-flex { display: flex; gap: 15px; justify-content: flex-end; }
.social-icon {
  width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem;
}
.social-icon:hover { background: var(--highlight); transform: translateY(-3px); }

.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--secondary); font-weight: 500;}
.footer-nav a:hover { color: var(--white); }
.footer-nav .highlight-link { color: var(--highlight); }

.border-bottom { border-bottom: 1px solid; } border-accent { border-color: rgba(255,255,255,0.1) !important; }
.footer-copyright { padding-bottom: 20px; font-size: 0.85rem; color: rgba(212, 197, 185, 0.6); }
.footer-credit-link { color: var(--highlight); text-decoration: underline dotted; }
.footer-credit-link:hover { color: var(--white); }

/* =========================================
   FIXED WHATSAPP (Modern Ribbon)
========================================= */
.float-wa-modern {
  position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white;
  display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 30px;
  box-shadow: var(--shadow-lg); z-index: 100; font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition);
}
.float-wa-modern i { font-size: 1.4rem; }
.float-wa-modern:hover { background: #20b858; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37,211,102,0.4); color: white;}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .quinta-grid, .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .evento-bg { background-attachment: scroll; } /* Disable parallax on tablet/mobile */
  .evento-content { padding: 30px; margin: 0 20px;}
  .footer-top { flex-direction: column; align-items: flex-start; gap: 40px; }
  .text-right { text-align: left; }
  .social-flex { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hamburger { display: block; z-index: 1001; }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--neutral-dark);}
  .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--neutral-dark);}
  
  .nav-menu {
    position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
    background: var(--white); flex-direction: column; justify-content: center;
    transition: 0.4s ease; gap: 30px;
  }
  .nav-menu.active { left: 0; }
  .nav-link { color: var(--neutral-dark); font-size: 1.2rem; }
  .nav-btn-outline { border-color: var(--primary); color: var(--primary); }
  
  .hero-title { font-size: 2.5rem; }
  .form-group.row { grid-template-columns: 1fr; }
  .float-wa-modern span { display: none; }
  .float-wa-modern { width: 60px; height: 60px; padding: 0; justify-content: center; border-radius: 50%; font-size: 1.8rem;}
  .float-wa-modern i { font-size: 1.8rem; margin: 0; }
  .experience-badge { width: 120px; height: 120px; bottom: -15px; left: -15px; }
  .experience-badge strong { font-size: 1.4rem; }
}
