/* =============================================
   DAYEA BOUTIQUE HOTEL – Landing Page
   Exact values from Figma source file
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Exact Figma colors */
  --bg:              #f0f2e0;   /* Page background */
  --gold:            #b5956f;   /* Gold/bronze accent */
  --olive:           #5f663d;   /* "Connect with us" text */
  --muted:           #a4a699;   /* Footer tagline */

  /* Typography */
  --font-display:    'Unica One', sans-serif;
  --font-serif:      'Playfair Display', serif;
  --font-body:       'Work Sans', sans-serif;
}

html, body {
  height: 100%;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* =============================================
   PAGE LAYOUT
   ============================================= */

.page {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg);
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar {
  /* Figma: logo at 6.25% left + sidebar is roughly 15% wide */
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 52px;
}

.logo-link {
  display: block;
  transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.75; }

.logo-icon {
  width: 100%;
  height: auto;
}

/* Connect section */
.sidebar-connect {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.connect-label {
  /* Figma: Playfair Display, 24px, #5f663d */
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--gold);
  line-height: 1.3;
  white-space: nowrap;
}

.connect-linkedin {
  /* Figma: Work Sans, 14px, #b5956f, line-height 22 */
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 0.05em;
  color: var(--gold);
  transition: opacity 0.2s;
}
.connect-linkedin:hover { opacity: 0.7; }

/* =============================================
   MAIN
   ============================================= */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 0 32px 0;
  gap: 30px;
  min-width: 0;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  flex: 1;
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 40%;
  position: absolute;
}

/* Figma: gradient-to-left from transparent to rgba(0,0,0,0.5) */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0) 70%
  );
}

.hero-content {
  position: absolute;
  /* Figma: heading at ~540px from top, left at ~21.88% + 47px inside hero */
  bottom: 64px;
  left: 56px;
  z-index: 2;
  max-width: 820px;
}

/* Figma: Playfair Display, 28px */
.hero-sub {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 12px;
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.hero-sub-white {
  color: #ffffff;
}

.hero-sub-gold {
  /* Figma: #b5956f for "- EL NIDO" */
  color: var(--gold);
}

/* Figma: Unica One, 108px, line-height 96px, mix-blend-mode: lighten */
.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 0.89;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  mix-blend-mode: lighten;
}

/* =============================================
   FOOTER
   ============================================= */

.page-footer {
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
}

/* Figma: Unica One, 18px, #a4a699, uppercase */
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .sidebar {
    width: 200px;
    padding: 60px 24px 60px 36px;
  }

  .main {
    padding: 36px 36px 24px 0;
  }

  .hero-heading {
    font-size: clamp(40px, 6.5vw, 80px);
  }

  .hero-sub {
    margin-left: 4px;
  }

  .connect-label {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
  }

  .logo-icon {
    width: 72px;
  }

  .sidebar-connect {
    align-items: flex-end;
  }

  .connect-label {
    font-size: 15px;
  }

  .main {
    padding: 0 20px 28px 20px;
    gap: 16px;
  }

  .hero-inner {
    min-height: calc(100vh - 124px - 70px);
  }

  .hero-content {
    bottom: 28px;
    left: 28px;
  }

  .hero-sub {
    font-size: 14px;
    margin-left: 4px;
  }

  .hero-heading {
    font-size: clamp(30px, 8vw, 56px);
  }

  .footer-tagline {
    font-size: 12px;
  }

  .page-footer {
    justify-content: center;
    padding-right: 0;
  }
}
