/* Hotel EST Bucuresti - static reconstruction of the Elementor theme */
:root {
  --primary: #FE8A19;
  --secondary: #242426;
  --text: #4F4F4F;
  --container: 1000px;
  --header-h: 90px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-round: "Varela Round", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--secondary); }
p { margin: 0 0 .9rem; font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300))), 18px); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.2; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: calc(-1 * var(--header-h));
  background-image: linear-gradient(130deg, var(--secondary) 0%, var(--primary) 100%);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .2);
}
.header-inner {
  max-width: 1200px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo img { width: 120px; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; }
.main-nav a {
  position: relative;
  display: block;
  padding: 13px 25px;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 300;
  color: #fff;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 25px; right: 25px; bottom: 6px;
  height: 2px;
  background: #fff;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s, transform .3s;
}
.main-nav a:hover::after, .main-nav a.active::after, .main-nav a:focus-visible::after { opacity: 1; transform: none; }
.main-nav a:hover { color: #fff; }

.header-phones { list-style: none; margin: 0; padding: 0; text-align: right; }
.header-phones a { color: #fff; font-family: "Montserrat", var(--font); font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.header-phones a:hover { color: var(--secondary); }
.header-phones i { margin-right: 6px; font-size: 13px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle:hover { color: var(--primary); }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: 500px; overflow: hidden; background: var(--primary); }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  opacity: 0;
  transform: scale(1);
  transition: opacity .8s ease, transform 6s linear;
}
.slide.active { opacity: 1; transform: scale(1.06); }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 40px;
  cursor: pointer;
  padding: 10px 15px;
  text-shadow: 0 0 8px rgba(0, 0, 0, .4);
}
.slider-btn:hover { color: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots { position: absolute; bottom: 15px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dots button {
  width: 15px; height: 15px; padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: #fff; }

/* ---------- Layout ---------- */
.site-main { padding: 40px 0 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

.page-title, .section-title {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  font-size: clamp(26px, calc(26px + (44 - 26) * ((100vw - 300px) / (2048 - 300))), 44px);
  margin: 20px 0 30px;
}
.hero-title { font-size: clamp(30px, calc(30px + (60 - 30) * ((100vw - 300px) / (2048 - 300))), 60px); margin-bottom: 10px; }
.section-title { margin-top: 50px; }
.section-title.left { text-align: left; margin-top: 0; }

.stars { display: flex; justify-content: center; align-items: center; gap: 40px; color: var(--primary); font-size: 40px; margin-bottom: 30px; }
.stars .big { font-size: 50px; }

.lead { font-weight: 500; line-height: 2.3em; font-size: clamp(18px, calc(18px + (26 - 18) * ((100vw - 300px) / (2048 - 300))), 26px); }
.text-block { line-height: 1.6; margin-bottom: 20px; }
.text-block ul { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.text-block li { font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300))), 18px); }
.wide-img { width: 100%; margin: 20px 0 30px; border-radius: 2px; }

/* Icon boxes */
.icon-boxes { display: grid; gap: 20px; margin: 30px 0 40px; }
.icon-boxes.cols-6 { grid-template-columns: repeat(6, 1fr); }
.icon-boxes.cols-5 { grid-template-columns: repeat(5, 1fr); }
.icon-box { text-align: center; }
.icon-box .icon { display: inline-block; color: var(--primary); font-size: 50px; margin-bottom: 15px; transition: transform .3s; }
.icon-box:hover .icon { transform: translateY(-5px); }
.icon-box h3 { color: var(--secondary); font-weight: 600; font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300))), 18px); margin-bottom: 6px; }
.icon-box p { margin: 0; font-size: 14px; }

/* Counters */
.counters { text-align: center; margin: 30px 0; }
.counter { display: flex; flex-direction: column; align-items: center; }
.counter-number { color: var(--primary); font-weight: 600; font-size: 50px; line-height: 1; }
.counter-main .counter-number { font-size: 69px; }
.counter-title { color: var(--text); font-weight: 400; font-size: 18px; margin: 10px 0 0; }
.counter-main .counter-title { font-weight: 600; font-size: clamp(16px, calc(16px + (21 - 16) * ((100vw - 300px) / (1920 - 300))), 21px); }
.counter-sep { color: var(--secondary); font-weight: 600; margin: 20px 0; font-size: 18px; }
.counter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 30px; }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Cards (rates / offers) */
.cards { display: grid; gap: 30px; margin: 20px 0 30px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
.card { text-align: center; }
.card figure { margin: 0 0 15px; overflow: hidden; aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.05); }
.card h3 { color: var(--secondary); font-weight: 600; font-size: 20px; margin-bottom: 5px; }
.card .price { color: var(--primary); font-weight: 600; font-size: 18px; }
.note { text-align: center; font-weight: 500; }

/* News */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15); border-radius: 3px; overflow: hidden; transition: box-shadow .3s; }
.post-card:hover { box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15); }
.post-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 25px 10px; flex: 1; }
.post-cat { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.post-body h3 { font-size: 21px; font-weight: 600; }
.post-body h3 a { color: var(--secondary); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: 14px; }
.read-more { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.post-meta { border-top: 1px solid #eaeaea; padding: 12px 25px; font-size: 12px; color: #adadad; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.icon-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.icon-list li { margin-bottom: 10px; }
.icon-list i { width: 22px; color: var(--primary); margin-right: 6px; text-align: center; }
.icon-list.dark a { color: var(--text); }
.icon-list.dark a:hover { color: var(--primary); }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-weight: 500; color: var(--secondary); font-size: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d5d8dc;
  border-radius: 3px;
  font: inherit;
  margin-bottom: 8px;
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form button {
  justify-self: start;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 28px;
  font: 500 15px var(--font);
  cursor: pointer;
  transition: background .3s;
}
.contact-form button:hover { background: var(--secondary); }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.error { color: #c0392b; }
.form-status.ok { color: #2e7d32; }
.map { margin-top: 40px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Legal */
.legal p, .legal li { line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 3rem;
  color: #fff;
  background-image: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, .2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.3fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 4rem 1rem;
}
.footer-logo img { width: 160px; }
.site-footer h4 { font-family: var(--font-round); font-size: 20px; font-weight: 400; line-height: 25px; letter-spacing: 1px; color: #fff; }
.site-footer .icon-list a { color: #fff; font-size: .9rem; font-weight: 500; }
.site-footer .icon-list i { color: #fff; }
.site-footer a:hover { color: var(--secondary); }
.network { font-family: var(--font-round); font-size: 14px; }
.network a { color: #fff; }
.footer-gallery { grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; }
.footer-gallery .gallery-item { aspect-ratio: 1 / 1; }
.footer-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.footer-links a { color: #C9C9C9; font-size: 15px; font-weight: 300; line-height: 1.6em; }
.footer-links a:hover { color: #fff; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #3b5998; color: #fff; font-size: 20px; }
.social:hover { color: #fff; opacity: .9; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 25px; margin: 0; padding: 0; }
.footer-bottom a { color: #fff; font-size: 13px; }
.footer-bottom p { margin: 0; font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 32px; cursor: pointer; padding: 15px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 10px; right: 15px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-counter { position: absolute; top: 22px; left: 25px; color: #fff; font-size: 14px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; }
  .header-phones { order: 2; text-align: center; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { order: 4; flex-basis: 100%; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; background: #fff; margin: 0 -10px; box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
  .main-nav a { color: var(--secondary); font-family: "Montserrat", var(--font); font-weight: 500; font-size: 16px; text-align: center; padding: 14px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { color: var(--primary); }
  .hero-slider { height: 400px; }
  .icon-boxes.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-gallery { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 2rem 1rem; }
  .footer-bottom { padding: 1rem 1rem 2rem; }
}
@media (max-width: 767px) {
  .header-phones { display: none; }
  .hero-slider { height: 300px; }
  .slider-btn { font-size: 28px; }
  .icon-boxes.cols-6, .icon-boxes.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .counter-row { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-4, .cards.cols-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-gallery { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 10% 5% 5%; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .site-footer .icon-list i { display: none; }
  .footer-bottom { justify-content: center; text-align: center; padding: 1rem 5% 5%; }
  .footer-bottom ul { justify-content: center; }
}
