/*
Theme Name: Bağlıca Kırtasiye
Theme URI: https://baglicakirtasiye.com
Author: Bağlıca Kırtasiye
Author URI: https://baglicakirtasiye.com
Description: Bağlıca Kırtasiye için özel hazırlanmış WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baglica-kirtasiye
Tags: one-page, business, custom-logo, responsive-layout
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #e8462a;
  --primary-dark: #c73518;
  --secondary: #f5a623;
  --accent: #3aafa9;
  --dark: #1a1a2e;
  --text: #444;
  --light-bg: #fdf8f5;
  --white: #fff;
  --border: #ececec;
  --shadow: 0 8px 32px rgba(232,70,42,0.10);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #ccc; text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: var(--secondary); }
.topbar-left span { margin-right: 20px; }
.topbar-left i { color: var(--secondary); margin-right: 5px; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img.site-logo {
  height: 56px;
  width: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--dark);
  font-weight: 800;
}
.logo-text span { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

nav ul { list-style: none; display: flex; gap: 4px; }
nav ul li { position: relative; }
nav ul li a {
  display: block;
  padding: 10px 16px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
nav ul li a:hover,
nav ul li.current-menu-item > a,
nav ul li.active > a {
  background: var(--primary);
  color: white;
}
nav ul li:hover .sub-menu { display: block; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-radius: 12px;
  min-width: 200px;
  padding: 8px;
  z-index: 999;
  list-style: none;
}
.sub-menu a { font-size: 13px; border-radius: 8px; }

.header-contact {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s;
}
.header-contact:hover { background: var(--primary-dark); color: white; }

.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--dark); background: none; border: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.80) 40%, rgba(26,26,46,0.20));
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-left: 80px;
}
.slide-tag {
  background: var(--secondary);
  color: var(--dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 16px;
}
.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
}
.slide-content p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: white; }
.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: white; color: var(--dark); }

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid white;
}
.dot.active { background: var(--secondary); border-color: var(--secondary); transform: scale(1.3); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.arrow-prev { left: 24px; }
.arrow-next { right: 24px; }

/* ===== ICON BOXES ===== */
.icon-boxes { background: var(--white); padding: 0; position: relative; z-index: 5; margin-top: -40px; }
.icon-boxes-wrap { padding: 0 24px; max-width: 1200px; margin: 0 auto; }
.icon-boxes-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  overflow: hidden;
}
.icon-box {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.icon-box:last-child { border-right: none; }
.icon-box:hover { background: var(--primary); color: white; }
.icon-box:hover .icon-box-icon { background: rgba(255,255,255,0.2); color: white; }
.icon-box:hover h3, .icon-box:hover p { color: white; }
.icon-box-icon {
  width: 64px; height: 64px;
  background: #fef0ed;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--primary);
  transition: all 0.3s;
}
.icon-box h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
.icon-box p { font-size: 13px; line-height: 1.6; color: #888; transition: color 0.3s; }

/* ===== SECTION STYLES ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: #fef0ed;
  color: var(--primary);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-divider {
  width: 60px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.section-header p { color: #888; font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--light-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; border-radius: 24px; object-fit: cover; height: 450px; display: block; }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 42px; font-weight: 900; font-family: 'Playfair Display', serif; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 700; opacity: 0.9; }
.about-content .section-header { text-align: left; }
.about-content .section-divider { margin: 0 0 16px; }
.about-content p { color: #666; line-height: 1.8; margin-bottom: 18px; font-size: 15px; }
.about-list { list-style: none; margin: 20px 0 30px; }
.about-list li { padding: 8px 0; display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 600; font-size: 15px; }
.about-list li i { color: var(--primary); font-size: 18px; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(232,70,42,0.15); }
.service-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-card-body { padding: 24px; }
.service-card-icon {
  width: 52px; height: 52px;
  background: #fef0ed;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
  margin-bottom: 14px;
}
.service-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #888; line-height: 1.7; }

/* ===== COUNTER ===== */
.counter-section { background: var(--primary); padding: 60px 0; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.counter-item { color: white; }
.counter-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.8; }
.counter-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.counter-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }

/* ===== PRODUCTS ===== */
.products { background: var(--light-bg); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(232,70,42,0.12); }
.product-img-wrap { position: relative; overflow: hidden; }
.product-img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; display: block; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--secondary);
  color: var(--dark);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-body { padding: 18px; }
.product-body h4 { font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.product-body p { font-size: 13px; color: #999; line-height: 1.6; }

/* ===== WHY US ===== */
.why-us { background: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-img { width: 100%; border-radius: 24px; object-fit: cover; height: 420px; display: block; }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-item { background: var(--light-bg); border-radius: 16px; padding: 24px; transition: all 0.3s; }
.why-item:hover { background: var(--primary); }
.why-item:hover .why-icon { background: rgba(255,255,255,0.2); color: white; }
.why-item:hover h4, .why-item:hover p { color: white; }
.why-icon {
  width: 52px; height: 52px;
  background: #fef0ed;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
  margin-bottom: 14px;
  transition: all 0.3s;
}
.why-item h4 { font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 8px; text-transform: uppercase; transition: color 0.3s; }
.why-item p { font-size: 13px; color: #888; line-height: 1.6; transition: color 0.3s; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light-bg); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%;
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  text-align: center;
}
.testimonial-card .stars { color: var(--secondary); font-size: 22px; margin-bottom: 20px; }
.testimonial-card blockquote {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  padding: 0;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.testimonial-info strong { display: block; font-weight: 800; color: var(--dark); }
.testimonial-info span { font-size: 13px; color: #888; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s; }
.t-dot.active { background: var(--primary); transform: scale(1.3); }

/* ===== CONTACT ===== */
.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--dark); margin-bottom: 16px; font-weight: 800; }
.contact-info p { color: #888; line-height: 1.8; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: #fef0ed;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary);
}
.contact-detail-text strong { display: block; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.contact-detail-text span { font-size: 14px; color: #888; }
.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.contact-form-wrap { background: var(--light-bg); border-radius: 24px; padding: 40px; }
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--dark); font-weight: 800; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 13px; color: var(--dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: #bbb; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: #999; margin-bottom: 24px; margin-top: 16px; }
.footer-col h4 {
  font-size: 14px; font-weight: 800;
  color: white; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #999; text-decoration: none; font-size: 14px; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:before { content: '→'; color: var(--primary); font-size: 12px; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-item i { color: var(--primary); font-size: 16px; margin-top: 2px; }
.footer-contact-item span { font-size: 14px; color: #999; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: #777; }
.footer-bottom a { color: var(--secondary); text-decoration: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,70,42,0.4);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  z-index: 999;
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  flex-direction: column;
  padding: 40px 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; font-size: 28px; color: white; cursor: pointer; background: none; border: none; }
.mobile-nav ul { list-style: none; margin-top: 60px; }
.mobile-nav ul li a { display: block; padding: 16px 0; color: white; text-decoration: none; font-size: 20px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .icon-boxes-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  nav, .header-contact { display: none; }
  .hamburger { display: block; }
  .hero { height: 480px; }
  .slide-content { padding-left: 24px; padding-right: 24px; }
  .slide-content h1 { font-size: 32px; }
  .about-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: repeat(2,1fr); }
  .why-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
  .about-badge { bottom: 10px; right: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .icon-boxes-inner { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
}
@media(max-width:480px) {
  .products-grid { grid-template-columns: 1fr; }
  .icon-boxes-inner { grid-template-columns: 1fr; }
  .icon-box { border-right: none; border-bottom: 1px solid var(--border); }
}
