/* ============================================================
   MEGATES ENERJİ — SHARED STYLESHEET
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#00AEEF;
  --blue-light:#00C4F5;
  --blue-dark:#0090CC;
  --blue-glow:rgba(0,174,239,0.12);
  --dark:#0a0e14;
  --dark2:#0f1923;
  --dark3:#172030;
  --mid:#1e2a38;
  --border:rgba(255,255,255,0.07);
  --light:#f4f6fa;
  --white:#ffffff;
  --gold:#e8c547;
  --text:#1a2233;
  --muted:#5a6478;
  --ff-head:'Rajdhani',sans-serif;
  --ff-body:'DM Sans',sans-serif;
}
html{scroll-behavior:smooth}
body{font-family:var(--ff-body);background:var(--white);color:var(--text);overflow-x:hidden}

/* ─── UTILITY BAR ─── */
.utility-bar{background:#00AEEF;padding:8px 0;border-bottom:1px solid rgba(0,0,0,0.1)}
.utility-bar .inner{max-width:1340px;margin:auto;padding:0 40px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.utility-left{display:flex;align-items:center;gap:10px}
.utility-catalog-btn{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,0.22);color:white;padding:6px 18px;border-radius:2px;font-family:var(--ff-head);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-decoration:none;transition:background .2s;border:1.5px solid rgba(255,255,255,0.7)}
.utility-catalog-btn:hover{background:rgba(255,255,255,0.35)}
.utility-catalog-btn svg{width:14px;height:14px;fill:white;flex-shrink:0}
.utility-right{display:flex;align-items:center;gap:7px}
.social-link{width:34px;height:34px;border-radius:3px;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:opacity .2s,transform .15s;background:#0A66C2;border:1.5px solid #0A66C2}
.social-link:hover{opacity:.85;transform:translateY(-2px)}
.social-link svg{width:17px;height:17px;fill:white}
.social-link.wa{background:#0A66C2;border-color:#0A66C2}
.social-link.ig{background:#0A66C2;border-color:#0A66C2}
.social-link.li{background:#0A66C2;border-color:#0A66C2}

/* ─── NAVBAR ─── */
nav{background:rgba(10,14,20,0.98);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);position:sticky;top:0;z-index:1000;border-bottom:1px solid var(--border)}
.nav-inner{max-width:1340px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;height:80px}
.logo{display:flex;align-items:center;text-decoration:none}
.logo img{height:42px;width:auto;object-fit:contain;display:block;filter:brightness(1.1) contrast(1.1)}
.nav-links{display:flex;align-items:center;gap:1px;list-style:none}
.nav-links>li{position:relative}
.nav-links>li>a{display:block;padding:8px 13px;font-size:12.5px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,0.68);text-decoration:none;transition:color .2s;white-space:nowrap}
.nav-links>li>a:hover,.nav-links>li>a.active{color:white}
.active-line{position:absolute;bottom:-1px;left:12px;right:12px;height:2px;background:var(--blue-light);transform:scaleX(0);transition:transform .2s;transform-origin:left}
.nav-links>li>a.active~.active-line,.nav-links>li:hover .active-line{transform:scaleX(1)}
/* Dropdown */
.dropdown{display:none;position:absolute;top:calc(100% + 1px);left:0;background:var(--dark2);min-width:240px;border:1px solid var(--border);border-top:2px solid var(--blue-light);list-style:none;z-index:200;box-shadow:0 20px 60px rgba(0,0,0,0.5)}
.nav-links>li:hover>.dropdown{display:block}
.dropdown li{position:relative}
.dropdown li a{display:block;padding:12px 20px;font-size:13px;font-weight:500;color:rgba(255,255,255,0.55);text-decoration:none;border-bottom:1px solid var(--border);transition:color .15s,padding-left .15s,background .15s}
.dropdown li:last-child a{border-bottom:none}
.dropdown li a:hover{color:white;padding-left:28px;background:rgba(21,101,192,0.1)}
/* Sub-dropdown */
.sub-dropdown{display:none;position:absolute;top:0;left:100%;background:var(--dark2);min-width:220px;border:1px solid var(--border);border-top:2px solid var(--blue-light);list-style:none;z-index:300;box-shadow:0 20px 60px rgba(0,0,0,0.5)}
.dropdown li:hover>.sub-dropdown{display:block}
.has-sub::after{content:'›';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:16px;color:rgba(255,255,255,0.3)}
.sub-dropdown li a{display:block;padding:11px 18px;font-size:13px;font-weight:500;color:rgba(255,255,255,0.5);text-decoration:none;border-bottom:1px solid var(--border);transition:color .15s,padding-left .15s,background .15s}
.sub-dropdown li:last-child a{border-bottom:none}
.sub-dropdown li a:hover{color:white;padding-left:24px;background:rgba(21,101,192,0.1)}
.nav-cta{background:var(--blue)!important;color:white!important;padding:8px 18px!important;border-radius:2px;transition:background .2s!important}
.nav-cta:hover{background:var(--blue-dark)!important}
.hamburger{display:none;cursor:pointer;flex-direction:column;gap:5px;background:none;border:none;padding:4px}
.hamburger span{display:block;width:22px;height:1.5px;background:white;transition:.3s}
/* Mobile Menu */
.mobile-menu{display:none;position:fixed;inset:0;background:var(--dark);z-index:999;overflow-y:auto;padding:90px 0 40px}
.mobile-menu.open{display:block}
.mobile-menu ul{list-style:none;padding:0 30px}
.mobile-menu ul li a{display:block;padding:14px 0;font-family:var(--ff-head);font-size:18px;font-weight:600;color:rgba(255,255,255,0.75);text-decoration:none;border-bottom:1px solid var(--border);letter-spacing:1px;text-transform:uppercase}
.mobile-menu ul li a:hover{color:var(--blue-light)}
.mobile-close{position:absolute;top:22px;right:24px;background:none;border:none;color:white;font-size:28px;cursor:pointer;line-height:1}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero{background:var(--dark);padding:72px 0 64px;position:relative;overflow:hidden;border-bottom:1px solid var(--border)}
.page-hero::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(to bottom,var(--blue-light),transparent);opacity:.6}
.page-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,rgba(21,101,192,0.08) 0%,transparent 60%)}
.page-hero-inner{max-width:1340px;margin:auto;padding:0 40px;position:relative;z-index:1}
.page-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:4px;text-transform:uppercase;color:var(--blue-light);margin-bottom:14px}
.page-hero-eyebrow::before{content:'';width:22px;height:1.5px;background:var(--blue-light)}
.page-hero-title{font-family:var(--ff-head);font-size:clamp(44px,6vw,74px);font-weight:700;text-transform:uppercase;color:white;line-height:1;margin-bottom:16px}
.page-hero-title span{color:var(--blue-light)}
.page-hero-desc{font-size:17px;color:rgba(255,255,255,0.55);max-width:560px;line-height:1.75;font-weight:300}
/* Breadcrumb */
.breadcrumb{display:flex;align-items:center;gap:8px;margin-top:28px}
.breadcrumb a,.breadcrumb span{font-size:12px;color:rgba(255,255,255,0.35);text-decoration:none;letter-spacing:.5px}
.breadcrumb a:hover{color:var(--blue-light)}
.breadcrumb .sep{color:rgba(255,255,255,0.2)}
.breadcrumb .current{color:rgba(255,255,255,0.6);font-weight:500}

/* ─── SECTIONS ─── */
.section{padding:88px 0}
.section.bg-light{background:var(--light)}
.section.bg-dark{background:var(--dark)}
.section-inner{max-width:1340px;margin:auto;padding:0 40px}
.section-head{margin-bottom:54px}
.section-head.center{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:3.5px;text-transform:uppercase;color:var(--blue-light);margin-bottom:12px}
.eyebrow::before{content:'';width:22px;height:1.5px;background:var(--blue-light)}
.eyebrow.center-ey{justify-content:center}
.eyebrow.center-ey::before{display:none}
.eyebrow.center-ey::after{content:'';width:22px;height:1.5px;background:var(--blue-light)}
.section-title{font-family:var(--ff-head);font-size:clamp(32px,4vw,54px);font-weight:700;text-transform:uppercase;color:var(--dark);line-height:1.05}
.section-title.light{color:white}
.section-title span{color:var(--blue-light)}
.section-desc{max-width:580px;margin-top:14px;color:var(--muted);font-size:16.5px;line-height:1.78;font-weight:300}
.section-desc.center{margin-left:auto;margin-right:auto;text-align:center}

/* ─── BUTTONS ─── */
.btn-primary{background:var(--blue);color:white;padding:13px 30px;border-radius:2px;font-family:var(--ff-head);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-decoration:none;display:inline-flex;align-items:center;gap:9px;transition:background .2s,transform .2s}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-2px)}
.btn-primary svg{width:15px;height:15px;fill:white;flex-shrink:0}
.btn-ghost{border:1px solid rgba(255,255,255,.22);color:rgba(255,255,255,.75);padding:13px 30px;border-radius:2px;font-family:var(--ff-head);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-decoration:none;display:inline-flex;align-items:center;gap:9px;transition:border-color .2s,color .2s}
.btn-ghost:hover{border-color:rgba(255,255,255,.55);color:white}
.btn-outline{border:1px solid var(--blue);color:var(--blue);padding:11px 26px;border-radius:2px;font-family:var(--ff-head);font-size:11.5px;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:background .2s,color .2s}
.btn-outline:hover{background:var(--blue);color:white}
.btn-outline svg{width:14px;height:14px;stroke:currentColor;fill:none;flex-shrink:0}
.btn-white{background:white;color:var(--blue);padding:14px 38px;border-radius:2px;font-family:var(--ff-head);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s;display:inline-block}
.btn-white:hover{background:#f0f0f0;transform:translateY(-2px)}

/* ─── STATS BAR ─── */
.stats-bar{background:#00AEEF;border-bottom:1px solid rgba(255,255,255,0.1)}
.stats-bar .inner{max-width:1340px;margin:auto;padding:0 40px;display:grid;grid-template-columns:repeat(5,1fr)}
.sbar-item{display:flex;align-items:center;gap:14px;padding:24px 18px;border-right:1px solid rgba(255,255,255,0.15);transition:background .25s}
.sbar-item:first-child{padding-left:0}
.sbar-item:last-child{border-right:none}
.sbar-item:hover{background:rgba(255,255,255,.1)}
.sbar-icon{width:38px;height:38px;flex-shrink:0;background:rgba(255,255,255,0.18);border:1px solid rgba(255,255,255,0.25);border-radius:2px;display:flex;align-items:center;justify-content:center}
.sbar-icon svg{width:17px;height:17px;fill:white}
.sbar-num{font-family:var(--ff-head);font-size:26px;font-weight:700;color:white;line-height:1}
.sbar-label{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,.82);margin-top:2px}

/* ─── PRODUCT CARDS ─── */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.products-grid-4{grid-template-columns:repeat(4,1fr)}
.product-card{background:white;position:relative;overflow:hidden;cursor:pointer;transition:transform .3s,box-shadow .3s;text-decoration:none;display:block;color:inherit}
.product-card:hover{transform:translateY(-5px);z-index:2;box-shadow:0 24px 64px rgba(0,0,0,0.15)}
.product-img-wrap{aspect-ratio:4/3;background:var(--mid);position:relative;overflow:hidden}
.product-img-wrap::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.55) 0%,transparent 55%);opacity:0;transition:opacity .3s}
.product-card:hover .product-img-wrap::after{opacity:1}
.product-img-wrap img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .45s ease}
.product-card:hover .product-img-wrap img{transform:scale(1.06)}
.product-tag{position:absolute;top:14px;left:0;z-index:5;background:var(--blue);color:white;font-size:8px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;padding:4px 13px 4px 11px;clip-path:polygon(0 0,calc(100% - 5px) 0,100% 50%,calc(100% - 5px) 100%,0 100%)}
.product-body{padding:20px 22px 24px;border-top:1px solid rgba(0,0,0,.05)}
.product-name{font-family:var(--ff-head);font-size:19px;font-weight:700;text-transform:uppercase;color:var(--dark);margin-bottom:8px;letter-spacing:.4px}
.product-desc{font-size:14.5px;color:var(--muted);line-height:1.68;margin-bottom:16px;font-weight:300}
.product-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);text-decoration:none;border-bottom:1px solid transparent;padding-bottom:2px;transition:border-color .2s,gap .2s}
.product-link:hover{border-color:var(--blue);gap:11px}
.product-link svg{width:13px;height:13px;fill:var(--blue)}

/* ─── COMBO CARD (Hücre Ekipmanları) ─── */
.product-img-combo{aspect-ratio:4/3;padding:0;overflow:hidden}
.combo-quad{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;width:100%;height:100%;gap:2px}
.combo-cell{overflow:hidden;position:relative}
.combo-cell img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .45s}
.product-card:hover .combo-cell img{transform:scale(1.07)}
.combo-sub-list{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}
.combo-sub-item{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text);font-weight:500}
.combo-sub-item svg{width:13px;height:13px;stroke:var(--blue);flex-shrink:0;fill:none}

/* ─── CTA BANNER ─── */
.cta-banner{background:var(--dark);border-top:1px solid var(--border);border-bottom:1px solid var(--border);position:relative;overflow:hidden}
.cta-banner::before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,var(--blue) 0%,rgba(21,101,192,0) 55%);opacity:.12}
.cta-inner{max-width:1340px;margin:auto;padding:60px 40px;display:flex;align-items:center;justify-content:space-between;gap:36px;flex-wrap:wrap;position:relative;z-index:1}
.cta-label{font-size:10px;font-weight:600;letter-spacing:3.5px;text-transform:uppercase;color:var(--blue-light);margin-bottom:8px}
.cta-title{font-family:var(--ff-head);font-size:36px;font-weight:700;text-transform:uppercase;color:white;line-height:1.05}
.cta-desc{font-size:14px;color:rgba(255,255,255,.4);margin-top:8px;font-weight:300}

/* ─── FOOTER ─── */
footer{background:var(--dark);color:rgba(255,255,255,.4);border-top:1px solid var(--border)}
.footer-grid{max-width:1340px;margin:auto;padding:64px 40px 48px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px}
.footer-about-text{font-size:14.5px;line-height:1.88;color:rgba(255,255,255,.6);margin-top:16px;font-weight:300}
.footer-contacts{margin-top:20px;display:flex;flex-direction:column;gap:9px}
.footer-contacts a{font-size:13.5px;color:rgba(255,255,255,.65);text-decoration:none;display:flex;align-items:center;gap:8px;transition:color .2s}
.footer-contacts a:hover{color:var(--gold)}
.footer-contacts svg{flex-shrink:0}
.footer-col h4{font-family:var(--ff-head);font-size:12px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:rgba(255,255,255,.8);margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-col ul li a{font-size:13.5px;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s;font-weight:300}
.footer-col ul li a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid var(--border);max-width:1340px;margin:0 auto;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:rgba(255,255,255,.2);letter-spacing:.4px}
.footer-bottom-tagline{display:flex;align-items:center;gap:8px}
.footer-bottom-tagline::before{content:'';width:16px;height:1.5px;background:var(--blue-light);opacity:.5}

/* ─── CHAT WIDGET ─── */
.chat-bubble{position:fixed;bottom:28px;right:28px;z-index:9999}
.chat-toggle{width:58px;height:58px;border-radius:50%;background:var(--blue);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 28px rgba(21,101,192,0.55);transition:transform .25s;position:relative}
.chat-toggle:hover{transform:scale(1.08)}
.chat-toggle svg{width:24px;height:24px;fill:white;transition:opacity .2s,transform .2s}
.chat-toggle .icon-close{position:absolute;opacity:0;transform:scale(0.6)}
.chat-bubble.open .icon-chat{opacity:0;transform:scale(0.6)}
.chat-bubble.open .icon-close{opacity:1;transform:scale(1)}
.chat-badge{position:absolute;top:-2px;right:-2px;width:17px;height:17px;background:#e53935;border-radius:50%;border:2px solid var(--dark);display:flex;align-items:center;justify-content:center;font-size:8.5px;font-weight:700;color:white}
.chat-box{display:none;position:absolute;bottom:70px;right:0;width:320px;background:white;border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,0.22);overflow:hidden;border:1px solid #e2e8f0}
.chat-bubble.open .chat-box{display:flex;flex-direction:column}
.chat-header{background:var(--blue);padding:16px;display:flex;align-items:center;gap:12px}
.chat-avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.25);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.chat-header-info .name{font-size:14px;font-weight:700;color:white;font-family:var(--ff-head);letter-spacing:.5px}
.chat-header-info .status{font-size:11px;color:rgba(255,255,255,.75);display:flex;align-items:center;gap:5px;margin-top:2px}
.chat-header-info .status::before{content:'';width:6px;height:6px;border-radius:50%;background:#4ade80;flex-shrink:0}
.chat-msgs{padding:14px;display:flex;flex-direction:column;gap:9px;min-height:120px;max-height:220px;overflow-y:auto}
.chat-msg{max-width:88%;padding:9px 13px;border-radius:12px;font-size:13px;line-height:1.55}
.chat-msg.bot{background:#f1f5f9;color:#1a2233;border-radius:12px 12px 12px 3px;align-self:flex-start}
.chat-msg.user{background:var(--blue);color:white;border-radius:12px 12px 3px 12px;align-self:flex-end}
.chat-quick{padding:0 14px 12px;display:flex;flex-wrap:wrap;gap:6px}
.chat-quick-btn{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:5px 12px;font-size:12px;font-weight:500;color:#1a2233;cursor:pointer;transition:background .15s,border-color .15s;font-family:var(--ff-body)}
.chat-quick-btn:hover{background:#dbeafe;border-color:var(--blue);color:var(--blue)}
.chat-input-row{border-top:1px solid #f1f5f9;padding:10px 12px;display:flex;gap:8px;align-items:center}
.chat-input{flex:1;border:1px solid #e2e8f0;border-radius:22px;padding:8px 13px;font-size:13px;font-family:var(--ff-body);outline:none;transition:border-color .2s;color:#1a2233}
.chat-input:focus{border-color:var(--blue)}
.chat-send{width:34px;height:34px;border-radius:50%;background:var(--blue);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.chat-send:hover{background:var(--blue-dark)}
.chat-send svg{width:15px;height:15px;fill:white}
.chat-footer-note{text-align:center;padding:0 14px 10px;font-size:10px;color:#94a3b8}
.typing-dot{display:inline-block;width:5px;height:5px;background:#94a3b8;border-radius:50%;animation:typingBounce 1.2s infinite}
.typing-dot:nth-child(2){animation-delay:.2s}
.typing-dot:nth-child(3){animation-delay:.4s}
@keyframes typingBounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px){.products-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:960px){.products-grid{grid-template-columns:repeat(2,1fr)}.stats-bar .inner{grid-template-columns:repeat(3,1fr)}.sbar-item:nth-child(4),.sbar-item:nth-child(5){display:none}}
@media(max-width:768px){
  .nav-links{display:none}.hamburger{display:flex}
  .utility-bar .inner{justify-content:center;flex-direction:column;gap:6px}
  .footer-grid{grid-template-columns:1fr 1fr}.stats-bar .inner{grid-template-columns:1fr 1fr}
  .page-hero{padding:52px 0 44px}.section{padding:60px 0}
  .section-inner,.page-hero-inner,.stats-bar .inner,.nav-inner,.utility-bar .inner,.cta-inner,.footer-grid,.footer-bottom{padding-left:20px;padding-right:20px}
}
@media(max-width:580px){.products-grid,.products-grid-4{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}}

/* ─── LOGO IMG WRAP (referans kartları) ─── */
.logo-img-wrap{height:44px;display:flex;align-items:center;justify-content:center;width:100%}
