/* ========================================
   HOCAOĞLU OTO KAPORTA BOYA — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #0b0b0b;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-glass: rgba(255,255,255,0.04);
  --bg-glass-hover: rgba(255,255,255,0.08);
  --accent: #ff6a00;
  --accent-glow: rgba(255,106,0,0.4);
  --accent-soft: rgba(255,106,0,0.12);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(255,106,0,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--accent-soft);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn svg, .btn img { width: 20px; height: 20px; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11,11,11,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.navbar-brand span { color: var(--accent); }

.navbar-menu {
  display: flex;
  gap: 36px;
}

.navbar-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.navbar-menu a:hover { color: var(--text-primary); }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.navbar-cta:hover { opacity: 0.8; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11,11,11,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-bg-left, .hero-bg-right {
  position: relative;
  overflow: hidden;
}

.hero-bg-left img, .hero-bg-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,11,11,0.3) 0%, rgba(11,11,11,0.85) 100%);
}

.hero-bg-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(11,11,11,0.3) 0%, rgba(11,11,11,0.85) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11,11,11,0.4) 0%, rgba(11,11,11,0.9) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-compare {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-compare span {
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.hero-compare span:first-child { border-color: rgba(255,80,80,0.3); color: #ff5050; }
.hero-compare span:last-child { border-color: rgba(80,255,80,0.3); color: #50ff50; }

/* --- Trust Section --- */
.trust { background: var(--bg-secondary); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.trust-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.trust-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent);
}

.trust-icon svg { width: 28px; height: 28px; }

.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.service-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.service-card-body { padding: 24px; }

.service-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-card-link { gap: 10px; }

/* --- Location Section --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}

.location-feature-icon svg { width: 24px; height: 24px; }

.location-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.location-feature p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #e05500 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand span { color: var(--accent); }

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-secondary); transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: float-glow 2s ease-in-out infinite alternate;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

@keyframes float-glow {
  from { box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
  to { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* --- Page Header (subpages) --- */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center top, var(--accent-soft), transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  position: relative;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  position: relative;
}

/* --- Service Page Content --- */
.service-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.service-page-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-page-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-page-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-page-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-page-list {
  margin-bottom: 32px;
}

.service-page-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.service-page-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--border-accent);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}

.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-card a:hover { color: var(--accent); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- KVKK --- */
.kvkk-content {
  max-width: 800px;
  margin: 48px auto 0;
}

.kvkk-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--accent);
}

.kvkk-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 28px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Hizmetler listing page */
.hizmetler-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.hizmet-row {
  display: flex;
  gap: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}

.hizmet-row:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.hizmet-row img {
  width: 200px;
  min-height: 180px;
  object-fit: cover;
}

.hizmet-row-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hizmet-row-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hizmet-row-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ===== HERO BRAND ===== */
.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.brand-main {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.brand-sub {
  font-size: 18px;
  opacity: 0.8;
  color: #fff;
  margin: 0;
}

.brand-year {
  font-size: 14px;
  opacity: 0.6;
  color: #fff;
  margin: 0;
}

.hero-tagline {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .brand-main {
    font-size: 32px;
  }
  .brand-sub {
    font-size: 15px;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
}

/* ===== NAVBAR LOGO BLOCK ===== */
.logo-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.logo-main {
  font-size: 18px;
  font-weight: 800;
  color: #ff7a18;
}
.logo-sub {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.85;
}
.logo-year {
  font-size: 11px;
  color: #ff7a18;
  opacity: 0.9;
}
