/* =============================================
   CAKO ENERJİ – Ana Stil Dosyası
   ============================================= */

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

:root {
  --navy:        #0d1b2a;
  --navy-dark:   #070f17;
  --navy-mid:    #132338;
  --navy-light:  #1e3a5f;
  --orange:      #f4840a;
  --orange-dark: #d97208;
  --orange-light:#ffa63d;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --text-light:  #94a3b8;
  --text-muted:  #64748b;
  --border:      #1e3a5f;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.25);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.15);
  --transition:  0.3s ease;
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,132,10,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ACCENT */
.accent { color: var(--orange); }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--navy-dark);
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-right {
  color: var(--text-light);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: var(--navy);
  color: var(--orange);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.5px;
}

.logo-slogan {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(244,132,10,.12) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,.025) 60px);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7,15,23,.8) 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(244,132,10,.15);
  border: 1px solid rgba(244,132,10,.4);
  color: var(--orange-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 0.75rem;
  letter-spacing: 1px;
  z-index: 2;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--orange);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(244,132,10,.1);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  border: 1px solid rgba(244,132,10,.25);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid #e8edf5;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.product-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(244,132,10,.12);
  transform: translateY(-4px);
}

.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.product-list {
  margin-bottom: 20px;
}

.product-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px dashed #e8edf5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-list li::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
}

.product-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link:hover { color: var(--orange-dark); }

/* =============================================
   ABOUT
   ============================================= */
.about-section {
  background: #f0f4f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(244,132,10,.35);
}

.about-badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-title { text-align: left; margin-bottom: 18px; }
.about-content .section-badge { display: inline-block; margin-bottom: 12px; }

.about-text {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-section {
  background: var(--white);
}

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

.why-card {
  padding: 32px 24px;
  border: 1px solid #e8edf5;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}

.why-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(244,132,10,.1);
  transform: translateY(-4px);
}

.why-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(244,132,10,.15);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.why-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-desc {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border: 1px solid #e8edf5;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card a {
  color: var(--orange);
  font-weight: 600;
}

.contact-card a:hover { color: var(--orange-dark); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid #e8edf5;
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--off-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #dde3ee;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,132,10,.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab4c4;
}

.form-note {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
}

.form-note.success {
  background: #dcfce7;
  color: #15803d;
}

.form-note.error {
  background: #fee2e2;
  color: #dc2626;
}

/* MAP */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e8edf5;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-slogan { color: rgba(255,255,255,.45); }
.footer-brand .logo-icon { background: var(--orange); }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

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

.footer-contact li {
  font-size: 0.87rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}

.footer-contact a {
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .topbar-right { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e8edf5;
    box-shadow: var(--shadow);
    padding: 12px 0;
    align-items: stretch;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 13px 20px;
    border-bottom: none;
  }

  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .navbar-inner { position: relative; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(2), .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }

  .section { padding: 60px 0; }

  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge-float { right: 16px; bottom: -16px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.5rem; }
}
