/* ═══════════════════════════════════════════
   Törem Doğalgaz — Professional Corporate Theme
   ═══════════════════════════════════════════ */
:root {
  --blue: #00a0e3;
  --blue-dark: #0077b6;
  --blue-deep: #023e8a;
  --navy: #0b1f3a;
  --navy-2: #132f54;
  --accent: #00b4d8;
  --orange: #f77f00;
  --success: #2a9d8f;
  --text: #1a2332;
  --text-muted: #5c6b7a;
  --border: #e4eaf0;
  --bg: #f5f8fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.12);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; transition: .2s; }
a:hover { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: .2s; line-height: 1; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg); color: var(--blue-deep); }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { filter: brightness(.95); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .55rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--accent); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar i { color: var(--accent); margin-right: .3rem; }
.social-links { display: flex; gap: .55rem; }
.social-links a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: .85rem;
}
.social-links a:hover { background: var(--blue); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(11,31,58,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .75rem; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0,160,227,.3); flex-shrink: 0;
}
.logo-img {
  height: 48px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0;
}
.logo-text strong { display: block; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-text span { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: .35rem;
  padding: .65rem .85rem; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: .92rem;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--blue); background: rgba(0,160,227,.08); }
.nav .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .2s; z-index: 50;
}
.nav > li:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav .dropdown a {
  display: block; padding: .7rem .9rem; border-radius: 8px;
  color: var(--text); font-size: .9rem; font-weight: 500;
}
.nav .dropdown a:hover { background: var(--bg); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}

/* Hero / Slider */
.hero {
  position: relative; background: var(--navy);
  color: #fff; overflow: hidden; min-height: 520px;
}
.hero-slide {
  display: none; position: relative;
  min-height: 520px; align-items: center;
  background-size: cover; background-position: center;
}
.hero-slide.active { display: flex; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.55) 55%, rgba(0,160,227,.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 5rem 0 4rem; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0,160,227,.2); border: 1px solid rgba(0,160,227,.4);
  color: #9be7ff; padding: .4rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .75rem; letter-spacing: -.03em; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 5;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }

/* Feature strip */
.feature-strip {
  margin-top: -40px; position: relative; z-index: 10;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--border); transition: .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg); }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 2.25rem; flex-wrap: wrap;
}
.section-head .eyebrow {
  color: var(--blue); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-head p { color: var(--text-muted); margin: .4rem 0 0; max-width: 520px; }

/* About home */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem;
}
.stat-box {
  background: var(--bg); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
}
.stat-box strong { display: block; font-size: 1.6rem; color: var(--blue); font-weight: 800; }
.stat-box span { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.about-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--blue-deep));
  min-height: 380px; padding: 2rem; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,180,216,.35), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(0,160,227,.25), transparent 40%);
}
.about-visual-inner { position: relative; z-index: 1; }
.about-visual h3 { color: #fff; font-size: 1.5rem; }
.daikin-badge {
  display: inline-block; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); padding: .45rem .9rem;
  border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 1rem;
}

/* Cards */
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.product-card, .service-card, .cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s; height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover, .service-card:hover, .cat-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.product-card .thumb, .cat-card .thumb {
  aspect-ratio: 4/3; background: var(--bg); position: relative; overflow: hidden;
}
.product-card .thumb img, .cat-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: .4s;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body, .cat-card .body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.product-card .meta { font-size: .75rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.product-card h3, .cat-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.product-card h3 a, .cat-card h3 a { color: var(--navy); }
.product-card h3 a:hover { color: var(--blue); }
.product-card p { color: var(--text-muted); font-size: .88rem; flex: 1; margin-bottom: 1rem; }
.product-card .code { font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; }

.service-card { padding: 1.75rem; }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.1rem;
  background: rgba(0,160,227,.1); color: var(--blue); display: grid; place-items: center; font-size: 1.35rem;
}
.service-card h3 { font-size: 1.1rem; }
.service-card h3 a { color: var(--navy); }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 1rem; }
.service-card .more { font-weight: 700; font-size: .9rem; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; }

/* Logo marquee */
.logo-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem;
}
.logo-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  height: 90px; display: grid; place-items: center; padding: 1rem; transition: .2s;
}
.logo-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.logo-item span { font-weight: 700; color: var(--navy); font-size: .9rem; text-align: center; }
.logo-item img { max-height: 48px; max-width: 110px; object-fit: contain; filter: grayscale(.2); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-deep) 50%, var(--blue) 100%);
  color: #fff; border-radius: 24px; padding: 3rem; display: flex;
  justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: 1.75rem; margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 480px; }

/* Page hero */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--blue-deep));
  color: #fff; padding: 3rem 0 2.5rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(0,160,227,.15);
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .88rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* Content layout */
.content-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start;
}
.prose { font-size: 1.02rem; color: var(--text); }
.prose h2, .prose h3 { margin-top: 1.5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.sidebar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; margin-bottom: 1.25rem; box-shadow: var(--shadow);
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.sidebar-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: .92rem; font-weight: 500;
}
.sidebar-list a:hover { color: var(--blue); }
.sidebar-list li:last-child a { border-bottom: 0; }

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start;
}
.product-gallery {
  background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border);
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
}
.product-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.product-info .badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.badge {
  display: inline-flex; padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; background: rgba(0,160,227,.1); color: var(--blue);
}
.product-info h1 { font-size: 1.75rem; margin-bottom: .5rem; }
.product-code { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.form-group label .req { color: #e63946; }
.form-control {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--border);
  border-radius: 10px; font: inherit; background: #fff; color: var(--text);
  transition: .2s;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,160,227,.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
.alert {
  padding: 1rem 1.15rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: .95rem;
}
.alert-success { background: #d8f3dc; color: #1b4332; border: 1px solid #95d5b2; }
.alert-error { background: #fde8e8; color: #9b2226; border: 1px solid #f5c2c7; }
.alert-info { background: #e8f4fc; color: #023e8a; border: 1px solid #ade8f4; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.contact-item {
  display: flex; gap: 1rem; padding: 1.25rem; background: var(--bg);
  border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid var(--border);
}
.contact-item .icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.contact-item strong { display: block; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.contact-item a, .contact-item span { color: var(--navy); font-weight: 600; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  min-height: 320px; background: var(--bg);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.75); padding-top: 3.5rem; margin-top: 3rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.footer-brand .logo { margin-bottom: 1rem; color: #fff; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,.55); }
.footer-brand .logo-img { max-height: 48px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .75rem; font-size: .92rem; }
.footer-contact i { color: var(--accent); margin-top: .2rem; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.15rem 0; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.6rem; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Empty / placeholder */
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--text-muted);
  background: var(--bg); border-radius: var(--radius); border: 1px dashed var(--border);
}
.placeholder-img {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8f4fc, #f0f4f8);
  color: var(--blue); font-size: 2.5rem;
}

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: .9rem;
  color: var(--navy); background: #fff;
}
.pagination a:hover, .pagination .active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Search bar */
.search-bar {
  display: flex; gap: .5rem; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: .35rem; max-width: 420px; width: 100%;
}
.search-bar input {
  flex: 1; border: 0; outline: none; padding: .55rem 1rem; font: inherit; background: transparent;
}
.search-bar button {
  border: 0; background: var(--blue); color: #fff; border-radius: 999px;
  padding: .55rem 1.1rem; cursor: pointer; font-weight: 600;
}

/* Mobile */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .content-grid, .product-detail, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 5rem 1.25rem 2rem; gap: .25rem;
    box-shadow: -10px 0 40px rgba(0,0,0,.12);
    transform: translateX(105%); transition: .3s; overflow-y: auto; z-index: 1001;
  }
  .nav.open { transform: none; }
  .nav .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 .75rem; display: none; min-width: 0;
  }
  .nav > li.open > .dropdown { display: block; }
  .header-cta .btn span { display: none; }
  .topbar-left span.hide-mobile { display: none; }
}
@media (max-width: 640px) {
  .cards-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
  .hero-slide { min-height: 440px; }
  .cta-band { padding: 1.75rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr !important; }
  .product-actions .btn { width: 100%; justify-content: center; }
}
