:root{
  --dark:#101820;
  --accent:#c99745;
  --light:#f5f6f7;
  --text:#252a2e;
  --muted:#6d747a;
  --border:#e5e7e9;
  --white:#fff;
  --shadow:0 15px 40px rgba(16,24,32,.10);
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.7;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 36px));margin-inline:auto}

.topbar{background:var(--site-topbar-bg,var(--dark));color:#fff;font-size:12px}
.topbar-inner{
  min-height:36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.top-contact{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.top-contact a,.top-contact span{color:inherit;text-decoration:none}
.socials{display:flex;gap:16px;flex-wrap:wrap}
.socials a{opacity:.9;transition:opacity .2s ease}
.socials a:hover{opacity:1;color:var(--accent)}

.site-header{position:sticky;top:0;z-index:1000;background:var(--site-header-bg,#fff);box-shadow:0 4px 18px rgba(16,24,32,.08)}
.nav-wrap{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:var(--site-header-bg,#fff);
}
.logo{display:inline-flex;align-items:center;flex:0 0 auto}
.logo img{width:var(--logo-width,190px);max-height:var(--logo-height,60px);height:auto;object-fit:contain}
.main-nav{margin-left:auto}
.main-nav>ul{
  display:flex;
  align-items:center;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0;
}
.main-nav li{position:relative}
.main-nav a{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:44px;
  padding:10px 14px;
  font-size:14px;
  font-weight:600;
  transition:color .2s ease,background .2s ease;
  border-radius:7px;
}
.main-nav a:hover{color:var(--accent);background:#fafafa}
.submenu{
  position:absolute;
  left:0;
  top:calc(100% + 4px);
  min-width:230px;
  background:#fff;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  border-radius:10px;
  padding:8px;
  list-style:none;
  display:none;
  z-index:200;
}
.main-nav li:hover>.submenu,
.main-nav li:focus-within>.submenu{display:block}
.submenu .submenu{left:calc(100% + 4px);top:-9px}
.submenu a{width:100%;justify-content:space-between}

.menu-toggle{
  display:none;
  border:0;
  background:var(--dark);
  color:#fff;
  padding:10px 13px;
  border-radius:8px;
  cursor:pointer;
}

.hero-slider{
  position:relative;
  height:var(--slider-height);
  min-height:0;
  overflow:hidden;
  background:#111;
}
.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .8s ease,transform 1.1s ease;
}
.slide.active{opacity:1;transform:scale(1)}
.slide-overlay{
  height:100%;
  display:flex;
  align-items:center;
  background:rgba(0,0,0,var(--slide-overlay,.45));
  color:#fff;
}
.slide-overlay h1{
  font-size:clamp(38px,5vw,72px);
  line-height:1.08;
  max-width:760px;
  margin:12px 0 28px;
}
.eyebrow{
  letter-spacing:.16em;
  font-size:12px;
  font-weight:800;
  color:var(--accent);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  border:0;
  padding:12px 22px;
  border-radius:5px;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s ease,opacity .2s ease;
}
.btn:hover{transform:translateY(-1px);opacity:.94}
.btn-dark{background:var(--dark)}
.slider-prev,.slider-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.32);
  background:rgba(0,0,0,.38);
  color:#fff;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:30px;
  cursor:pointer;
  z-index:5;
}
.slider-prev{left:22px}
.slider-next{right:22px}

.section{padding:90px 0}
.muted{background:var(--light)}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:32px;
}
.section-head h2{margin:4px 0 0;font-size:34px;line-height:1.2}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.about-image img{width:100%;height:450px;object-fit:cover;border-radius:12px}

.cards{display:grid;gap:20px}
.categories{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  transition:transform .25s ease,box-shadow .25s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card>img{width:100%;height:220px;object-fit:cover;background:#eee}
.card-body{padding:18px}
.card h3{margin:3px 0;font-size:17px}
.card p{color:var(--muted);font-size:13px}

.horizontal-scroll{
  display:flex;
  overflow-x:auto;
  gap:20px;
  padding:4px 2px 12px;
  scrollbar-width:thin;
}
.ref-card{
  min-width:230px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  padding:25px;
  text-align:center;
}
.ref-card img{height:70px;max-width:150px;object-fit:contain;margin:0 auto 16px}

.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-grid.large{grid-template-columns:repeat(4,minmax(0,1fr))}
.gallery-item{
  display:block;
  overflow:hidden;
  border-radius:9px;
  aspect-ratio:1/1;
  background:#eee;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.gallery-item:hover img{transform:scale(1.06)}

.page-head{padding:90px 0;background:var(--dark);color:#fff}
.page-head h1{font-size:48px;line-height:1.15;margin:5px 0 0}
.narrow{max-width:850px}
.richtext{line-height:1.85;white-space:normal}
.richtext br{content:"";display:block;margin-bottom:.45em}
.richtext h2,.richtext h3{line-height:1.25}
.richtext img{border-radius:10px}

.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.main-product-image{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:12px;
  background:#eee;
}
.thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto}
.thumbs img{width:82px;height:82px;object-fit:cover;border-radius:7px}
.lead{font-size:20px;color:var(--muted)}

.contact-form form{display:grid;gap:12px}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:14px;
  border:1px solid var(--border);
  border-radius:7px;
  font:inherit;
  background:#fff;
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:2px solid rgba(201,151,69,.22);
  border-color:var(--accent);
}
.contact-form textarea{min-height:160px;resize:vertical}
.map-section iframe{display:block;width:100%;height:420px;border:0}

.footer{background:var(--site-footer-bg);color:#fff;padding-top:60px}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:50px;
  padding-bottom:45px;
}
.footer-logo{max-width:190px;max-height:75px}
.footer h4{margin-top:0}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin:6px 0}
.footer-links a{color:#ccd1d5;transition:color .2s ease}
.footer-links a:hover{color:#fff}
.copyright{
  text-align:center;
  border-top:1px solid rgba(255,255,255,.10);
  padding:20px;
  color:#aeb5bb;
  font-size:12px;
}

.lightbox{cursor:zoom-in}
.lightbox-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:25px;
}
.lightbox-overlay img{max-width:92vw;max-height:88vh;object-fit:contain}
.lightbox-close{
  position:absolute;
  top:20px;
  right:25px;
  color:#fff;
  font-size:35px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}
.lb-prev,.lb-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  background:rgba(0,0,0,.5);
  border:1px solid rgba(255,255,255,.32);
  width:48px;
  height:48px;
  border-radius:50%;
  font-size:28px;
  cursor:pointer;
}
.lb-prev{left:20px}
.lb-next{right:20px}

@media(max-width:1100px){
  .main-nav a{padding-inline:10px}
  .categories,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .topbar-inner{padding-block:7px}
  .menu-toggle{display:block}
  .main-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#fff;
    border:1px solid var(--border);
    border-top:0;
    box-shadow:var(--shadow);
    z-index:50;
    max-height:calc(100vh - 100px);
    overflow:auto;
  }
  .main-nav.open{display:block}
  .main-nav>ul{display:block;padding:8px}
  .main-nav li{width:100%}
  .main-nav a{width:100%;justify-content:space-between}
  .submenu{
    position:static;
    display:none;
    min-width:0;
    box-shadow:none;
    border:0;
    border-left:2px solid var(--border);
    border-radius:0;
    margin:0 0 5px 8px;
    padding:0 0 0 8px;
  }
  .main-nav li:hover>.submenu{display:none}
  .main-nav li.open>.submenu,
  .main-nav li:focus-within>.submenu{display:block}
  .submenu .submenu{margin-left:8px}
  .categories,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-grid,.gallery-grid.large{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-col,.product-detail,.footer-grid{grid-template-columns:1fr;gap:35px}
  .nav-wrap{padding-block:10px}
  .page-head h1{font-size:38px}
}
@media(max-width:700px){
  .topbar-inner{align-items:flex-start;gap:8px}
  .top-contact{gap:10px;font-size:12px}
  .socials{gap:8px}
}
@media(max-width:560px){
  .container{width:min(100% - 24px,1180px)}
  .slide-overlay h1{font-size:40px}
  .categories,.product-grid,.gallery-grid,.gallery-grid.large{grid-template-columns:1fr}
  .section{padding:60px 0}
  .section-head{align-items:flex-start;flex-direction:column}
  .about-image img{height:300px}
  .main-product-image{height:330px}
  .slider-prev{left:10px}
  .slider-next{right:10px}
}


.page-detail{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:55px;align-items:start;max-width:1180px}.page-detail:not(.has-image){grid-template-columns:minmax(0,850px)}.page-image{position:sticky;top:25px}.page-image img{width:100%;max-height:600px;object-fit:cover;border-radius:12px;box-shadow:var(--shadow)}
.preview-image{width:180px;height:120px;object-fit:cover;border-radius:10px;border:1px solid #dce1e7;margin-top:-5px}
.color-field{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center}.color-field input[type=color]{width:64px;height:44px;padding:3px;border:1px solid #dce1e7;border-radius:10px;background:#fff}.color-field input[readonly]{width:100%;padding:12px 13px;border:1px solid #dce1e7;border-radius:10px;background:#f8fafc}
@media(max-width:900px){.page-detail,.page-detail:not(.has-image){grid-template-columns:1fr}.page-image{position:static}.page-image img{max-height:450px}}

/* Kurumsal footer */
.footer-brand{max-width:360px}.footer-description{margin:16px 0 0;line-height:1.8;opacity:.78;font-size:14px}

/* Menu icon styling */
.menu-item-icon{font-size:.9em;opacity:.72;transition:transform .2s ease,opacity .2s ease}.main-nav a:hover .menu-item-icon{opacity:1;transform:translateY(-1px)}.menu-chevron{font-size:10px;opacity:.55;margin-left:3px}.submenu .menu-chevron{transform:rotate(-90deg)}
.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card{padding:0;display:flex;flex-direction:column}.service-card>img{width:100%;height:210px;object-fit:cover}.service-card .card-body{flex:1}.service-more{display:inline-block;margin-top:12px;color:var(--accent);font-size:13px;font-weight:700}.service-icon{width:62px;height:62px;margin:18px 18px 0;border-radius:16px;display:grid;place-items:center;background:#f6f1e8;color:#b5893b;font-size:25px}.service-card .card-body{padding:18px}.service-card p{margin:8px 0 0;color:#6b7280;line-height:1.7}.service-card h3{margin:0}@media(max-width:900px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.services-grid{grid-template-columns:1fr}}

.admin-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:12px 0 18px}.admin-gallery-item{border:1px solid #e5e7eb;border-radius:10px;padding:8px;background:#fff}.admin-gallery-item img{width:100%;height:110px;object-fit:cover;border-radius:7px;margin-bottom:7px}.admin-gallery-item .btn{width:100%}
@media(max-width:900px){.admin-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.admin-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

\n/* TOPBAR HIDE ON SCROLL - MENU STAYS VISIBLE */
.topbar {
  position:relative;
  z-index:1001;
  transition:transform .25s ease, margin-top .25s ease, opacity .2s ease;
}
.topbar.topbar-hidden {
  transform:translateY(-100%);
  margin-bottom:-36px;
  opacity:0;
  pointer-events:none;
}
.site-header {
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
}
