/* The Hive Residence — site stylesheet */
:root {
  --background: #fafafa;
  --black: #1b1b1b;
  --white: #fff;
  --yellow: #f9bf15;
  --shadow: 1px 1px 40px #84848414;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--black);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 130%;
}
img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 20px 0 10px; font-weight: 700; }
h1 { font-size: 46px; line-height: 120%; }
h2 { font-size: 40px; line-height: 130%; }
h3 { font-size: 26px; line-height: 130%; }
p { margin: 0 0 10px; }
strong { font-weight: 700; }

.container { max-width: 1348px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.white { background: var(--white); }
.center-text { text-align: center; }
.center-content { display: flex; flex-direction: column; align-items: center; }
.space-16 { height: 16px; } .space-32 { height: 32px; } .space-40 { height: 40px; } .space-80 { height: 80px; }
.limit-480 { width: 100%; max-width: 480px; }
.limit-990 { width: 100%; max-width: 990px; }
.justify { text-align: justify; }

.mega-h1 { font-size: 72px; font-weight: 500; }
.subtitle { font-size: 24px; line-height: 135%; letter-spacing: .2px; }
.paragraph-big { font-size: 22px; line-height: 130%; }

/* Buttons */
.cta {
  display: flex; align-items: center; justify-content: center;
  width: 150px; height: 52px;
  background: var(--yellow); color: var(--black);
  border-radius: 6px; text-align: center; text-decoration: none;
  font-size: 20px; font-weight: 500; line-height: 20px;
  transition: background-color .2s, color .2s;
}
.cta:hover { background: #1b1b1be6; color: var(--white); }
.flex-cta-center { display: flex; justify-content: center; }

/* Navbar */
.navbar { background: var(--background); position: relative; z-index: 100; }
.navbar-inner {
  display: grid; grid-template-columns: 200px 1fr 200px; gap: 16px;
  align-items: center; max-width: 1512px; margin: 0 auto;
}
.brand { display: block; height: 32px; margin-left: 40px; }
.brand img { height: 100%; width: auto; max-width: none; }
.nav-menu { display: flex; justify-content: center; align-items: center; gap: 16px; }
.nav-link {
  display: block; padding: 20px 12px; color: #222; opacity: .9;
  text-decoration: none; font-size: 18px;
}
.nav-link.current { opacity: 1; color: var(--black); font-weight: 500; }
.nav-right { display: flex; justify-content: flex-end; }
.nav-right .cta { margin-right: 40px; }
.menu-button {
  display: none; justify-self: end; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 8px; background: #f4f1f1; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.menu-button span { display: block; width: 32px; height: 2px; border-radius: 5px; background: #000; transition: transform .2s, opacity .2s; }
.menu-button span:last-child { width: 20px; }

/* Home hero */
.hero-home { padding: 0; background: url(../img/dots.svg) right bottom no-repeat; }
.hero-wrap { padding: 0 40px; color: var(--white); text-align: center; }
.hero-image {
  display: flex; justify-content: center;
  padding: 140px 24px 230px; border-radius: 24px;
  background: linear-gradient(#1b1b1b66, #1b1b1b66), url(../img/hero-2000.webp) center / cover;
  box-shadow: 0 2px 5px #0003;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 50px; background: var(--black); color: var(--white);
}
.tag img { width: 16px; height: 16px; }

/* Home gallery */
.gallery-home { background: var(--white) url(../img/dots-left.svg) left 96% no-repeat; }
.gallery-heading { max-width: 874px; margin: 20px auto; text-align: center; font-size: 26px; font-weight: 500; line-height: 130%; }
.gallery-intro { margin: 20px 0; text-align: justify; }
.video { position: relative; padding-top: 56.25%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-gallery-grid {
  display: grid; grid-template-columns: 1fr 440px; gap: 24px 140px;
  max-width: 1122px; margin: 40px auto 0;
}
.home-col { display: flex; flex-direction: column; gap: 48px; }
.home-col h3 { margin: 0; font-size: 18px; font-weight: 700; }
.home-col .title-wrap { display: flex; flex-direction: column; gap: 24px; }
.home-col img { width: 542px; border-radius: 8px; }
.home-col p, .home-col .txt { text-align: justify; margin: 0; }

/* Included */
.included-section {
  background: linear-gradient(0deg, var(--background), #fafafa2e 27%, #fafafa00), url(../img/dots-left.svg) left bottom no-repeat;
}
.included-section h2 { font-weight: 600; }
.grid-thirds { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.tile {
  background: var(--white); border-radius: 8px; padding: 24px; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
a.tile:hover { transform: scale(1.02); box-shadow: 1px 1px 50px #84848421; }
.included-tile { display: flex; justify-content: space-between; align-items: center; text-align: right; font-size: 24px; line-height: 130%; }
.included-tile img { width: 40px; height: 40px; }

/* Rooms list */
.hero-rooms { padding-bottom: 0; }
.title-wrap-rooms h1 { font-size: 25px; font-weight: 500; margin: 0; }
.list-rooms { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin: 40px 0; }
.room-tile {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 32px; color: var(--black); text-decoration: none;
}
.room-tile-top { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.room-tile-top img { width: 100%; border-radius: 8px; }
.room-name { font-size: 26px; font-weight: 700; line-height: 130%; }
.more-link { font-weight: 500; }

/* Single room */
.single-room-section { padding: 100px 0 0; }
.room-columns { display: flex; }
.room-left { width: 58.333%; padding-right: 24px; }
.room-right { width: 41.667%; padding-left: 64px; }
.room-left-inner { display: flex; flex-direction: column; gap: 64px; }
.room-left-inner h1 { margin-top: 0; }
.room-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.room-gallery a { display: flex; border-radius: 12px; overflow: hidden; transition: transform .2s; cursor: zoom-in; }
.room-gallery a:hover { transform: scale(1.04); }
.room-gallery a.big { grid-row: span 2; }
.room-gallery a.small { max-height: 200px; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.richtext p { margin-bottom: 10px; }
.book-tile { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }
.book-tile img { width: 100%; border-radius: 8px; }
.divider { height: 1px; background: repeating-linear-gradient(90deg, #d9d9d9 0 6px, transparent 6px 12px); }

/* FAQ */
.faq-columns { display: flex; margin-top: 80px; }
.faq-left { width: 41.667%; padding: 0 40px 80px 0; }
.faq-left .sticky { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 32px; }
.faq-left h2 { margin: 0; }
.faq-right { width: 58.333%; padding: 0 0 80px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border-radius: 8px; padding: 22px 24px 24px 32px; box-shadow: 1px 1px 20px #84848414; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.faq-q h3 { margin: 0 24px 0 0; font-size: 20px; font-weight: 500; line-height: 130%; }
.plus { position: relative; flex: none; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; }
.plus::before, .plus::after { content: ""; position: absolute; width: 18px; height: 2px; border-radius: 1px; background: #000; transition: transform .3s; }
.plus::after { transform: rotate(-90deg); }
.faq-item.open .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; width: 90%; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 16px 0 12px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* Contact block */
.contact-tile { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px; }
.contact-title { margin: 0 0 16px; font-size: 46px; font-weight: 500; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.cta-wide { width: 220px; }
.contact-email { font-size: 18px; text-decoration: none; }
.contact-phone { font-size: 24px; font-weight: 500; text-decoration: none; white-space: nowrap; }
@media (max-width: 767px) {
  .contact-tile { flex-direction: column; align-items: flex-start; padding: 24px; }
  .contact-actions { align-items: flex-start; }
  .contact-title { font-size: 36px; }
}

/* Footer */
.footer { background: var(--black); color: var(--white); padding: 100px 0 40px; }
.footer-top { display: flex; justify-content: space-between; }
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 344px; }
.footer-brand { display: block; height: 38px; }
.footer-brand img { height: 100%; max-width: none; }
.footer-tagline { font-size: 28px; line-height: 130%; }
.footer-right { display: flex; justify-content: flex-end; align-items: flex-start; gap: 120px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-col a { color: var(--white); text-decoration: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; display: none; background: #000000e6; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; user-select: none; }
.lb button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; opacity: .7; font: 300 44px/1 Arial, sans-serif; padding: 16px; }
.lb button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; opacity: .7; font-size: 15px; }

/* 404 */
.notfound .cta { width: 200px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .section { padding: 64px 0; }
  .hero-home { padding: 0; }
  .navbar-inner { grid-template-columns: auto 1fr; height: 72px; padding-right: 16px; }
  .nav-right { display: none; }
  .menu-button { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 1%; right: 1%;
    flex-direction: column; gap: 0; padding: 24px; text-align: center;
    background: var(--background); border: 1px solid #e8e8e8; border-radius: 12px;
    box-shadow: 1px 1px 40px #95959514;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-open .menu-button span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .menu-button span:last-child { width: 32px; transform: translateY(-4.5px) rotate(-45deg); }
  .nav-link { font-size: 24px; }
  .hero-wrap { padding: 0 16px; }
  .hero-image { padding-bottom: 200px; }
  .mega-h1 { font-size: 62px; }
  .subtitle { font-size: 22px; }
  .home-gallery-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-thirds, .list-rooms { grid-template-columns: 1fr 1fr; }
  .single-room-section { padding-top: 80px; }
  .room-columns { flex-direction: column; }
  .room-left { width: 100%; padding-right: 0; margin-bottom: 40px; }
  .room-right { width: 100%; padding-left: 0; }
  .room-left-inner { gap: 40px; }
  .book-tile { width: 100%; max-width: 600px; margin: 0 auto; }
  .title-wrap-rooms { text-align: center; }
  .faq-columns { margin-top: 64px; }
  .faq-right { padding-bottom: 64px; }
  .footer-top { flex-direction: column; align-items: center; gap: 80px; }
  .footer-left { text-align: center; align-items: center; max-width: 490px; }
  .footer-right { justify-content: center; width: 100%; }
}

/* ---------- Mobile landscape ---------- */
@media (max-width: 767px) {
  .mega-h1 { font-size: 44px; }
  .home-gallery-grid { grid-template-columns: 1fr; }
  .gallery-heading { width: auto; }
  .list-rooms { display: flex; flex-direction: column-reverse; max-width: 400px; margin-left: auto; margin-right: auto; }
  .included-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .room-gallery a.small { max-height: 300px; }
  .faq-columns { flex-direction: column; }
  .faq-left, .faq-right { width: 100%; padding-left: 0; padding-right: 0; }
  .faq-q h3 { font-size: 18px; line-height: 28px; }
  .faq-a p { font-size: 15px; line-height: 135%; }
  .footer-right { gap: 0; justify-content: space-between; }
}

/* ---------- Mobile portrait ---------- */
@media (max-width: 479px) {
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .container { padding: 0 16px; }
  .brand { margin-left: 16px; }
  .hero-wrap { padding: 0 12px; }
  .hero-image { background: url(../img/hero-1000.webp) center / cover; }
  .mega-h1 { font-size: 10.4vw; }
  .subtitle { font-size: 20px; }
  .paragraph-big { font-size: 20px; }
  .single-room-section { padding-top: 24px; }
  .room-gallery { gap: 12px; }
  .book-tile { padding: 16px; }
  .room-name { font-size: 24px; }
  .faq-item { padding: 16px; }
  .footer-right { flex-direction: column; align-items: center; gap: 90px; text-align: center; }
  .footer-col { align-items: center; }
}

/* ---------- Language link ---------- */
.lang-link { font-size: 15px; letter-spacing: .3px; text-transform: uppercase; opacity: .7; }
.lang-link:hover { opacity: 1; }

/* ---------- Audience tiles (home) ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-tile { display: flex; flex-direction: column; gap: 8px; color: var(--black); text-decoration: none; padding: 32px; border-left: 6px solid var(--yellow); }
.audience-tile h3 { margin: 0; }
.audience-tile p { margin: 0 0 8px; }

/* ---------- Landing pages ---------- */
.landing-hero { background: url(../img/dots.svg) right bottom no-repeat; }
.landing-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.landing-hero h1 { font-size: 52px; font-weight: 600; margin: 16px 0; }
.landing-hero-img img { width: 100%; border-radius: 16px; }
.landing-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; }
.landing-ctas.center { justify-content: center; }
.why-tile h3 { font-size: 22px; margin: 0 0 8px; }
.why-tile p { margin: 0; }
.container.narrow { max-width: 900px; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.step { display: flex; align-items: center; gap: 20px; font-size: 20px; }
.step-n { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); font-weight: 700; }

@media (max-width: 991px) {
  .lang-link { font-size: 20px; }
  .landing-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .landing-hero h1 { font-size: 42px; }
}
@media (max-width: 767px) {
  .audience-grid { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 34px; }
  .step { font-size: 18px; }
}
@media (max-width: 767px) { .why-grid { grid-template-columns: 1fr; } }
