/*
Theme Name: Osmangazi Evden Eve Nakliyat
Theme URI: https://osmangazi-nakliyat.com
Author: Osmangazi Nakliyat
Description: Bursa Osmangazi Evden Eve Nakliyat - Profesyonel, sigortalı ve güvenilir nakliyat hizmetleri.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: business, nakliyat, bursa, moving
Text Domain: osmangazi-nakliyat
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy: #1B2B6B;
  --navy-dark: #0f1a44;
  --green: #4CAF50;
  --green-dark: #388E3C;
  --light-bg: #f5f7fa;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(27,43,107,0.12);
  --radius: 12px;
  --max-w: 1200px;
}

/* ===== TICKER BAR ===== */
.ticker-bar {
  background: var(--navy);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid var(--green);
}
.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ticker-bar:hover .ticker-inner { animation-play-state: paused; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo img { height: 56px; width: auto; }
.site-logo .logo-text { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.site-logo .logo-text span { color: var(--green); }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.current_page_item a { color: var(--green); border-bottom-color: var(--green); }
.header-cta a {
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.header-cta a:hover { background: var(--green); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ===== FLOATING BUTTONS ===== */
.floating-buttons { position: fixed; bottom: 28px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: white; border: 3px solid white;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(0,0,0,0.35); }
.float-whatsapp { background: #25D366; }
.float-phone { background: var(--navy); }
.float-badge { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; background: red; border-radius: 50%; border: 2px solid white; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(27,43,107,0.85) 0%, rgba(76,175,80,0.4) 100%), url('<?php echo get_template_directory_uri(); ?>/images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(76,175,80,0.2);
  border: 1px solid var(--green);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-section h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-section h1 span { color: var(--green); }
.hero-desc { font-size: 18px; opacity: 0.92; max-width: 600px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--navy);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); }
.btn-green {
  background: var(--green);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid var(--green);
}
.btn-green:hover { background: var(--green-dark); }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 900; color: var(--green); }
.hero-stat .lbl { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTION BASE ===== */
.section { padding: 80px 20px; }
.section-alt { background: var(--light-bg); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-subtitle { color: var(--text-light); font-size: 17px; margin-bottom: 48px; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto 48px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(27,43,107,0.16); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--green)); }
.service-icon { font-size: 48px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border-bottom: 4px solid var(--green);
  box-shadow: var(--shadow);
}
.why-card .icon { font-size: 44px; margin-bottom: 12px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card p { color: var(--text-light); font-size: 14px; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.testimonial-card .stars { color: #FFC107; font-size: 18px; margin-bottom: 12px; }
.testimonial-card p { color: var(--text); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 15px; }
.testimonial-loc { color: var(--text-light); font-size: 13px; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(27,43,107,0.15); }
.blog-card-img { height: 200px; background: linear-gradient(135deg, var(--navy), var(--green)); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-cat { display: inline-block; background: var(--green); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.blog-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.blog-meta { display: flex; gap: 16px; color: var(--text-light); font-size: 13px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 14px; margin-top: 14px; }
.read-more:hover { color: var(--green); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: white;
  text-align: center;
  padding: 72px 20px;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: 0.88; margin-bottom: 36px; }
.cta-banner .btn-green { font-size: 18px; padding: 18px 40px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-dark); color: var(--white); padding: 60px 20px 0; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-about .logo { font-size: 22px; font-weight: 800; color: white; margin-bottom: 12px; }
.footer-about .logo span { color: var(--green); }
.footer-about p { font-size: 14px; opacity: 0.8; line-height: 1.8; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.footer-col li a:hover { opacity: 1; color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; opacity: 0.85; }
.footer-contact-item .icon { font-size: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; opacity: 0.6; max-width: var(--max-w); margin: 0 auto; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 72px 20px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.88; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 14px; opacity: 0.75; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { opacity: 0.5; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  background: #fafafa;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--navy); background: white; }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit {
  background: var(--navy);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.form-submit:hover { background: var(--green); }

/* ===== ABOUT STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 48px 0; }
.stat-card { background: var(--navy); color: white; border-radius: var(--radius); padding: 32px 20px; text-align: center; }
.stat-card .num { font-size: 48px; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 6px; }
.stat-card .lbl { font-size: 14px; opacity: 0.88; text-transform: uppercase; letter-spacing: 1px; }

/* ===== BLOG SINGLE ===== */
.blog-single-hero { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: white; padding: 64px 20px; text-align: center; }
.blog-single-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; max-width: 800px; margin: 0 auto 16px; }
.post-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.post-content h2 { font-size: 26px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.post-content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.post-content p { color: var(--text); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; }
.post-content li { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 20px; z-index: 999; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .hero-section { min-height: 70vh; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 16px; }
  .float-btn { width: 50px; height: 50px; font-size: 22px; }
  .floating-buttons { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-green { width: 100%; max-width: 320px; justify-content: center; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
}
