/* ===================================================
   SOYLU TEKNO & ENDÜSTRİ — Main Stylesheet
   =================================================== */

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

:root {
  --navy:       #131e30;
  --navy-mid:   #1a2845;
  --navy-light: #243256;
  --orange:     #e07820;
  --orange-h:   #f08c30;
  --orange-glow:rgba(224,120,32,.28);
  --silver:     #8a98b4;
  --silver-l:   #c4cedf;
  --white:      #ffffff;
  --bg:         #f2f5fa;
  --bg-card:    #ffffff;
  --text:       #1e2d45;
  --text-muted: #5b6e8a;
  --border:     rgba(26,40,69,.09);
  --radius:     10px;
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- COMMON ---- */
.label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 18px;
}

.section { padding: 96px 0; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-h));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .07em;
  padding: 14px 32px;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: 0 6px 20px var(--orange-glow);
  border: none;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 10px 30px var(--orange-glow); }
.btn-primary.full   { width: 100%; text-align: center; display: block; }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.88);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .07em;
  padding: 13px 30px;
  border-radius: 6px;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,19,30,.0);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.navbar.scrolled {
  background: rgba(13,19,30,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.nav-logo { height: 48px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .1em;
}
.brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .52rem;
  color: var(--orange);
  letter-spacing: .2em;
  margin-top: 2px;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .07em;
  color: var(--silver-l);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--orange);
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  transition: var(--transition);
}
.lang-active { color: var(--orange); }
.lang-divider { color: rgba(255,255,255,.3); margin: 0 1px; }
.lang-other   { color: rgba(255,255,255,.45); }
.lang-toggle:hover { border-color: var(--orange); background: rgba(224,120,32,.1); }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(13,19,30,.98);
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--silver-l);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--orange); }

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3060 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 85% 35%, rgba(224,120,32,.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 15% 85%, rgba(19,30,48,.7)    0%, transparent 60%);
}

/* subtle grid */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

/* decorative rings */
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; right: -60px; top: -100px;
  border: 1px solid rgba(224,120,32,.12);
}
.hero::after {
  width: 820px; height: 820px; right: -220px; top: -260px;
  border: 1px solid rgba(176,184,200,.06);
}

.hero-content {
  position: relative; z-index: 1;
  padding-top: 72px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--orange);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 26px;
}
.hero-title-accent { color: var(--orange); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--silver-l);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
  opacity: .9;
}

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

/* Stats bar */
.hero-stats {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  gap: 4px;
  transition: opacity .5s ease, transform .5s ease;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--silver);
  text-transform: uppercase;
}
.stat-sep {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.1);
}

/* ====================================================
   ABOUT
   ==================================================== */
.about { background: var(--bg); overflow: hidden; }

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

.about-visual { position: relative; overflow: visible; }

.about-card-main {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 36px 36px;
  box-shadow: 0 20px 60px rgba(19,30,48,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--border);
}
.about-logo { width: 220px; height: auto; }

.about-tag-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.about-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-card-tag::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tag-oil  { background: #fff5eb; color: var(--orange); border: 1.5px solid rgba(224,120,32,.2); }
.tag-oil::before  { background: var(--orange); }
.tag-chem { background: #ebf4ff; color: #2970d6;       border: 1.5px solid rgba(41,112,214,.15); }
.tag-chem::before { background: #2970d6; }
.tag-soft { background: #edf5f0; color: #1e8c4f;       border: 1.5px solid rgba(30,140,79,.15); }
.tag-soft::before { background: #1e8c4f; }

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

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.pill-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.pill-list li::before {
  content: '';
  display: inline-flex;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-h));
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ====================================================
   SERVICES
   ==================================================== */
.services { background: var(--white); }

.service-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.service-block {
  position: relative;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(19,30,48,.1);
  border-color: rgba(224,120,32,.3);
}
.service-block.featured {
  background: var(--navy);
  border-color: rgba(224,120,32,.3);
  box-shadow: 0 16px 48px rgba(19,30,48,.25);
}
.service-block.featured:hover { box-shadow: 0 24px 60px rgba(19,30,48,.35); }
.service-block.featured h3,
.service-block.featured p,
.service-block.featured .sb-list li { color: var(--white); }
.service-block.featured .sb-list li { color: var(--silver-l); }

.sb-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange-h));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.sb-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sb-icon svg { width: 32px; height: 32px; }
.sb-icon.oil   { background: rgba(224,120,32,.12); color: var(--orange); }
.sb-icon.metal { background: rgba(224,120,32,.18); color: var(--orange-h); }
.sb-icon.soft  { background: rgba(41,112,214,.1);  color: #2970d6; }
.service-block.featured .sb-icon.metal { background: rgba(224,120,32,.25); }

.sb-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sb-body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sb-list { display: flex; flex-direction: column; gap: 8px; }
.sb-list li {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.sb-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ====================================================
   SECTORS
   ==================================================== */
.sectors { background: var(--navy); }
.sectors .label { color: var(--orange); }
.sectors h2 { color: var(--white); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
}

.sector-item {
  padding: 28px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  transition: background var(--transition), border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.sector-item:hover {
  background: rgba(224,120,32,.1);
  border-color: rgba(224,120,32,.25);
}
.sector-item span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--silver-l);
}
.sector-item:hover span { color: var(--orange); }

/* ====================================================
   CONTACT
   ==================================================== */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-top: 8px;
}

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

.cinfo-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cinfo-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  box-shadow: 0 2px 10px rgba(19,30,48,.07);
  flex-shrink: 0;
}
.cinfo-icon svg { width: 20px; height: 20px; }
.cinfo-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.cinfo-val {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}

/* form */
.contact-form {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 10px 40px rgba(19,30,48,.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid rgba(19,30,48,.12);
  border-radius: 7px;
  padding: 11px 13px;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  resize: vertical;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235b6e8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 0;
}

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

.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-logo  { height: 44px; width: auto; }
.footer-name  {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: .95rem;
  color: var(--white);
  letter-spacing: .1em;
  line-height: 1;
}
.footer-sub {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .5rem;
  color: var(--orange);
  letter-spacing: .2em;
  margin-top: 3px;
}

.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--silver);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }

.footer-copy {
  font-size: .78rem;
  color: var(--silver);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 960px) {
  .service-blocks {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-cta   { flex-direction: column; }
  .btn-ghost, .btn-primary { text-align: center; }

  .stats-inner { gap: 0; }
  .stat  { padding: 12px 20px; }
  .stat-sep { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section   { padding: 72px 0; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
}
