/* ═══ DIGIMENTRA HOTEL — LUXURY DESIGN SYSTEM ═══ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #1B3A4B;
  --primary-light: #2C5F76;
  --accent: #C8A96E;
  --accent-light: #D4BD8A;
  --surface: #F9F6F1;
  --surface-alt: #F0EBE3;
  --bg: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;
  --border: #E8E2D9;
  --shadow-sm: 0 2px 8px rgba(27,58,75,0.06);
  --shadow-md: 0 8px 30px rgba(27,58,75,0.08);
  --shadow-lg: 0 20px 60px rgba(27,58,75,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══ TYPOGRAPHY ═══ */
.font-heading, h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

/* ═══ LAYOUT ═══ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.overline { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.accent-line { width: 60px; height: 2px; background: var(--accent); margin: 20px auto 16px; }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ═══ BUTTONS ═══ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 6px; font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.5px; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-accent { background: var(--accent); color: var(--primary); font-weight: 600; }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); background: var(--surface); }
.btn-sm { padding: 8px 20px; font-size: 0.8125rem; }

/* ═══ HEADER ═══ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.site-header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); padding: 12px 0; box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.header-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; transition: var(--transition); }
.site-header.scrolled .header-logo { color: var(--primary); }
.header-nav { display: flex; gap: 32px; }
.header-nav a { font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.5px; color: rgba(255,255,255,0.85); transition: var(--transition); position: relative; }
.header-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: var(--transition); }
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.site-header.scrolled .header-nav a { color: var(--text); }
.header-cta { padding: 10px 24px; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; font-size: 0.8125rem; font-weight: 500; color: #fff; transition: var(--transition); letter-spacing: 0.5px; }
.header-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.site-header.scrolled .header-cta { border-color: var(--primary); color: var(--primary); }
.site-header.scrolled .header-cta:hover { background: var(--primary); color: #fff; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); }
.site-header.scrolled .hamburger span { background: var(--primary); }

/* ═══ HERO ═══ */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,58,75,0.3) 0%, rgba(27,58,75,0.6) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.hero-tagline { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
.hero-desc { font-size: 1.05rem; line-height: 1.8; opacity: 0.85; max-width: 550px; opacity: 0; animation: fadeUp 0.8s 0.6s forwards; font-weight: 300; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeUp 0.8s forwards; }

/* ═══ BOOKING WIDGET ═══ */
.booking-widget { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px 36px; margin-top: -60px; position: relative; z-index: 10; }
.booking-form { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; }
.booking-field { flex: 1; min-width: 140px; }
.booking-field label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.booking-field input, .booking-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.9rem; color: var(--text); background: var(--surface); transition: var(--transition); }
.booking-field input:focus, .booking-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,169,110,0.15); }
.booking-submit { padding: 14px 36px; white-space: nowrap; }

/* ═══ ROOM CARDS ═══ */
.room-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-card-badge { position: absolute; top: 16px; right: 16px; background: rgba(27,58,75,0.85); backdrop-filter: blur(8px); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; }
.room-card-body { padding: 28px; }
.room-card-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; }
.room-card-desc { color: var(--text-light); font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-card-meta { display: flex; gap: 16px; margin-bottom: 16px; }
.room-meta-item { font-size: 0.8rem; color: var(--text-muted); }
.room-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.room-price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.room-price span { font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }

/* ═══ EXPERIENCE CARDS ═══ */
.exp-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; cursor: pointer; }
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.exp-card:hover img { transform: scale(1.08); }
.exp-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,58,75,0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: #fff; }
.exp-card-icon { font-size: 2rem; margin-bottom: 8px; }
.exp-card-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 8px; }
.exp-card-desc { font-size: 0.8125rem; opacity: 0.85; line-height: 1.6; }

/* ═══ TESTIMONIALS ═══ */
.testimonial { text-align: center; padding: 40px; }
.testimonial-text { font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: var(--primary); line-height: 1.6; max-width: 600px; margin: 0 auto 20px; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.testimonial-date { font-size: 0.75rem; color: var(--text-muted); }
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 16px; }

/* ═══ STORY SECTION ═══ */
.story-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-text h2 { margin-bottom: 24px; }
.story-text p { color: var(--text-light); line-height: 1.9; font-size: 1rem; }
.story-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ LOCATION ═══ */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nearby-list { list-style: none; }
.nearby-item { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); }
.nearby-item:last-child { border: none; }
.nearby-name { font-weight: 500; color: var(--primary); }
.nearby-dist { color: var(--accent); font-weight: 600; }

/* ═══ CTA SECTION ═══ */
.cta-section { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.cta-section .cta-bg { position: absolute; inset: 0; }
.cta-section .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-section .cta-overlay { position: absolute; inset: 0; background: rgba(27,58,75,0.8); }
.cta-content { position: relative; z-index: 2; color: #fff; }
.cta-content h2 { color: #fff; margin-bottom: 16px; }
.cta-content p { opacity: 0.8; max-width: 500px; margin: 0 auto 36px; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { color: #fff; font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 12px; }
.footer-col h4 { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.875rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8125rem; }

/* ═══ SITE BANNER ═══ */
.site-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; text-align: center; padding: 10px 16px; font-size: 0.8125rem; font-weight: 600; }
.site-banner + .site-header { top: 40px; }
body:has(.site-banner) { padding-top: 40px; }

/* ═══ DETAIL PAGE ═══ */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; max-height: 500px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: var(--transition); }
.detail-gallery img:hover { opacity: 0.9; }
.detail-gallery .main-img { grid-row: 1 / 3; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.amenity-tag { padding: 12px 16px; background: var(--surface); border-radius: 8px; font-size: 0.8125rem; display: flex; align-items: center; gap: 8px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .header-nav, .lang-switch { display: none; }
  .hamburger { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .story-section, .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .booking-form { flex-direction: column; }
  .booking-field { min-width: 100%; }
  .hero { min-height: 600px; }
  .section { padding: 64px 0; }
  .exp-card { aspect-ratio: 16/10; }
  .detail-gallery { grid-template-columns: 1fr; max-height: none; }
  .detail-gallery .main-img { grid-row: auto; }
}

/* ═══ MOBILE STICKY BOOKING ═══ */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; padding: 12px 16px; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
.mobile-sticky-cta .btn { width: 100%; padding: 16px; font-size: 1rem; }
@media (max-width: 768px) { .mobile-sticky-cta { display: block; } body { padding-bottom: 70px; } }

/* ═══ BADGE ═══ */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-confirmed { background: #E8F5E9; color: #2E7D32; }
.badge-pending { background: #FFF3E0; color: #E65100; }
.badge-cancelled { background: #FFEBEE; color: #C62828; }
.badge-checkin { background: #E3F2FD; color: #1565C0; }

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
