/* =========================================================
   Къща Свети Георги — Homepage styles
   Подредба на файла:
   01. Design tokens
   02. Reset & base
   03. Layout helpers
   04. Buttons
   05. Header / Navigation
   06. Hero
   07. Booking bar
   08. Section base styles
   09. Intro / About
   10. Amenities
   11. Rooms
   12. Gallery
   13. Location
   14. CTA
   15. Footer
   16. Responsive
   ========================================================= */


/* =========================================================
   01. Design tokens
   ========================================================= */

:root {
  --bg: #f6f0e7;
  --paper: #fffaf3;
  --forest: #0e1d16;
  --forest-2: #183327;
  --olive: #697653;
  --gold: #bd8c4a;
  --gold-2: #e2c28a;
  --text: #1b211c;
  --muted: #687066;
  --line: rgba(27, 33, 28, .13);
  --white: rgba(255, 255, 255, .92);
  --shadow: 0 32px 90px rgba(13, 29, 22, .22);
}


/* =========================================================
   02. Reset & base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.65;
}

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

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


/* =========================================================
   03. Layout helpers
   ========================================================= */

.wrap {
  width: min(1180px, calc(100% - 42px));
  margin: auto;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.02em;
}


/* =========================================================
   04. Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 25px;

  border: 1px solid transparent;
  background: var(--gold);
  color: #fff;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;

  transition: .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(.96);
}

.btn.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .58);
}

.btn.dark {
  background: var(--forest);
}


/* =========================================================
   05. Header / Navigation
   ========================================================= */

.topbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto 0;

  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.topbar .wrap {
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

header {
  position: absolute;
  z-index: 21;
  top: 46px;
  left: 0;
  right: 0;

  color: #fff;
}

.nav {
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  color: #fff;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  flex: 1 1 auto;

  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.menu a:hover {
  color: var(--gold-2);
}


/* =========================================================
   06. Hero
   ========================================================= */

.hero {
  height: 100vh;
  height: 100svh;
  min-height: 720px;
  position: relative;

  display: block;
  overflow: hidden;

  padding: 0;
  background: #0e1d16;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 13, .86),
      rgba(8, 18, 13, .38) 52%,
      rgba(8, 18, 13, .64)
    ),
    url('images/img_3005.jpg') center / cover no-repeat;

  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 48%;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
}

.hero-inner {
  width: min(1180px, calc(100% - 42px));
  height: 100%;
  position: relative;
  z-index: 2;

  padding-top: 210px;
}

.page-hero-inner {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 22px;

  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 74px;
  height: 1px;
  background: var(--gold);
}

h1 {
  max-width: 680px;
  margin: 0;

  font-size: clamp(48px, 5.7vw, 90px);
  line-height: .9;

  text-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;

  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 1.35vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;
}


/* =========================================================
   07. Reservation box
   ========================================================= */

.reservation-box {
  position: absolute;
  right: clamp(-280px, -13vw, -120px);
  top: 270px;

  width: min(590px, 46vw);

  display: block;
  padding: 26px 30px 24px;

  background: rgba(255, 250, 243, .84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 18px;
  color: var(--text);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.reservation-box h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--forest);
}

.reservation-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(145px, 1fr) minmax(72px, .55fr) minmax(72px, .55fr);
  gap: 12px;
  margin-bottom: 16px;
}

.reservation-box label span {
  display: block;
  margin-bottom: 7px;

  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reservation-box input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  cursor: pointer;

  border: 0;
  border-radius: 999px;
  outline: none;

  background: rgba(255,255,255,.9);
  color: var(--text);

  font-family: inherit;
  font-size: 14px;

  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08),
              0 10px 22px rgba(0,0,0,.18);
}


.reservation-box input[type="number"] {
  text-align: center;
  padding: 0 10px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.reservation-box input[type="number"]::-webkit-outer-spin-button,
.reservation-box input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
}

.phone-field {
  display: block;
  margin-bottom: 18px;
}

.phone-field input {
  width: 100%;
}

.reservation-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reservation-bottom button {
  height: 48px;
  padding: 0 28px;

  border: 0;
  border-radius: 999px;

  background: var(--gold);
  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.direct-phone {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  line-height: 1.35;
}

.direct-phone a {
  color: var(--forest);
  font-weight: 900;
}

/* =========================================================
   08. Section base styles
   ========================================================= */

section {
  padding: 112px 0;
}

section.hero {
  padding: 0;
}

.section-head {
  display: grid;
  grid-template-columns: .7fr 1.2fr;
  gap: 60px;
  align-items: end;

  margin-bottom: 58px;
}

.kicker {
  margin-bottom: 14px;

  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h2 {
  margin: 0;

  color: var(--forest);
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
}

.section-head p {
  max-width: 660px;
  margin: 0;

  color: var(--muted);
  font-size: 18px;
}


/* =========================================================
   09. Intro / About
   ========================================================= */

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 78px;
  align-items: center;
}

.photo-stack {
  min-height: 570px;
  position: relative;
}

.photo-main,
.photo-small {
  position: absolute;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.photo-main {
  left: 0;
  top: 0;

  width: 76%;
  height: 520px;

  background-image: url('images/kashtata.jpg');
}

.photo-small {
  right: 0;
  bottom: 0;

  width: 48%;
  height: 290px;

  border: 12px solid var(--paper);
  background-image: url('images/dvor3.jpg');
}

.text-card {
  padding: 54px;
  background: var(--bg);
  border-left: 4px solid var(--gold);
}

.text-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;

  margin-top: 48px;
  background: var(--line);
}

.fact {
  padding: 34px 28px;
  background: var(--paper);
  text-align: center;
}

.fact strong {
  display: block;

  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.fact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}


/* =========================================================
   10. Amenities
   ========================================================= */

.dark {
  position: relative;
  overflow: hidden;

  background: var(--forest);
  color: #fff;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle at 78% 8%, rgba(189, 140, 74, .24), transparent 34%);
}

.dark .wrap {
  position: relative;
  z-index: 1;
}

.dark h2 {
  color: #fff;
}

.dark .section-head p {
  color: rgba(255, 255, 255, .68);
}

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

.amenity {
  min-height: 260px;
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 34px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}

.amenity::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top, rgba(0, 0, 0, .64), transparent),
    var(--img) center / cover no-repeat;

  opacity: .42;
  transition: .3s;
}

.amenity:hover::before {
  opacity: .6;
  transform: scale(1.04);
}

.amenity * {
  position: relative;
}

.amenity h3 {
  margin: 0 0 8px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.amenity p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}


/* =========================================================
   11. Rooms
   ========================================================= */

.rooms {
  background: var(--bg);
}

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

.room {
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(13, 29, 22, .09);
}

.room-img {
  height: 280px;
  background: var(--img) center / cover no-repeat;
}

.room-body {
  padding: 32px;
}

.room h3 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 34px;
}

.room p {
  margin: 0 0 22px;
  color: var(--muted);
}

.more {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}


/* =========================================================
   12. Gallery
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 340px;
  gap: 1px;

  padding: 0;
  background: var(--forest);
}

.gallery div {
  min-height: 280px;
  background: var(--img) center / cover no-repeat;
}

.gallery div:first-child {
  grid-row: span 2;
}


/* =========================================================
   13. Location
   ========================================================= */

.location {
  background: var(--paper);
}

.nearby {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.place {
  position: relative;
  overflow: hidden;

  min-height: 200px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  border: 1px solid var(--line);
}

.place span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.place h3 {
  margin: 18px 0 0;
  color: var(--forest);
  font-size: 27px;
}


/* =========================================================
   14. CTA
   ========================================================= */

.cta {
  background:
    linear-gradient(rgba(14, 29, 22, .82), rgba(14, 29, 22, .82)),
    url('https://kashta-svgeorgi.com/thumbs/1/img_3008.jpg') center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.cta h2 {
  max-width: 820px;
  margin: auto;
  color: #fff;
}

.cta p {
  max-width: 720px;
  margin: 26px auto 36px;

  color: rgba(255, 255, 255, .78);
  font-size: 20px;
}


/* =========================================================
   15. Footer
   ========================================================= */

footer {
  padding: 54px 0;
  background: #09120e;
  color: rgba(255, 255, 255, .72);
}

.foot {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: 42px;
}

.foot strong {
  color: #fff;
}

.foot a {
  display: block;
  margin-top: 10px;
}


/* =========================================================
   16. Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .hero-copy {
    max-width: 600px;
  }

  h1 {
    max-width: 600px;
    font-size: clamp(46px, 5.4vw, 78px);
  }

  .reservation-box {
    width: 460px;
    top: 315px;
  }
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .hero-inner {
    min-height: 100svh;
    padding: 150px 0 42px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0;
  }

  h1 {
    max-width: 760px;
  }

  .reservation-box {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 34px;
  }

  .section-head,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .facts,
  .room-grid,
  .amenities,
  .nearby {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery div:first-child {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  header {
    top: 0;
  }

  .nav {
    height: 76px;
  }

  .wrap,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
    line-height: .92;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .18em;
  }

  .eyebrow::before {
    width: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .reservation-box {
    padding: 24px 20px;
  }

  .reservation-grid,
  .facts,
  .room-grid,
  .amenities,
  .nearby,
  .foot {
    grid-template-columns: 1fr;
  }

  .reservation-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .direct-phone {
    text-align: left;
  }

  .section-head {
    gap: 22px;
  }

  .photo-stack {
    min-height: 440px;
  }

  .photo-main {
    width: 88%;
    height: 390px;
  }

  .photo-small {
    width: 62%;
    height: 210px;
  }

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

  section {
    padding: 76px 0;
  }
}
