/* styles.css
   Warm, modern palette:
   - Background: warm beige/cream
   - Text: graphite
   - Accent: amber/gold
*/
:root{
  --bg: #fbf6ee;
  --bg-2: #f6efe4;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #6a645b;
  --accent: #d7a43b;
  --accent-2: #b8841f;
  --shadow: 0 10px 30px rgba(20, 18, 14, .10);
  --shadow-soft: 0 8px 20px rgba(20, 18, 14, .08);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header{
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(251, 246, 238, .75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.header--scrolled{
  box-shadow: var(--shadow-soft);
  background: rgba(251, 246, 238, .92);
}
.header__inner{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.header__brand{
  display:flex;
  align-items:baseline;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .2px;
}
.header__name{ font-size: 16px; }
.header__role{ font-size: 14px; color: var(--muted); font-weight: 600; }
.header__social{
  display:flex;
  align-items:center;
  gap: 10px;
}
.icon-link{
  width: 40px; height: 40px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.icon-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
}
.icon{
  width: 20px; height: 20px;
  fill: #3a332b;
  opacity: .95;
}

/* Sections */
.section{
  padding: 92px 0;
}
.section--alt{
  background: var(--bg-2);
}
.section__title{
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section__note{
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

/* Hero */
.hero{
  position: relative;
  padding-top: 72px; /* offset fixed header */
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__bg{
  position:absolute; inset: 0;
  background-image: url("/assets/gallery/full/18.webp");
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.75);
  transform: scale(1.15);
}
.hero__photo {
  position: relative;
  z-index: 1;
  max-height: 80vh;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero__overlay{
  position:absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,18,14,.55) 0%,
    rgba(20,18,14,.35) 45%,
    rgba(20,18,14,.65) 100%
  );
}
.hero__content{
  position: relative;
  text-align:center;
  padding: 44px 0 70px;
  color: #fff;
}
.hero__title{
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.hero__subtitle{
  margin: 0 auto 24px;
  max-width: 780px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
.hero__actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.btn:active{ transform: translateY(0px); box-shadow: none; }

.btn--primary{
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #1c1306;
}
.btn--secondary{
  background: rgba(255,255,255,.9);
  border-color: rgba(0,0,0,.10);
}
.btn--ghost{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
  align-items: start;
}
.about__img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.text{ margin: 0 0 12px; color: #2f2b26; }
.chips{
  margin: 18px 0 18px;
  padding: 0;
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(215,164,59,.18);
  border: 1px solid rgba(215,164,59,.25);
  color: #3b2a08;
  font-weight: 600;
  font-size: 13px;
}

/* Cards */
.cards{
  display:grid;
  gap: 16px;
}
.cards--4{
  grid-template-columns: repeat(4, 1fr);
}
.card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.10);
}
.card__title{ margin: 0 0 10px; font-size: 18px; }
.card__desc{ margin: 0 0 12px; color: var(--muted); }
.card__meta{ margin: 0 0 10px; color: #3b352e; }
.card__list{
  margin: 0;
  padding-left: 18px;
  color: #3a342d;
}
.card__list li{ margin: 6px 0; }

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__item{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.12);
}
.gallery__item img{
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 100;
}
.lightbox.is-open{ display:flex; }
.lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.lightbox__panel{
  position: relative;
  width: min(1000px, calc(100% - 28px));
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20, 18, 14, .2);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lightbox__img{
  display:block;
  width: 100%;
  height: min(76vh, 680px);
  object-fit: contain;
  background: rgba(0,0,0,.35);
}
.lightbox__close{
  position:absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 26px;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 38px;
  cursor:pointer;
}
.lightbox__nav--prev{ left: 10px; }
.lightbox__nav--next{ right: 10px; }

/* Video */
.video-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.video{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  background: #000;
  aspect-ratio: 16 / 9;
}
/*
.video__embed{
  position: relative;
  padding-top: 56.25%; 
} */
.video iframe{
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;

  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;

  display: block !important;
  border: 0 !important;
  
}

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.review__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.review__name{
  font-weight: 800;
  margin: 0;
}
.review__meta{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(215,164,59,.18);
  border: 1px solid rgba(215,164,59,.25);
  font-weight: 800;
  font-size: 13px;
  color: #3b2a08;
  white-space: nowrap;
}
.review__text{
  margin: 12px 0 0;
  color: #2f2b26;
  overflow: hidden;
  max-height: 8.6em; /* collapsed default */
  transition: max-height .35s ease;
}
.review.is-expanded .review__text{
  max-height: 999px;
}
.review__actions{
  margin-top: 10px;
  display:flex;
  justify-content:flex-start;
}
.link-btn{
  border: 0;
  background: transparent;
  padding: 8px 6px;
  cursor: pointer;
  color: #5c3c08;
  font-weight: 800;
  border-radius: 12px;
  transition: background .18s ease;
}
.link-btn:hover{ background: rgba(215,164,59,.18); }

/* Form */
.form{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.07);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field{
  display:block;
}
.field__label{
  display:block;
  font-weight: 800;
  margin-bottom: 8px;
}
.field__control{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  outline: none;
  font: inherit;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.field__control:focus{
  border-color: rgba(215,164,59,.65);
  box-shadow: 0 0 0 6px rgba(215,164,59,.18);
}
.field__control--area{
  resize: vertical;
  min-height: 140px;
}
.field__hint{
  display:block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.form__actions{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 12px;
}
.form__status{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Stars */
.stars{
  display:flex;
  align-items:center;
  gap: 6px;
}
.star{
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.star:hover{ transform: translateY(-1px); border-color: rgba(215,164,59,.6); }
.star svg{ width: 18px; height: 18px; fill: rgba(40,35,28,.35); }
.star.is-on{
  background: rgba(215,164,59,.20);
  border-color: rgba(215,164,59,.40);
}
.star.is-on svg{ fill: rgba(139, 92, 12, .95); }

/* Footer */
.footer{
  background: #1e1a14;
  color: rgba(255,255,255,.9);
  padding: 56px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 18px;
}
.footer__title{ margin: 0 0 10px; font-size: 18px; }
.footer__text{ margin: 0 0 10px; color: rgba(255,255,255,.78); }
.footer__social{ display:flex; gap: 10px; margin-bottom: 14px; }
.footer__copy{ margin: 0; color: rgba(255,255,255,.6); }
.link{ color: rgba(255,255,255,.92); text-decoration: underline; text-underline-offset: 3px; }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE (mobile-first with required breakpoints) --- */

/* ≤ 768px (tablet) */
@media (max-width: 768px){
  .section{ padding: 74px 0; }
  .section__title{ font-size: 28px; }
  .hero__title{ font-size: 38px; }
  .hero__subtitle{ font-size: 16px; }

  .about{ grid-template-columns: 1fr; }
  .cards--4{ grid-template-columns: 1fr 1fr; }
  .gallery{ grid-template-columns: 1fr 1fr 1fr; }
  .video-grid{ grid-template-columns: 1fr; }
  .reviews{ grid-template-columns: 1fr; }
  .form__row{ grid-template-columns: 1fr; }
  .footer__inner{ flex-direction: column; }
}

/* ≤ 480px (mobile) */
@media (max-width: 480px){
  .container{ width: min(var(--container), calc(100% - 24px)); }
  .header__inner{ height: 66px; }
  .hero{ min-height: 86vh; }
  .hero__title{ font-size: 32px; }
  .icon-link{ width: 38px; height: 38px; border-radius: 12px; }
  .cards--4{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr 1fr; }
  .gallery__item img{ height: 150px; }
}

/* ≥ 1024px (desktop) — layout already optimized by default */
@media (min-width: 1024px){
  .reviews{ grid-template-columns: repeat(3, 1fr); }
}
