:root{
  --bg:#f2f1ed;
  --text:#12193f;
  --muted:#6f7680;
}

/* ================= BASE ================= */

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  margin:0;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x:hidden;
  padding-top:110px;
}

section{
  scroll-margin-top:110px;
}

/* ================= NAVBAR ================= */

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(202,221,252,0.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.navbar .container{
  min-height:110px;
}

.navbar-brand img{
  height:80px;
  display:block;
}

.nav-link{
  color:#1d3432;
}

.nav-link:hover{
  color:rgba(104,127,165,0.85);
}

/* ================= HERO ================= */

/* DESKTOP = FULL WIDTH COVER */
.hero-image{
  width:100%;
  height:85vh;
  min-height:520px;
  max-height:900px;
  overflow:hidden;
}

.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide{
  width:100%;
  height:100%;
}

.heroSwiper img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:85% center;
  display:block;
}

/* ================= WORK GALLERY ================= */

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

.gallery .tile{
  grid-column:span 4;
  position:relative;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}

.gallery .tile img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
  transition:transform .45s ease, filter .45s ease;
}

.gallery .tile:hover img{
  transform:scale(1.05);
  filter:brightness(.85);
}

.gallery .caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:14px;
  background:rgba(252,250,246,0.92);
  text-align:center;
  font-size:14px;
  transform:translateY(100%);
  opacity:0;
  transition:.35s;
}

.gallery .tile:hover .caption{
  transform:translateY(0);
  opacity:1;
}

@media(max-width:900px){
  .gallery .tile{ grid-column:span 6; }
}

@media(max-width:720px){
  .gallery .tile{ grid-column:span 12; }
}

/* ================= WORKSHOP SWIPER ================= */

.workshopSwiper{
  width:100%;
  overflow:hidden;
  padding-bottom:45px;
}

.workshopSwiper .swiper-slide{
  display:flex;
  justify-content:center;
  align-items:center;
}

.workshopSwiper img{
  width:100%;
  max-width:900px;
  height:420px;
  object-fit:cover;
  border-radius:14px;
}

.workshopSwiper .swiper-button-next,
.workshopSwiper .swiper-button-prev{
  color:var(--text);
}

.workshopSwiper .swiper-pagination{
  bottom:8px;
}

@media(max-width:768px){
  .workshopSwiper img{
    height:260px;
  }

  .workshopSwiper .swiper-button-next,
  .workshopSwiper .swiper-button-prev{
    display:none;
  }
}

/* ================= ABOUT ================= */

.about-grid{
  display:grid;
  grid-template-columns:55% 45%;
  gap:3rem;
  align-items:start;
}

.about-content{
  line-height:1.7;
}

.subtitle{
  font-weight:600;
  margin-bottom:1rem;
}

.about-image img{
  width:100%;
  display:block;
}

@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
  }

  .about-image img{
    width:70%;
    margin:2rem auto 0;
  }
}

@media(max-width:520px){
  .about-image img{
    width:100%;
  }
}

/* ================= CONTACT ================= */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:stretch;
}

.contact-image{
  display:flex;
}

.contact-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:600px;
}

.contact-form{
  max-width:760px;
}

.contact-input{
  border:1px solid var(--text);
  background:#fff;
  padding:12px;
}

.contact-input:focus{
  box-shadow:0 0 0 .2rem rgba(18,25,63,.15);
}

.contact-btn{
  background:var(--text);
  color:#fff;
  border:1px solid var(--text);
  padding:10px 18px;
}

.contact-btn:hover{
  background:#8d92a0;
  border-color:#8d92a0;
}

@media(max-width:900px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-image img{
    height:260px;
    margin-bottom:2rem;
  }
}

/* ================= FOOTER ================= */

footer{
  background:#FCFAF6;
  color:var(--text);
}

/* ================= MOBILE FIX ================= */

@media(max-width:768px){

  body{
    padding-top:95px;
  }

  section{
    scroll-margin-top:95px;
  }

  .navbar .container{
    min-height:95px;
  }

  .navbar-brand img{
    height:58px;
  }

  /* MOBILE HERO = FULL IMAGE (NO CROP) */
  .hero-image{
    height:auto;
    min-height:auto;
    max-height:none;
  }

  .heroSwiper,
  .heroSwiper .swiper-wrapper,
  .heroSwiper .swiper-slide{
    height:auto;
  }

  .heroSwiper img{
    height:auto;
    object-fit:contain;
  }
}

@media(max-width:480px){
  .navbar-brand img{
    height:52px;
  }
}
