:root{ --theme:#001f3f; --accent:#ffb347; --nav-h:56px; --strip-h:0px; }

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  background:#f8f9fa; color:#222; display:flex; flex-direction:column; min-height:100svh;
}
.page-content{flex:1 0 auto}

/* NAVBAR */
.navbar{position:sticky; top:0; z-index:1000; background:var(--theme); color:#fff; box-shadow:0 2px 6px rgba(0,0,0,.2)}
.navbar-inner{max-width:980px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between}
.navbar-logo{height:40px}
.nav-icon{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);border:1px solid rgba(255,255,255,.35);text-decoration:none}
.nav-icon:hover{color:#fff;border-color:#fff}

/* HERO */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 150px;
    max-width: 1200px;
    position: relative;
    box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.4), /* iç gölge */
    0 4px 10px rgba(0, 0, 0, 0.2); /* dış gölge */
    transform: translateY(0);
    transition: all 0.3s ease;
    margin-top:11px;
}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.25),rgba(0,0,0,.45))}
.hero h1{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;color:#fff;font-size:26px;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.5)}
.back-btn{position:absolute;left:12px;top:12px;width:46px;height:46px;border-radius:10px;border:0;background:#fff;color:#222;display:inline-flex;align-items:center;justify-content:center}

/* CATEGORY GRID */
.category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:980px;margin:16px auto;padding:0 16px}
.category-card{position:relative;display:block;height:140px;border-radius:18px;background-size:cover;background-position:center;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.category-card::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to top,rgba(0,0,0,.35),rgba(0,0,0,.1))}
.category-card span{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);color:#fff;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.5)}

/* STICKY CAT STRIP (Products) */
.cat-strip-wrap{position:sticky; top:var(--nav-h); z-index:990; background:#fff; padding:10px 0; box-shadow:0 1px 6px rgba(0,0,0,.06); border-bottom:1px solid rgba(0,0,0,.06)}
.cat-strip{display:flex; gap:12px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding:8px 12px}
.cat-strip::-webkit-scrollbar{height:6px}
.cat-strip::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:3px}
.cat-chip-square {
    flex: 0 0 auto;
    width: 130px;
    height: 110px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    scroll-snap-align: start;
    border: 3px solid transparent;
    transition: .2s;
}
.cat-chip-square::before{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(0,0,0,.28)}
    .cat-chip-square span {
        position: relative;
        z-index: 1;
        font-size: 12px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
        line-height: 1.2em;
        white-space: normal;
        word-break: break-word;
        display: block;
        padding: 0 4px;
        text-align: center;
    }
.cat-chip-square.active{border-color:var(--accent); box-shadow:0 0 15px rgba(255,179,71,.6); transform:scale(1.05)}
.cat-chip-square:hover{transform:translateY(-3px)}

/* HEADINGS & SECTIONS */
.catalog-section{scroll-margin-top:calc(var(--nav-h) + var(--strip-h) + 6px)}
.catalog-cat-title{text-align:center;margin:12px 0 14px;font-size:1.6rem;font-weight:800;letter-spacing:.3px;color:#111}
.subhead{
  position:sticky; top:calc(var(--nav-h) + var(--strip-h)); z-index:5;
  background:#f8f9fa; padding:10px 12px; margin:0; font-weight:800; font-size:1rem;
  border-left:4px solid var(--theme); box-shadow:0 1px 0 rgba(0,0,0,.06);
}

/* PRODUCT CARDS */
.prod-list{display:flex;flex-direction:column;gap:12px;padding:10px 12px 18px;max-width:980px;margin:0 auto}
.prod-card{
  display:grid; grid-template-columns:96px 1fr auto; gap:12px; align-items:center; text-decoration:none; color:#222;
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:10px; box-shadow:0 3px 10px rgba(0,0,0,.06);
  transition:.15s;
}
.prod-card:hover{transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.18)}
.prod-thumb{width:96px;height:80px;border-radius:12px;background-size:cover;background-position:center}
.prod-title{font-weight:800;font-size:15px;line-height:1.2;margin-bottom:4px;color:#111}
.prod-desc{font-size:13px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prod-price{margin-left:6px;padding:6px 10px;font-weight:700;font-size:14px;color:#fff;background:var(--theme);border-radius:10px}
@media (max-width:360px){
  .prod-card{grid-template-columns:84px 1fr auto}
  .prod-thumb{width:84px;height:72px}
  .prod-price{font-size:13px;padding:5px 8px}
}

/* FOOTERS */
.site-footer{margin-top:auto;background:var(--theme);color:#fff}
.footer-inner{max-width:980px;margin:0 auto;padding:16px}
.footer-copy{font-size:12px;color:#c7d2e1;text-align:left}
.footer-rich p{margin:0 0 8px}
.footer-rich ul{margin:8px 0 12px 18px}
.footer-rich a{color:var(--accent)}

/* MODAL (Products) */
.modal-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; z-index:999; transition:opacity .25s ease;
}
.modal-overlay.hidden{opacity:0; pointer-events:none}
.modal{background:#fff; border-radius:16px; max-width:90%; width:360px; box-shadow:0 8px 20px rgba(0,0,0,.2); overflow:hidden; position:relative; animation:pop .25s ease;}
@keyframes pop{from{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
.modal-close{position:absolute; top:8px; right:12px; font-size:26px; background:0 0; border:0; color:#444; cursor:pointer}
.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}
.modal-title{font-size:1.3rem;font-weight:700;text-align:center;margin:12px 0 6px;color:#001f3f}
.modal-desc{text-align:center;font-size:.95rem;color:#555;margin:0 14px 12px}
.modal-price{text-align:center;font-weight:700;color:#fff;background:var(--accent);padding:10px 18px;border-radius:10px;margin:0 auto 18px;display:table}

/* ANNOUNCEMENTS (Home footer) */
.ann-wrap{position:relative;margin-top:14px}
.ann-strip{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;}
.ann-strip::-webkit-scrollbar{height:6px}
.ann-strip::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:3px}
.ann-card{flex:0 0 88%;max-width:720px;border-radius:14px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.18);scroll-snap-align:center;background:#e9ecef}
.ann-card img{width:100%;height:100%;object-fit:cover;display:block}
.ann-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.35);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:2
}
.ann-prev{left:6px}.ann-next{right:6px}
.ann-nav:disabled{opacity:.35;cursor:default}
/* ===== Footer actions button ===== */
.footer-actions{margin:12px 0 4px}
.btn-outline{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:12px;
  color:#fff;border:1px solid rgba(255,255,255,.5);background:transparent;
  cursor:pointer;font-weight:600
}
.btn-outline:hover{background:rgba(255,255,255,.08);border-color:#fff}

/* ===== Form (feedback modal) ===== */
.form{padding:0 16px 16px}
.form-row {
    display: flex;
    gap: 10px; flex-wrap: wrap;
}
.form-row .form-group{flex:1}
.form-group{display:flex;flex-direction:column;margin-bottom:10px}
.form-group label{font-size:.9rem;margin-bottom:6px;color:#333}
.form-group input,.form-group textarea{
  border:1px solid #d7dbe0;border-radius:10px;padding:10px 12px;font-size:.95rem;
  outline:0;background:#fff;color:#222
}
.form-group input:focus,.form-group textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,179,71,.25)}
.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:6px}
.btn-primary{
  background:var(--accent);color:#1b1b1b;border:0;border-radius:10px;
  padding:10px 14px;font-weight:700;cursor:pointer
}
.btn-primary:hover{filter:brightness(.95)}
.btn-ghost{
  background:#f0f2f5;color:#222;border:0;border-radius:10px;padding:10px 14px;cursor:pointer
}
.form-note{font-size:.8rem;color:#6b7280;margin:8px 2px 0}

/* küçük ekran optimize */
@media (max-width:380px){
  .form-row{flex-direction:column}
}
