/* =============================================
   DESIGN SYSTEM — Лидия Любченкова
   Palette: warm gold, deep green, cream, poppy
   ============================================= */

:root {
  --cream:      #FAF6F0;
  --cream-dark: #F0E9DC;
  --gold:       #C9973E;
  --gold-light: #E8C07A;
  --green-deep: #2D3B2A;
  --green-mid:  #4A5E40;
  --green-soft: #7A9068;
  --poppy:      #C44B2E;
  --text-dark:  #2A2318;
  --text-mid:   #5C4E3A;
  --text-soft:  #8C7A62;
  --white:      #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 8px 40px rgba(42, 35, 24, 0.12);
  --shadow-card: 0 4px 24px rgba(42, 35, 24, 0.10);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container { width: min(90%, 1160px); margin-inline: auto; }

/* ---- TYPOGRAPHY ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-tag.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
}
.section-title em { font-style: italic; color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 1rem;
}

.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-inline: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 80px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-light {
  background: var(--cream);
  color: var(--green-deep);
  border-color: var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 151, 62, 0.4);
}

/* ================================================
   NAVIGATION
   ================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(42,35,24,0.08);
  padding: 0.7rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 1160px);
  margin-inline: auto;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled .nav-logo { color: var(--text-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold-light); }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 80px;
}
.nav-cta:hover { background: var(--green-deep) !important; }
.nav-cta::after { display: none !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .burger span { background: var(--text-dark); }

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 25, 15, 0.25) 0%,
    rgba(30, 25, 15, 0.15) 40%,
    rgba(30, 25, 15, 0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(90%, 800px);
  margin-inline: auto;
  text-align: center;
  animation: fadeUp 1s 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.5rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
  margin: auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ================================================
   QUOTE BAND
   ================================================ */
#quote-band {
  background: var(--green-deep);
  padding: 4rem 0;
}
.intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.6;
  position: relative;
  padding: 0 2rem;
}
.intro-quote::before {
  content: '\201C';
  position: absolute;
  left: -0.2rem; top: -1.5rem;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.3;
  font-style: normal;
  line-height: 1;
}

/* ================================================
   ABOUT
   ================================================ */
#about {
  padding: 7rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-img-main img {
  width: 100%; height: 520px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  width: 48%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--cream);
}
.about-img-accent img {
  width: 100%; height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}
.about-img-accent:hover img { transform: scale(1.06); }

.about-text { padding-right: 1rem; }

.about-body {
  margin: 1.8rem 0 2.5rem;
}
.about-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-body p:last-child { margin-bottom: 0; }

.about-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(201,151,62,0.2);
  transition: var(--transition);
}
.badge:hover {
  background: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.badge:hover .badge-num,
.badge:hover .badge-label { color: var(--cream); }
.badge-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-top: 0.3rem;
  text-transform: uppercase;
}

/* ================================================
   SERVICES
   ================================================ */
#services {
  padding: 7rem 0;
  background: var(--green-deep);
}
#services .section-tag { color: var(--gold); }
#services .section-title { color: var(--cream); }
#services .section-sub { color: rgba(250,246,240,0.65); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-color: rgba(201,151,62,0.3);
}
.service-img {
  flex: 0 0 40%;
  overflow: hidden;
  min-height: 320px;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-body h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
}
.service-body p {
  font-size: 1.05rem;
  color: rgba(250,246,240,0.75);
  line-height: 1.75;
}

/* ================================================
   PHOTO BAND
   ================================================ */
#photo-band {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.photo-band-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#photo-band:hover .photo-band-img { transform: scale(1); }
.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(45, 59, 42, 0.88) 0%,
    rgba(45, 59, 42, 0.5) 60%,
    rgba(45, 59, 42, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8%;
}
.photo-band-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  max-width: 620px;
  line-height: 1.65;
  text-align: right;
}

/* ================================================
   REVIEWS
   ================================================ */
#reviews {
  padding: 7rem 0;
  background: var(--cream);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201,151,62,0.1);
  transition: var(--transition);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(42,35,24,0.14);
  border-color: rgba(201,151,62,0.25);
}
.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.review-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}
.review-author span {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ================================================
   CONTACT
   ================================================ */
#contact {
  padding: 7rem 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,151,62,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact-text .section-title.light { color: var(--cream); }
.contact-desc {
  font-size: 1rem;
  color: rgba(250,246,240,0.7);
  line-height: 1.8;
  margin: 1.5rem 0 2.5rem;
  max-width: 440px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.8rem;
  border-radius: 80px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid rgba(201,151,62,0.4);
  color: var(--cream);
  transition: var(--transition);
  width: fit-content;
}
.contact-link svg { width: 18px; height: 18px; }
.contact-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateX(4px);
}
.contact-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  aspect-ratio: 3/4;
}
.contact-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* ================================================
   FOOTER
   ================================================ */
#footer {
  background: var(--text-dark);
  padding: 3rem 0;
  text-align: center;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(140,122,98,0.6);
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-accent {
    bottom: -1.5rem; right: 0;
    width: 40%;
  }
  .about-text { padding-right: 0; padding-top: 2.5rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-card { flex-direction: column; }
  .service-img { width: 100%; min-height: 260px; flex: none; }
  .service-body { padding: 1.8rem; }

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-img { max-height: 380px; }

  .photo-band-overlay {
    background: rgba(45, 59, 42, 0.75);
    padding: 0 5%;
  }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100svh;
    width: 280px;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; font-size: 1.1rem; }
  .nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 0.8rem 2rem; }
  .burger { display: flex; }

  #hero { padding-bottom: 5rem; }

  .about-img-accent { display: none; }

  .about-badges { gap: 0.8rem; }

  .service-img { height: 200px; }

  #photo-band { height: 360px; }
  .photo-band-text { font-size: 1.1rem; }

  .contact-desc { max-width: 100%; }
}

@media (max-width: 420px) {
  .about-badges { flex-direction: column; align-items: flex-start; }
  .badge { flex-direction: row; gap: 0.8rem; align-items: center; width: 100%; }
}
