/* --- VARIABLES & DESIGN TOKENS --- */
:root {
  --primary-color: #2b4d32;
  --secondary-color: #d9b891;
  --accent-color: #cda274;
  --text-dark: #f5f5f5;
  --text-light: #a0aab2;
  --white: #ffffff;
  --bg-light: #0d1115;
  --bg-dark: #050709;
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.2);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
  --shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* --- PAGE TRANSITION --- */
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.page-loaded {
  opacity: 1;
}

/* --- 3D UTILITIES --- */
.card, .about-image {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.card-content {
  transform: translateZ(30px);
}

.card-img img {
  transform: translateZ(0);
}


/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  background-color: var(--bg-dark);
  background-image: linear-gradient(rgba(10, 14, 17, 0.90), rgba(5, 7, 9, 0.95)), url('https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--text-dark);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--bg-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(217, 184, 145, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 184, 145, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all var(--transition-fast);
}

.header.scrolled {
  background-color: rgba(13, 17, 21, 0.6);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-links a {
  margin-left: 20px;
}

.header-top-links a:hover {
  color: var(--secondary-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-weight: 500;
  font-size: 16px;
  position: relative;
  color: var(--white);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition-fast);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--white);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 70vh;
  padding: 180px 0 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* PARALLAX EFFECT */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInDown 1s ease;
}

.hero-content h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header span {
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 42px;
  position: relative;
  display: block;
  padding-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 18px;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 17px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 184, 145, 0.2);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-text {
  font-weight: 600;
  color: var(--text-dark);
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* --- CARDS (Accommodations & Experiences) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-content {
  padding: 30px;
  text-align: center;
}

.card-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* --- EXPERIENCES --- */

.exp-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

/* --- GALLERY SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--secondary-color);
  font-size: 30px;
}

.exp-card .card-content h3 {
  color: var(--secondary-color);
}

.exp-card .card-content p {
  color: #cccccc;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-about p {
  color: #999;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-widget h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #999;
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: 18px;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #777;
  font-size: 14px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .logo img {
    height: 80px !important;
  }
  
  .floating-wa {
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
  
  .chat-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .chat-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .chat-window {
    width: calc(100vw - 30px);
    bottom: 70px;
  }
}

/* --- FLOATING WIDGETS --- */
.floating-wa {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.3s ease;
}
.floating-wa:hover {
  transform: scale(1.1);
  color: #fff;
}

.floating-call {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}
.floating-call:hover {
  transform: scale(1.1);
  background-color: #e5cbab;
  color: var(--primary-color);
}


.chat-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.chat-button:hover {
  transform: scale(1.1);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  height: 450px;
  background: rgba(13, 17, 21, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: var(--shadow-3d);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-window.active {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--bg-dark);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-secondary);
}
.chat-header h4 { margin: 0; color: var(--bg-dark); font-size: 18px; }
.chat-header i { cursor: pointer; font-size: 18px; }

.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 5px; }

.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.bot-message {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.user-message {
  background: var(--secondary-color);
  color: var(--bg-dark);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input {
  display: flex;
  padding: 15px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 8px;
  outline: none;
  font-family: var(--font-primary);
}
.chat-input button {
  background: transparent;
  border: none;
  color: var(--secondary-color);
  font-size: 18px;
  cursor: pointer;
  padding-left: 10px;
  transition: transform 0.2s;
}
.chat-input button:hover {
  transform: scale(1.1);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
