/* ===========================
   CENGIZ OTO – Premium CSS
   Dark Automotive / Industrial
   =========================== */

:root {
  --primary:    #E63946;
  --primary-dk: #c1121f;
  --accent:     #FFB703;
  --dark:       #0D0D0D;
  --dark2:      #141414;
  --dark3:      #1C1C1C;
  --card:       #1E1E1E;
  --border:     #2a2a2a;
  --text:       #E8E8E8;
  --text-muted: #888;
  --white:      #FFFFFF;
  --green:      #25D366;
  --radius:     12px;
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
  --trans:      all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  text-transform: uppercase;
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,.4);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green);
  color: #fff;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--trans);
  text-transform: uppercase;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-block;
  background: rgba(230,57,70,.15);
  color: var(--primary);
  border: 1px solid rgba(230,57,70,.3);
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .75rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
}
.section-header h2 span { color: var(--primary); }

/* ── FLOATING BUTTONS ── */
.fab-call, .fab-whatsapp {
  position: fixed;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  transition: var(--trans);
}
.fab-call    { bottom: 130px; right: 20px; background: var(--primary); color:#fff; }
.fab-whatsapp{ bottom: 65px;  right: 20px; background: var(--green); color:#fff; }
.fab-call:hover, .fab-whatsapp:hover { transform: scale(1.12); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1rem 0;
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}
.logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--primary);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dk); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; margin-left: auto; padding: .3rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 60%, #0d0d0d 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(230,57,70,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,183,3,.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(230,57,70,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,57,70,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 6rem;
  padding-bottom: 4rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(230,57,70,.15);
  border: 1px solid rgba(230,57,70,.4);
  color: var(--primary);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s ease both;
}
.hero-badge i { color: #4caf50; font-size: .7rem; animation: pulse 2s infinite; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  animation: fadeUp .8s .1s ease both;
}
.hero-title .accent { color: var(--primary); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.2rem;
  animation: fadeUp .8s .2s ease both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp .8s .3s ease both;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  animation: fadeUp .8s .4s ease both;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-lbl { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: .85rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* ── SERVICES ── */
.services {
  padding: 6rem 0;
  background: var(--dark2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: var(--trans);
  overflow: hidden;
}
.service-card::before {
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { border-color: rgba(230,57,70,.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: linear-gradient(135deg, rgba(230,57,70,.08) 0%, var(--card) 100%);
  border-color: rgba(230,57,70,.3);
}
.service-card.featured::before { transform: scaleX(1); }
.svc-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .08em;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.svc-icon-wrap { margin-bottom: 1.2rem; }
.svc-icon {
  width: 60px; height: 60px;
  background: rgba(230,57,70,.1);
  border: 1px solid rgba(230,57,70,.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  transition: var(--trans);
}
.service-card:hover .svc-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230,57,70,.35);
}
.service-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.service-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.svc-footer { border-top: 1px solid var(--border); padding-top: 1rem; }
.svc-link {
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: var(--trans);
}
.svc-link:hover { gap: .8rem; }

/* ── WHY US ── */
.why-us {
  padding: 6rem 0;
  background: var(--dark);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-text .section-tag { display: inline-block; margin-bottom: .9rem; }
.why-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.why-text h2 span { color: var(--primary); }
.why-lead { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }
.why-list { list-style: none; margin-bottom: 2rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--text-muted);
}
.why-list li:last-child { border-bottom: none; }
.why-list li i { color: #4caf50; margin-top: .2rem; font-size: 1rem; flex-shrink: 0; }
.why-list li strong { color: var(--white); }

/* Why Visual */
.why-visual { position: relative; height: 380px; }
.why-card-stack { position: relative; width: 100%; height: 100%; }
.wcard {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .8rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}
.wcard i { color: var(--primary); font-size: 1.4rem; }
.wcard-1 { top: 5%;  left: 5%;  animation-delay: 0s; }
.wcard-2 { top: 45%; right: 0;  animation-delay: 1.2s; }
.wcard-3 { bottom: 8%; left: 10%; animation-delay: 2.4s; }
.wcard-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.tire-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: var(--primary);
  background: rgba(230,57,70,.06);
  box-shadow: 0 0 40px rgba(230,57,70,.2), inset 0 0 20px rgba(230,57,70,.08);
  animation: rotateRing 8s linear infinite;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(90deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 2.5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cta-text {
  display: flex; align-items: center; gap: 1.2rem;
  flex: 1;
}
.cta-icon { font-size: 2rem; color: var(--accent); flex-shrink: 0; }
.cta-text strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: #fff; }
.cta-text span { font-size: .9rem; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--primary-dk); }
.cta-actions .btn-primary:hover { background: #f1f1f1; }

/* ── LOCATION ── */
.location-sec { padding: 6rem 0; background: var(--dark2); }
.location-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: stretch;
}
.location-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.loc-item { display: flex; align-items: flex-start; gap: 1rem; }
.loc-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.loc-item strong { display: block; font-family: 'Oswald', sans-serif; color: var(--white); font-size: .95rem; }
.loc-item span, .loc-item a { font-size: .9rem; color: var(--text-muted); }
.loc-item a:hover { color: var(--primary); }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 400px;
}
#map { width: 100%; height: 100%; min-height: 400px; }
.map-pin {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(230,57,70,.5);
}
.map-pin i { transform: rotate(45deg); color: #fff; font-size: 1.1rem; }

/* ── CONTACT ── */
.contact-sec { padding: 6rem 0; background: var(--dark); }
.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .85rem; color: var(--text-muted); font-family: 'Oswald', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.form-group input, .form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem 1rem;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  transition: var(--trans);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; }
.alert-success {
  background: rgba(76,175,80,.12);
  border: 1px solid rgba(76,175,80,.3);
  color: #81c784;
  padding: 1rem 1.4rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .7rem;
}
.alert-error {
  background: rgba(230,57,70,.1);
  border: 1px solid rgba(230,57,70,.3);
  color: #ef9a9a;
  padding: 1rem 1.4rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .7rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 1rem; max-width: 280px; }
.footer-links, .footer-contact {
  display: flex; flex-direction: column; gap: .7rem;
}
.footer-links strong, .footer-contact strong {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.footer-links a, .footer-contact a, .footer-contact span {
  color: var(--text-muted);
  font-size: .88rem;
  display: flex; align-items: center; gap: .5rem;
  transition: var(--trans);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-admin-link { color: #333 !important; font-size: .75rem; }
.footer-admin-link:hover { color: var(--text-muted) !important; }

/* ── GALLERY ── */
.gallery-sec { padding: 6rem 0; background: var(--dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item { cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gallery-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(230,57,70,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  font-size: 1.6rem;
  color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  padding: .5rem .2rem;
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
}
/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.lb-close:hover { background: var(--primary); border-color: var(--primary); }
.lb-inner { max-width: 90vw; max-height: 90vh; text-align: center; }
.lb-inner img {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.lb-caption {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: .8rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity:1; }
  50%       { opacity:.4; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes rotateRing {
  from { box-shadow: 0 0 40px rgba(230,57,70,.2), inset 0 0 20px rgba(230,57,70,.08); }
  to   { box-shadow: 0 0 60px rgba(230,57,70,.35), inset 0 0 30px rgba(230,57,70,.12); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { height: 250px; }
  .location-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(13,13,13,.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
    z-index: 899;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.2rem; }
  .stat-div { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text { flex-direction: column; text-align: center; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .why-visual { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-whatsapp { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
}
