/* --- VARIABLES --- */
:root {
  --bg: #fdfbf7;
  --dark: #2b1f1b;
  --gold: #c9a24d;
  --gold-hover: #b08d3b;
  --green: #25D366;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  --text-grey: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- HEADER --- */
header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 5%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 45px; }
.logo span { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 22px; color: var(--dark); }

nav a { margin: 0 15px; font-weight: 500; font-size: 14px; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; text-decoration: none; }
nav a:hover { color: var(--gold); }

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 13px; transition: 0.3s; cursor: pointer; border: none; text-decoration: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.btn.gold { background: var(--gold); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn.outline.white { border-color: #fff; color: #fff; }
.btn.outline.white:hover { background: #fff; color: var(--dark); }
.btn.full { width: 100%; text-align: center; border-radius: 8px; }

/* --- HERO --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; transform: scale(1.1); }
.hero-slider img.active { opacity: 1; transform: scale(1); transition: opacity 1.5s, transform 6s; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4)); }

.hero-container { position: relative; z-index: 2; width: 90%; max-width: 1200px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-content { color: #fff; }
.pill { background: rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 20px; font-size: 12px; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.4); display: inline-block; margin-bottom: 20px; }

.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 65px); line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: #ffd700; font-style: italic; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.trust-badges { margin-top: 30px; display: flex; gap: 15px; flex-wrap: wrap; }
.trust-badges span { background: rgba(0,0,0,0.5); padding: 5px 12px; border-radius: 5px; font-size: 13px; border-left: 3px solid var(--gold); }

/* --- BOOKING FORM --- */
.hero-booking { background: rgba(255,255,255,0.95); padding: 35px; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); backdrop-filter: blur(10px); }
.hero-booking h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 20px; color: var(--dark); text-align: center; }
.input-group { margin-bottom: 12px; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 14px; background: #f9f9f9; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; background: #fff; }

/* --- SECTIONS --- */
.section { padding: 90px 5%; }
.section.dark { background: #f4f1ea; }
.section-title { font-family: 'Playfair Display', serif; font-size: 40px; text-align: center; margin-bottom: 50px; color: var(--dark); position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 3px; background: var(--gold); }

/* --- AMENITIES --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.box { background: #fff; padding: 30px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid rgba(0,0,0,0.03); }
.box:hover { transform: translateY(-5px); border-color: var(--gold); }
.box i { font-size: 35px; display: block; margin-bottom: 10px; }

/* --- ROOMS --- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.room-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: 0.4s; border-bottom: 4px solid var(--gold); }
.room-card:hover { transform: translateY(-10px); }
.room-card img { height: 250px; width: 100%; object-fit: cover; }
.pad { padding: 25px; }
.room-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.room-header h3 { font-family: 'Playfair Display', serif; font-size: 22px; }
.rating { background: var(--green); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.price { font-size: 24px; font-weight: 700; color: var(--gold); }
.per-night { font-size: 14px; color: #888; font-weight: 400; }
.desc { font-size: 14px; color: var(--text-grey); margin: 10px 0 20px; }

/* --- GALLERY --- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; max-width: 1200px; margin: 0 auto; }
.gallery img { height: 220px; width: 100%; object-fit: cover; border-radius: 10px; transition: 0.4s; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.gallery img:hover { transform: scale(1.05); z-index: 2; border-color: var(--gold); }

/* --- LOCATION --- */
.location-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; align-items: center; }
.map-wrapper iframe { width: 100%; height: 350px; border: 0; border-radius: 15px; box-shadow: var(--shadow); }
.contact-info { background: #fff; padding: 40px; border-radius: 15px; box-shadow: var(--shadow); }
.contact-info h3 { font-family: 'Playfair Display', serif; margin-bottom: 20px; font-size: 28px; }
.contact-info p { margin-bottom: 15px; font-size: 16px; }

/* --- FOOTER & FLOATING --- */
footer { background: #1a1512; color: #888; padding: 60px 20px; text-align: center; }
.float { position: fixed; right: 25px; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; z-index: 3000; color: #fff; transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.float:hover { transform: scale(1.1); }
.float.wa { bottom: 30px; background: var(--green); }
.float.call { bottom: 105px; background: var(--gold); }

/* --- ANIMATIONS --- */
#preloader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.6s; }
.spinner { width: 50px; height: 50px; border: 4px solid #f3f3f3; border-top: 4px solid var(--gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 15px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-booking { width: 100%; margin-top: 30px; }
    .location-container { grid-template-columns: 1fr; }
    header { padding: 15px; }
    nav { display: none; }
    .hero h1 { font-size: 40px; }
}