/* ============================================
   H. O Lar — Hotel Website Styles
   Deep Navy + Warm Gold | Editorial Style
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1C36;
  --navy-light: #2A3F66;
  --gold: #C8A45E;
  --gold-light: #D4B76A;
  --gold-dark: #B8944E;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DA;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-body: #3A3A3A;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-title em,
.hero-title em,
.intro-title em,
.cta-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 164, 94, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

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

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  transition: all 0.4s var(--ease-smooth);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(27, 42, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo--footer .logo-mark {
  background: var(--gold);
  color: var(--navy-deep);
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-out);
}

.logo:hover .logo-mark {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* --- Nav --- */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--navy);
  background: rgba(27, 42, 74, 0.06);
}

.nav-link--cta {
  background: var(--gold);
  color: var(--navy-deep);
  margin-left: 8px;
  font-weight: 600;
}

.nav-link--cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* --- Nav Toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Nav Overlay (Mobile) --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 24px;
  transition: color 0.25s;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.nav-overlay.active .nav-overlay-link {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.active .nav-overlay-link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay-link:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.active .nav-overlay-link:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay-link:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.active .nav-overlay-link:nth-child(5) { transition-delay: 0.3s; }

.nav-overlay-link:hover {
  color: var(--gold);
}

.nav-overlay-link--cta {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: 16px 40px;
  border-radius: 4px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(200, 164, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(27, 42, 74, 0.15);
}

.hero-image {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(27, 42, 74, 0.2);
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

.hero-accent {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* --- Intro --- */
.intro {
  padding: 120px 0;
  background: var(--white);
}

.intro-inner {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.intro-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 28px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Rooms --- */
.rooms {
  padding: 120px 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.room-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.06);
  transition: all 0.4s var(--ease-out);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.12);
}

.room-card-img {
  overflow: hidden;
  aspect-ratio: 600/420;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.room-card-body {
  padding: 32px;
}

.room-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.room-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-amenities li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-light);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* --- Experience --- */
.experience {
  padding: 120px 0;
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 48px;
}

.exp-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.exp-feature:last-child {
  margin-bottom: 0;
}

.exp-feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s var(--ease-out);
}

.exp-feature:hover .exp-feature-icon {
  background: var(--navy);
  color: var(--gold);
}

.exp-feature-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.exp-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.exp-img-stack {
  position: relative;
}

.exp-img-stack img {
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.12);
}

.exp-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border: 6px solid var(--white);
  border-radius: 8px;
}

/* --- Surroundings --- */
.surroundings {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.surroundings-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.surroundings .section-title {
  color: var(--white);
}

.surroundings-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 48px;
}

.surroundings-highlights {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sh-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sh-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.sh-item h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.sh-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.si-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.si-grid img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease-out);
}

.si-grid img:hover {
  transform: scale(1.02);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 0;
  background: var(--gold);
  text-align: center;
}

.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-title em {
  color: var(--navy);
  font-style: italic;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(15, 28, 54, 0.7);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cd-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cd-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.06);
}

.cd-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.cd-value {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.6;
}

.cd-value a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.cd-value a:hover {
  border-bottom-color: var(--gold);
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.06);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 6px;
  transition: all 0.25s var(--ease-smooth);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 164, 94, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(200, 164, 94, 0.1);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.form-success svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-mark {
  background: var(--gold);
  color: var(--navy-deep);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 48px;
  }

  .experience-grid,
  .surroundings-inner,
  .contact-grid {
    gap: 48px;
  }

  .rooms-grid {
    gap: 24px;
  }

  .exp-img-float {
    right: -20px;
    bottom: -24px;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.25rem, 7vw, 3.5rem);
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-accent {
    display: none;
  }

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

  .experience-grid,
  .surroundings-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .experience-image {
    order: -1;
  }

  .exp-img-stack {
    max-width: 400px;
  }

  .surroundings-images {
    order: -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .intro,
  .rooms,
  .experience,
  .surroundings,
  .contact {
    padding: 80px 0;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 48px;
    height: 1px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .si-grid {
    gap: 12px;
  }
}
