/* ============================================================
   SAMAT MİMARLIK — stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root{
  /* colors */
  --ink:#1c1814;
  --ink-soft:#2c2620;
  --gold:#c8a063;
  --gold-soft:#e7d4ad;
  --gold-deep:#a07f48;
  --cream:#f6f1e6;
  --paper:#fbf8f2;
  --stone:#cdbfa9;
  --text:#2b251f;
  --text-soft:#75695c;
  --line:#e4dac9;
  --line-dark:rgba(231,212,173,.18);

  /* type */
  --display:'Fraunces', serif;
  --body:'Plus Jakarta Sans', sans-serif;

  /* layout */
  --container:1240px;
  --radius:2px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--body);
  color:var(--text);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.6;
}

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

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

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ---------- shared type ---------- */
.eyebrow{
  font-family:var(--body);
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--gold-deep);
  display:flex;
  align-items:center;
  gap:14px;
}
.eyebrow::before{
  content:'';
  display:inline-block;
  width:28px;
  height:8px;
  border-radius:5px;
  background:var(--gold);
}
.eyebrow.light{ color:var(--gold-soft); }
.eyebrow.light::before{ background:var(--gold-soft); }

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  line-height:1.12;
  margin:0;
  color:var(--ink);
  letter-spacing:-.01em;
}

.section-head{
  max-width:680px;
  margin-bottom:56px;
}
.section-head h2{
  font-size:clamp(2rem,4vw,2.9rem);
  margin-top:18px;
}
.section-head p{
  margin-top:18px;
  color:var(--text-soft);
  font-size:1.05rem;
  max-width:46ch;
}

section{ padding:108px 0; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--body);
  font-weight:600;
  font-size:.92rem;
  letter-spacing:.02em;
  padding:15px 30px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover{ transform:translateY(-2px); }

.btn--gold{
  background:var(--gold);
  color:var(--ink);
}
.btn--gold:hover{ background:var(--gold-soft); }

.btn--ghost{
  background:transparent;
  border-color:var(--line-dark);
  color:var(--cream);
}
.btn--ghost:hover{
  border-color:var(--gold);
  color:var(--gold-soft);
}

.btn--dark{
  background:var(--ink);
  color:var(--cream);
}
.btn--dark:hover{ background:var(--ink-soft); }

.btn svg{ width:16px; height:16px; flex:none; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  padding:26px 0;
  transition:padding .35s ease, box-shadow .35s ease;
}
.nav::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:transparent;
  transition:background .35s ease;
}
.nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.nav.is-scrolled{
  padding:14px 0;
  box-shadow:0 1px 0 var(--line-dark);
}
.nav.is-scrolled::before{
  background:rgba(28,24,20,.86);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  flex:none;
}
.brand__text{
  font-family:var(--display);
  font-weight:600;
  font-size:1.05rem;
  letter-spacing:.04em;
  color:var(--cream);
  line-height:1.15;
}
.brand__text span{
  display:block;
  font-family:var(--body);
  font-weight:500;
  font-size:.62rem;
  letter-spacing:.28em;
  color:var(--gold-soft);
  margin-top:3px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:38px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  font-size:.9rem;
  font-weight:500;
  color:var(--cream);
  letter-spacing:.02em;
  position:relative;
  padding-bottom:4px;
  transition:color .25s ease;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:1px;
  background:var(--gold);
  transition:right .3s ease;
}
.nav-links a:hover{ color:var(--gold-soft); }
.nav-links a:hover::after{ right:0; }

.nav-links__insta{
  display:none;
  align-items:center;
  gap:10px;
  border:1px solid var(--line-dark);
  border-radius:999px;
  padding:14px 28px;
  font-weight:600;
}
.nav-links__insta svg{ width:18px; height:18px; }
.nav-links__insta::after{ content:none; }

.nav__actions{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line-dark);
  border-radius:50%;
  width:44px; height:44px;
  align-items:center;
  justify-content:center;
  color:var(--cream);
  cursor:pointer;
  transition:transform .4s cubic-bezier(.4,0,.2,1), border-color .35s ease;
}
.nav-toggle svg{ width:20px; height:20px; }
.nav-toggle .icon-close{ display:none; }
.nav-toggle.is-active{
  transform:rotate(180deg);
}
.nav-toggle.is-active .icon-menu{ display:none; }
.nav-toggle.is-active .icon-close{ display:block; }

/* mobile overlay */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,12,9,.55);
  z-index:89;
  opacity:0;
  visibility:hidden;
  transition:opacity .4s ease, visibility .4s ease;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
.nav-overlay.is-visible{
  opacity:1;
  visibility:visible;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  background:#000;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:url('images/mutfak-1.jpg');
  background-size:cover;
  background-position:center 38%;
  transform:scale(1.04);
}
.hero__scrim{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.35) 32%, rgba(15,12,9,.86) 100%),
    linear-gradient(90deg, rgba(15,12,9,.65) 0%, rgba(15,12,9,.15) 60%);
}
.hero__content{
  position:relative;
  z-index:2;
  width:100%;
  padding:200px 0 96px;
  color:var(--cream);
}
.hero__content h1{
  color:var(--cream);
  font-size:clamp(2.6rem, 7vw, 5.6rem);
  font-weight:600;
  max-width:16ch;
  margin-top:24px;
}
.hero__content h1 em{
  font-style:italic;
  font-weight:500;
  color:var(--gold-soft);
}
.hero__content p{
  margin-top:24px;
  max-width:46ch;
  font-size:1.08rem;
  color:var(--stone);
}
.hero__actions{
  margin-top:42px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.hero__scroll{
  position:absolute;
  right:40px;
  bottom:40px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:var(--stone);
  font-size:.7rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
}
.hero__scroll::after{
  content:'';
  display:block;
  width:1px;
  height:60px;
  background:linear-gradient(var(--gold), transparent);
  animation:scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine{
  0%,100%{ transform:scaleY(1); opacity:.9; }
  50%{ transform:scaleY(.4); opacity:.4; }
}



/* ============================================================
   TICKER
   ============================================================ */
.ticker{
  background:var(--ink);
  color:var(--gold-soft);
  overflow:hidden;
  border-bottom:1px solid var(--line-dark);
}
.ticker__track{
  display:flex;
  width:max-content;
  animation:tickerScroll 38s linear infinite;
}
.ticker__track span{
  display:flex;
  align-items:center;
  gap:18px;
  padding:18px 0;
  font-family:var(--display);
  font-style:italic;
  font-weight:500;
  font-size:1.05rem;
  white-space:nowrap;
  padding-right:18px;
}
.ticker__track span::after{
  content:'•';
  color:var(--gold);
  font-style:normal;
  margin-left:18px;
  font-family:var(--body);
}
@keyframes tickerScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker__track{ animation:none; }
  .hero__scroll::after{ animation:none; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about{
  background:var(--paper);
}
.about .container{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:80px;
  align-items:center;
}
.about__copy p{
  color:var(--text-soft);
  font-size:1.05rem;
  margin:18px 0 0;
  max-width:50ch;
}
.about__copy h2{
  font-size:clamp(2rem,3.6vw,2.7rem);
  margin-top:18px;
}

.about__features{
  list-style:none;
  margin:42px 0 0;
  padding:0;
  display:grid;
  gap:26px;
}
.about__features li{
  display:flex;
  gap:18px;
  align-items:flex-start;
}
.about__features .icon{
  flex:none;
  width:46px; height:46px;
  border-radius:50%;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold-deep);
}
.about__features .icon svg{ width:20px; height:20px; }
.about__features strong{
  font-family:var(--display);
  font-weight:600;
  font-size:1.08rem;
  display:block;
  color:var(--ink);
}
.about__features p{
  margin:4px 0 0;
  color:var(--text-soft);
  font-size:.95rem;
}

.about__media{
  position:relative;
  aspect-ratio:4/5;
}
.about__media img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:6px;
}
.about__media .main{
  position:absolute;
  inset:0;
}
.about__media .accent{
  position:absolute;
  width:46%;
  aspect-ratio:1/1;
  bottom:-46px;
  left:-46px;
  border:8px solid var(--paper);
  box-shadow:0 18px 40px -18px rgba(28,24,20,.45);
}
.about__media .badge{
  position:absolute;
  top:24px; right:24px;
  background:var(--ink);
  color:var(--gold-soft);
  font-family:var(--display);
  font-style:italic;
  font-weight:500;
  text-align:center;
  border-radius:50%;
  width:120px; height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  line-height:1.3;
  font-size:.95rem;
  border:1px solid var(--line-dark);
}
.about__media .badge small{
  display:block;
  font-family:var(--body);
  font-style:normal;
  font-weight:600;
  font-size:.6rem;
  letter-spacing:.2em;
  color:var(--gold);
  margin-bottom:4px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services{ background:var(--cream); }

.service-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  padding:64px 0;
  border-top:1px solid var(--line);
}
.service-row:first-of-type{ border-top:none; padding-top:0; }
.service-row:last-of-type{ padding-bottom:0; }

.service-row:nth-of-type(even) .service-media{ order:2; }
.service-row:nth-of-type(even) .service-copy{ order:1; }

.service-media{
  position:relative;
  border-radius:6px;
  overflow:hidden;
  aspect-ratio:6/5;
}
.service-media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform 1.2s ease;
}
.service-row:hover .service-media img{ transform:scale(1.05); }

.service-copy .tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.75rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--gold-deep);
}
.service-copy h3{
  margin-top:16px;
  font-size:clamp(1.5rem,2.6vw,2.1rem);
}
.service-copy p{
  margin-top:16px;
  color:var(--text-soft);
  max-width:48ch;
}
.service-copy .num{
  font-family:var(--display);
  font-style:italic;
  font-size:1rem;
  color:var(--gold-deep);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{ background:var(--paper); }
.gallery .section-head{ margin-left:auto; margin-right:auto; text-align:center; }
.gallery .section-head .eyebrow{ justify-content:center; }
.gallery .section-head p{ margin-left:auto; margin-right:auto; }

.gallery__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:200px;
  gap:14px;
}
.gallery__item{
  position:relative;
  border-radius:6px;
  overflow:hidden;
  cursor:pointer;
  background:var(--ink);
}
.gallery__item img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .8s ease;
}
.gallery__item:hover img{ transform:scale(1.08); }

.gallery__item--a{ grid-column:span 2; grid-row:span 2; }
.gallery__item--b{ grid-column:span 2; grid-row:span 1; }
.gallery__item--c{ grid-column:span 1; grid-row:span 1; }
.gallery__item--d{ grid-column:span 1; grid-row:span 2; }
.gallery__item--e{ grid-column:span 2; grid-row:span 1; }

.gallery__caption{
  position:absolute;
  inset:auto 0 0 0;
  padding:18px 20px;
  background:linear-gradient(180deg, transparent, rgba(15,12,9,.85));
  color:var(--cream);
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.04em;
  transform:translateY(8px);
  opacity:0;
  transition:opacity .35s ease, transform .35s ease;
}
.gallery__item:hover .gallery__caption{
  opacity:1;
  transform:translateY(0);
}
.gallery__caption::after{
  content:'+';
  display:inline-block;
  margin-left:8px;
  color:var(--gold-soft);
  font-family:var(--display);
}

.gallery__more{
  margin-top:48px;
  display:flex;
  justify-content:center;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,12,9,.92);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease;
  padding:40px;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox figure{
  margin:0;
  max-width:min(90vw, 1100px);
  max-height:86vh;
}
.lightbox img{
  max-width:100%;
  max-height:78vh;
  width:auto;
  margin:0 auto;
  border-radius:4px;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.6);
}
.lightbox figcaption{
  text-align:center;
  color:var(--gold-soft);
  font-family:var(--display);
  font-style:italic;
  margin-top:18px;
  font-size:1rem;
}
.lightbox__close{
  position:absolute;
  top:28px; right:32px;
  background:transparent;
  border:1px solid var(--line-dark);
  color:var(--cream);
  width:48px; height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.lightbox__close svg{ width:20px; height:20px; }
.lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:1px solid var(--line-dark);
  color:var(--cream);
  width:52px; height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.lightbox__nav svg{ width:22px; height:22px; }
.lightbox__nav--prev{ left:28px; }
.lightbox__nav--next{ right:28px; }

/* ============================================================
   INSTAGRAM CTA
   ============================================================ */
.cta{
  position:relative;
  background:var(--ink);
  color:var(--cream);
  overflow:hidden;
}
.cta::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url('images/merdiven-10.jpg');
  background-size:cover;
  background-position:center;
  opacity:.16;
}
.cta .container{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:28px;
}
.cta h2{
  color:var(--cream);
  font-size:clamp(2.2rem,5vw,3.6rem);
  max-width:18ch;
}
.cta h2 em{
  font-style:italic;
  color:var(--gold-soft);
}
.cta p{
  color:var(--stone);
  max-width:50ch;
  font-size:1.05rem;
}
.cta__handle{
  font-family:var(--display);
  font-style:italic;
  font-size:1.3rem;
  color:var(--gold-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background:var(--ink-soft);
  color:var(--stone);
  padding:72px 0 28px;
}
.footer .container{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:56px;
}
.footer__brand{ display:flex; flex-direction:column; gap:18px; max-width:38ch; }
.footer__brand .brand img{ width:54px; height:54px; }
.footer__brand .brand__text{ font-size:1.2rem; }
.footer__brand p{ color:var(--stone); font-size:.95rem; }

.footer h4{
  font-family:var(--body);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold-soft);
  margin-bottom:22px;
}
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.footer ul a{
  font-size:.95rem;
  color:var(--stone);
  transition:color .25s ease;
  position:relative;
  display:inline-block;
  padding-bottom:2px;
}
.footer ul a::after{
  content:'';
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:1px;
  background:var(--gold);
  transition:right .3s ease;
}
.footer ul a:hover{ color:var(--gold-soft); }
.footer ul a:hover::after{ right:0; }

.footer__social{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line-dark);
  border-radius:999px;
  padding:12px 22px;
  width:fit-content;
  transition:border-color .35s ease, color .35s ease, transform .35s ease, background .35s ease;
}
.footer__social:hover{
  border-color:var(--gold);
  color:var(--gold-soft);
  transform:translateY(-2px);
  background:rgba(200,160,99,.08);
}
.footer__social svg{ width:18px; height:18px; }

.footer .footer__bottom{
  margin-top:64px;
  padding-top:28px;
  border-top:1px solid var(--line-dark);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:.82rem;
  color:var(--text-soft);
}
.footer .footer__bottom span{ color:var(--stone); }
.footer__instagram-link{
  color:var(--gold-soft);
  font-weight:600;
  position:relative;
  transition:color .25s ease;
}
.footer__instagram-link:hover{
  color:var(--gold);
}
.footer__instagram-link::after{
  content:'';
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:1px;
  background:var(--gold);
  transition:right .3s ease;
}
.footer__instagram-link:hover::after{ right:0; }
.footer .footer__bottom p:last-child{
  text-align:right;
  margin-left:auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .about .container{ grid-template-columns:1fr; gap:64px; }
  .about__media{ order:-1; aspect-ratio:16/10; }
  .about__media .accent{ display:none; }
  .gallery__grid{ grid-template-columns:repeat(3,1fr); grid-auto-rows:180px; }
  .footer .container{ grid-template-columns:1.3fr 1fr 1fr; gap:36px; }
}

@media (max-width:860px){
  section{ padding:80px 0; }
  .container{ padding:0 24px; }

  .nav-links{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:min(320px, 80vw);
    background:rgba(28,24,20,.82);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:28px;
    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.4,0,.2,1);
    z-index:90;
    border-left:1px solid var(--line-dark);
    box-shadow:-20px 0 60px -20px rgba(0,0,0,.5);
    padding:80px 32px 48px;
  }
  .nav-links.is-open{ transform:translateX(0); }
  .nav-links a{
    font-size:1.2rem;
    letter-spacing:.04em;
    padding:8px 0;
    transition:color .25s ease, transform .25s ease;
  }
  .nav-links a:hover{
    transform:translateX(4px);
  }
  .nav-links .nav-links__insta{
    display:flex;
    margin-top:12px;
    font-size:.9rem;
    border-color:var(--line-dark);
    transition:border-color .35s ease, color .35s ease, background .35s ease;
  }
  .nav-links .nav-links__insta:hover{
    border-color:var(--gold);
    color:var(--gold-soft);
    background:rgba(200,160,99,.08);
  }
  .nav-toggle{ display:flex; z-index:95; }
  .nav-toggle.is-active{
    border-color:var(--gold);
  }

  .nav__actions .btn--ghost{ display:none; }

  .brand__text{ font-size:.92rem; white-space:nowrap; }
  .brand__text span{ display:none; }

  .hero__content{ padding:160px 0 72px; }
  .hero__scroll{ display:none; }

  .service-row{
    grid-template-columns:1fr;
    gap:32px;
    padding:48px 0;
  }
  .service-row:nth-of-type(even) .service-media,
  .service-row:nth-of-type(even) .service-copy{ order:initial; }

  .gallery__grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:160px; }
  .gallery__item--a, .gallery__item--d{ grid-row:span 2; }
  .gallery__item--b, .gallery__item--e{ grid-column:span 2; grid-row:span 1; }

  .footer .container{ grid-template-columns:1fr; gap:42px; }
  .lightbox__nav{ width:42px; height:42px; }
  .lightbox__nav--prev{ left:10px; }
  .lightbox__nav--next{ right:10px; }
}

@media (max-width:520px){
  .hero__content h1{ font-size:clamp(2.2rem,11vw,3rem); }
  .hero__actions{ flex-direction:column; align-items:flex-start; }
  .gallery__grid{ grid-template-columns:1fr; grid-auto-rows:240px; }
  .gallery__item--a,.gallery__item--b,.gallery__item--c,.gallery__item--d,.gallery__item--e{
    grid-column:span 1; grid-row:span 1;
  }
  .about__media .badge{ width:96px; height:96px; font-size:.82rem; }
}
