/* ============================================================
   ÇAĞRI MATBAA – style.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #e05a20;
  --dark:   #222222;
  --mid:    #444444;
  --light:  #f5f5f5;
  --blue:   #2c6bac;
  --teal:   #e05a20;
  --purple: #7b3fa0;
  --border: #e0e0e0;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-slogan { font-weight: 600; letter-spacing: .5px; }
.top-social a {
  color: var(--white);
  margin-left: 10px;
  font-size: 13px;
  transition: opacity .2s;
}
.top-social a:hover { opacity: .7; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}
.header-contact {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-item > .fa {
  font-size: 22px;
  color: var(--teal);
}
.contact-item div {
  display: flex;
  flex-direction: column;
}
.contact-item .label {
  font-size: 11px;
  color: #888;
}
.contact-item a {
  font-weight: 600;
  color: var(--dark);
  font-size: 13px;
}
.contact-item a:hover { color: var(--orange); }

/* ── NAV ─────────────────────────────────────────────────── */
.main-nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  padding: 14px 0;
  cursor: pointer;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
}

.nav-menu li a {
  display: block;
  color: var(--white);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  transition: background .2s, color .2s;
  white-space: nowrap;
  letter-spacing: .3px;
}
.nav-menu li > a:hover,
.nav-menu li.has-dropdown:hover > a {
  background: var(--teal);
  color: var(--white);
}

/* ── DROPDOWN ─────────────────────────────────────────────── */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--teal);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 1000;
  min-width: 480px;
  padding: 10px 0;
  display: flex;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-col {
  flex: 1;
  padding: 6px 0;
  border-right: 1px solid var(--border);
}
.dropdown-col:last-child {
  border-right: none;
}
.dropdown-col a {
  display: block;
  color: var(--dark) !important;
  padding: 9px 22px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap;
  background: none !important;
  transition: background .15s, color .15s, padding-left .15s;
}
.dropdown-col a:hover {
  background: var(--light) !important;
  color: var(--teal) !important;
  padding-left: 28px !important;
}

/* ── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 420px;
  background: var(--dark);
}
.slides-wrapper {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 40px 60px;
  position: relative;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.slide-1 { background: #1a4a7a; }
.slide-2 { background: #2c3e50; }
.slide-3 { background: #1a1a4a; }

/* Decorative printer icon per slide */
.slide-1::before { content: ''; }
.slide-2::before { content: ''; }
.slide-3::before { content: ''; }

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 500px;
}
.slide-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.slide-content p {
  font-size: 15px;
  margin-bottom: 24px;
  opacity: .92;
  line-height: 1.7;
}
.btn-slide {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 11px 28px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  transition: background .2s, transform .2s;
}
.btn-slide:hover { background: #c04010; transform: translateY(-2px); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  font-size: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover { background: rgba(255,255,255,.35); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .3s;
}
.dot.active { background: var(--white); }

/* ── MAIN CATEGORIES ─────────────────────────────────────── */
.main-categories {
  padding: 80px 0 20px;
  background: var(--white);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  border-radius: 6px;
  color: var(--white);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cat-blue   { background: #1a4f8c; }
.cat-teal   { background: #c04010; }
.cat-purple { background: #5c2e7c; }

.cat-icon { font-size: 42px; margin-bottom: 14px; opacity: .9; }
.cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .3px;
}
.btn-cat {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.8);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.btn-cat:hover { background: rgba(255,255,255,.2); }

/* ── SECTION TITLE ───────────────────────────────────────── */
.section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  color: var(--dark);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ── FEATURED / PRODUCTS ─────────────────────────────────── */
.featured {
  padding: 30px 0 60px;
}
.products-section {
  padding: 20px 0 60px;
}
.bg-light { background: var(--light); }

.feat-grid, .prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feat-card, .prod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.feat-card:hover, .prod-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.feat-img, .prod-img {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
  background-size: cover;
  background-position: center;
}
.feat-label {
  background: rgba(0,0,0,.55);
  padding: 4px 10px;
  border-radius: 2px;
}

/* Featured image backgrounds */
.feat-branda  { background: linear-gradient(160deg,#1a4a7a,#2196f3); }
.feat-folyo   { background: linear-gradient(160deg,#4a1a7a,#9c27b0); }
.feat-poster  { background: linear-gradient(160deg,#7a1a1a,#f44336); }
.feat-billboard{ background: linear-gradient(160deg,#1a7a2a,#4caf50); }

/* Product image backgrounds */
.prod-rollup  { background: linear-gradient(160deg,#1e3a5f,#2980b9); }
.prod-xbanner { background: linear-gradient(160deg,#2d1e5f,#8e44ad); }
.prod-orumcek { background: linear-gradient(160deg,#1a5f3a,#27ae60); }
.prod-backdrop{ background: linear-gradient(160deg,#5f1e1e,#c0392b); }
.prod-kartvizit{ background: linear-gradient(160deg,#1e4a5f,#16a085); }
.prod-brosur  { background: linear-gradient(160deg,#3a5f1e,#2ecc71); }
.prod-zarf    { background: linear-gradient(160deg,#5f3a1e,#e67e22); }
.prod-antetli { background: linear-gradient(160deg,#1e3a5f,#3498db); }
.prod-dosya   { background: linear-gradient(160deg,#4a3a1e,#f39c12); }
.prod-zarf2   { background: linear-gradient(160deg,#3a1e1e,#c0392b); }
.prod-makbuz  { background: linear-gradient(160deg,#1e3a1e,#27ae60); }
.prod-bloknot { background: linear-gradient(160deg,#1e2a3a,#2980b9); }
.prod-fatura  { background: linear-gradient(160deg,#3a2a1e,#e67e22); }
.prod-personel{ background: linear-gradient(160deg,#2a1e3a,#8e44ad); }
.prod-afiş    { background: linear-gradient(160deg,#3a1e2a,#e91e8c); }
.prod-magnet  { background: linear-gradient(160deg,#1e3a3a,#16a085); }
.prod-takvim  { background: linear-gradient(160deg,#1e1e3a,#2c3e7a); }
.prod-kupblok { background: linear-gradient(160deg,#3a3a1e,#f1c40f); }
.prod-bezcanta{ background: linear-gradient(160deg,#1e3a2a,#1abc9c); }
.prod-katalog { background: linear-gradient(160deg,#2a3a1e,#8bc34a); }
.prod-etiket  { background: linear-gradient(160deg,#1e4a4a,#1abc9c); }
.prod-canta   { background: linear-gradient(160deg,#2d1e3a,#9b59b6); }
.prod-davetiye{ background: linear-gradient(160deg,#4a1e3a,#e91e8c); }

/* Add icon overlays */
.prod-rollup::after   { content:'📜'; position:relative; font-size:48px; opacity:.25; margin:auto; display:flex; align-items:center; justify-content:center; height:100%; }

.feat-card h4, .prod-card h4 {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px 6px;
  color: var(--dark);
}
.feat-card p, .prod-card p {
  font-size: 13px;
  color: var(--mid);
  padding: 0 16px 18px;
  line-height: 1.6;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #e05a20 100%);
  color: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}
.about-text p {
  margin-bottom: 14px;
  opacity: .92;
  line-height: 1.8;
}
.about-list { margin-top: 18px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.about-list .fa { color: #5de8a0; font-size: 16px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 13px;
  opacity: .85;
}

/* ── REFERENCES ──────────────────────────────────────────── */
.refs-section {
  padding: 50px 0;
  background: var(--light);
}
.refs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.ref-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 32px;
  font-size: 18px;
  font-weight: 700;
  color: #888;
  letter-spacing: 1px;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.ref-logo:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 4px 14px rgba(30,157,179,.12);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #1a1a1a; }

.footer-top { padding: 50px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-addr {
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.footer-col > p {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 6px;
}
.footer-col > p a { color: #ccc; }
.footer-col > p a:hover { color: var(--orange); }
.footer-col .fa, .footer-col .fas, .footer-col .fab {
  color: var(--teal);
  width: 18px;
  margin-right: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 13px;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--teal); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  color: #aaa;
  font-size: 13px;
  transition: color .2s, padding-left .2s;
}
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.footer-service-areas {
  background: #111;
  padding: 14px 0;
}
.footer-service-areas p {
  color: #666;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}

.footer-bottom {
  background: #0d0d0d;
  padding: 14px 0;
  text-align: center;
}
.footer-bottom p {
  color: #555;
  font-size: 12px;
}

/* ── WHATSAPP BUTTON ─────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  z-index: 9999;
  transition: transform .25s, box-shadow .25s;
  animation: pulse 2.5s infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37,211,102,.65);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 320px; }
  .slide-content h1 { font-size: 30px; }
  .slide { padding: 30px 24px; }
  .header-contact { gap: 14px; }
  .contact-item { gap: 6px; }

  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--dark);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 998;
  }
  .nav-menu.open { display: flex; }
  .main-nav .container { flex-direction: column; align-items: flex-start; position: relative; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { border-top: 1px solid rgba(255,255,255,.06); padding: 12px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .feat-grid, .prod-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .logo img { height: 48px; }
}
