/* ICEDENTICAL FOOD — CORPORATE CATALOG SITE
   BUILT WITH HTML + CSS + JS (NO FRAMEWORKS) */

:root{
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #0b1220;
  --muted: #5b667a;
  --primary: #0c6aa6;
  --primary-2: #0b4c7a;
  --border: #dde3ea;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  text-transform: uppercase;
  letter-spacing: .02em;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button{font:inherit}
.container{
  width:min(100%, var(--max));
  margin:0 auto;
  padding:0 18px;
}

.skip-link{
  position:absolute;
  top:-100px;
  left:12px;
  background:var(--surface);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:999px;
  z-index:9999;
}
.skip-link:focus{top:12px}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(246,247,249,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}
.brand img{height:40px; width:auto}
.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .brand-text strong{font-size:14px}
.brand .brand-text span{font-size:11px; color:var(--muted); letter-spacing:.08em}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav a, .nav button.nav-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  color:var(--text);
  border:1px solid transparent;
}
.nav a:hover, .nav button.nav-btn:hover{
  background:var(--surface);
  border-color:var(--border);
}
.nav .active{
  background:var(--surface);
  border-color:var(--border);
  box-shadow:0 6px 20px rgba(11,18,32,.06);
}
.nav i{color:var(--primary-2)}
.nav .dropdown{
  position:relative;
}
.nav button.nav-btn{
  background:transparent;
  border:1px solid transparent;
  cursor:pointer;
}
.dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:280px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:10px;
  display:none;
}
.dropdown-menu a{
  width:100%;
  border-radius:12px;
  justify-content:flex-start;
  padding:12px 12px;
}
.dropdown.open .dropdown-menu{display:block}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.icon-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.icon-btn i{color:var(--primary-2)}
.icon-btn:hover{box-shadow:0 8px 22px rgba(11,18,32,.08)}

@media (min-width: 960px){
  .mobile-only{display:none !important}
}
@media (max-width: 959px){
  .desktop-only{display:none !important}
  .brand{min-width:unset}
}

/* MOBILE DRAWER */
.drawer-overlay{
  position:fixed;
  inset:0;
  background:rgba(11,18,32,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  z-index:1200;
}
.drawer{
  position:fixed;
  top:0;
  right:-420px;
  width:min(420px, 92vw);
  height:100vh;
  background:var(--surface);
  border-left:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:16px;
  z-index:1300;
  transition:right .22s ease;
  overflow:auto;
}
.drawer.open{right:0}
.drawer-overlay.open{
  opacity:1;
  pointer-events:auto;
}
.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid var(--border);
}
.drawer-header .brand img{height:34px}
.drawer .section{
  padding:14px 0;
  border-bottom:1px solid var(--border);
}
.drawer .section:last-child{border-bottom:none}
.drawer a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 12px;
  border-radius:12px;
}
.drawer a:hover{background:var(--surface-2)}
.drawer a i{color:var(--primary-2)}
.drawer .subhead{
  font-size:12px;
  color:var(--muted);
  margin:0 0 10px 6px;
  letter-spacing:.12em;
}

.search-box{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.search-box input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--surface-2);
  outline:none;
  text-transform: uppercase;
}
.search-results{
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  overflow:hidden;
  display:none;
}
.search-results.open{display:block}
.search-results a{
  padding:12px 12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.search-results a small{color:var(--muted)}

/* HERO */
.hero{
  padding:26px 0 12px;
}
.hero-card{
  background:linear-gradient(135deg, rgba(12,106,166,.12), rgba(11,76,122,.05));
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 6px);
  box-shadow:var(--shadow);
  padding:22px;
  display:grid;
  gap:14px;
}
.hero h1{
  margin:0;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height:1.05;
  letter-spacing:.04em;
}
.hero p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  cursor:pointer;
}
.btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:white;
}
.btn:hover{box-shadow:0 10px 24px rgba(11,18,32,.10)}
.btn i{opacity:.95}

.whatsapp-btn{
  background:#25d366;
  color:white;
  border-color:transparent;
}
.whatsapp-btn i{color:white}

/* SECTION HEAD */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:18px 0 8px;
}
.section-head h2{
  margin:0;
  font-size:18px;
  letter-spacing:.06em;
}
.section-head p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  }

/* CAROUSEL */
.carousel{
  position:relative;
}
.scroller{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding:12px 4px 18px;
  scroll-snap-type:x mandatory;
}
.scroller::-webkit-scrollbar{height:10px}
.scroller::-webkit-scrollbar-thumb{background:rgba(91,102,122,.25); border-radius:999px}
.card{
  flex:0 0 220px;
  scroll-snap-align:start;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(11,18,32,.05);
  display:flex;
  flex-direction:column;
}
@media (min-width: 640px){
  .card{flex-basis:240px}
}
@media (min-width: 960px){
  .card{flex-basis:260px}
}
.card .pad{
  padding:12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.card h3{
  margin:0;
  font-size:14px;
  letter-spacing:.06em;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.25;
  min-height: 34px;
}
.card .link{
  margin-top:6px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:var(--primary-2);
}
.card .link i{color:var(--primary-2)}

.img-wrap{
  position:relative;
  background:linear-gradient(180deg, rgba(241,243,246,.9), rgba(246,247,249,.9));
  min-height:190px;
}
.img-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("../images/logo.png") center/110px no-repeat;
  opacity:.18;
}
.img-wrap::after{
  content:"LOADING…";
  position:absolute;
  left:12px;
  bottom:12px;
  font-size:11px;
  color:rgba(91,102,122,.9);
  letter-spacing:.12em;
}
.img-wrap.loaded::before,
.img-wrap.loaded::after{display:none}

.img-wrap img{
  width:100%;
  height:210px;
  object-fit:contain;
  padding:14px;
  opacity:0;
  transition:opacity .22s ease;
}
.img-wrap.loaded img{opacity:1}

/* PAGE */
.page{
  padding:18px 0 30px;
}
.page-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.page h1{
  margin:0 0 8px;
  font-size:22px;
  letter-spacing:.06em;
}
.page p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
@media (min-width: 640px){
  .grid{grid-template-columns: repeat(3, 1fr)}
}
@media (min-width: 960px){
  .grid{grid-template-columns: repeat(4, 1fr)}
}

/* PRODUCT PAGE */
.product{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}
@media (min-width: 960px){
  .product{grid-template-columns: 1.1fr 1fr; align-items:start}
}
.product .product-media{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.product .product-media .img-wrap{min-height:320px}
.product .product-media .img-wrap img{height:420px; padding:22px}
.product .product-media button{
  width:100%;
  background:transparent;
  border:none;
  padding:0;
  cursor:zoom-in;
}
.product .product-info{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:6px 0 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface-2);
  font-size:12px;
}
.pill i{color:var(--primary-2)}

.details{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  overflow:hidden;
  background:var(--surface);
  margin-top:10px;
}
.details summary{
  list-style:none;
  cursor:pointer;
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--surface-2);
  border-bottom:1px solid var(--border);
}
.details summary::-webkit-details-marker{display:none}
.details summary .left{
  display:flex;
  align-items:center;
  gap:10px;
}
.details summary i{color:var(--primary-2)}
.details .content{
  padding:14px;
}
.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:12px;
}
.table td{
  border-bottom:1px solid var(--border);
  padding:12px 10px;
  font-size:13px;
}
.table tr:last-child td{border-bottom:none}
.table td:first-child{color:var(--muted); width:48%}
.table td i{color:var(--primary-2); margin-right:10px}
.note{
  margin-top:10px;
  background:rgba(37,211,102,.12);
  border:1px solid rgba(37,211,102,.35);
  border-radius:12px;
  padding:12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.note i{color:#25d366; margin-top:2px}

/* CERTIFICATES / GALLERY */
.thumb{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 26px rgba(11,18,32,.06);
  cursor:zoom-in;
}
.thumb .img-wrap{min-height:220px}
.thumb .img-wrap img{height:260px; padding:14px}

@media (min-width: 960px){
  .thumb .img-wrap{min-height:260px}
  .thumb .img-wrap img{height:320px}
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:2000;
}
.modal.open{display:block}
.modal .backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,18,32,.72);
}
.modal .panel{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
}
.modal .content{
  width:min(1100px, 96vw);
  max-height: 92vh;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modal .topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  background:var(--surface-2);
}
.modal .topbar strong{
  font-size:13px;
  letter-spacing:.06em;
}
.modal .topbar .close{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  cursor:pointer;
  display:grid;
  place-items:center;
}
.modal .topbar .close i{color:var(--primary-2)}

.modal .viewer{
  position:relative;
  background:var(--bg);
  display:grid;
  place-items:center;
  padding:16px;
  min-height: 45vh;
}
.modal .viewer img{
  max-width:100%;
  max-height: 70vh;
  object-fit:contain;
  border-radius:12px;
}
.modal .arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  cursor:pointer;
  display:grid;
  place-items:center;
}
.modal .arrow i{color:var(--primary-2)}
.modal .arrow.left{left:14px}
.modal .arrow.right{right:14px}

@media (max-width: 720px){
  .modal .arrow{display:none}
}

/* CATALOG */
.pdf-wrap{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
  box-shadow:var(--shadow);
}
.pdf-wrap iframe{
  width:100%;
  height:72vh;
  border:0;
}
@media (max-width: 720px){
  .pdf-wrap iframe{height:66vh}
}

/* FOOTER */
.footer{
  margin-top:24px;
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.65);
}
.footer-inner{
  padding:22px 0;
  display:grid;
  gap:18px;
}
.footer-grid{
  display:grid;
  gap:16px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px){
  .footer-grid{grid-template-columns: 1.2fr 1fr 1fr}
}
.footer h3{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.08em;
}
.footer p, .footer a, .footer li{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.footer ul{list-style:none; padding:0; margin:0; display:grid; gap:8px}
.footer a.link{
  display:flex;
  align-items:center;
  gap:10px;
  text-transform: uppercase;
  letter-spacing:.04em;
  color:var(--text);
  font-size:12px;
}
.footer a.link i{color:var(--primary-2)}
.footer .subline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  border-top:1px solid var(--border);
  padding-top:14px;
  margin-top:10px;
}
.footer .subline span{color:var(--muted); font-size:12px; text-transform: uppercase}

/* ACCESSIBILITY */
:focus-visible{
  outline:3px solid rgba(12,106,166,.35);
  outline-offset:3px;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .drawer, .drawer-overlay, .img-wrap img{transition:none}
}













/* ===== MOBILE FOOTER FIX ===== */
@media (max-width: 768px) {

    footer {
        padding: 50px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-column {
        padding: 0 10px;
    }

    .footer-column h4 {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        display: block;
        padding: 6px 0;
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 13px;
        line-height: 1.6;
    }

}






















<style>

.categories-section {
    padding: 80px 20px;
    background: #f8f9fb;
}

.container {
    max-width: 1300px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
    font-weight: 600;
}

/* DESKTOP (AYNI) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    text-decoration: none;
    color: #111;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 18px;
}

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* TABLET */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBILE – 2 COLUMN GRID */
@media (max-width: 576px) {

    .categories-section {
        padding: 60px 15px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 YAN YANA */
        gap: 20px;
    }

    .category-card {
        padding: 25px 15px;
        border-radius: 20px;
        box-shadow: 0 10px 28px rgba(0,0,0,0.07);
    }

    .category-card img {
        height: 170px; /* Mobilde büyük ama dengeli */
        margin-bottom: 18px;
    }

    .category-card h3 {
        font-size: 14px;
    }
}

</style>