/* =========================================================
   GENEL RESET & TEMEL AYARLAR
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "New Frank", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111;
    line-height: 1.6;
    background: #f5f5f5;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   HEADER – ÜST BAR + MENÜ
========================================================= */

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    color: #fff;
    font-size: 13px;
}

/* ÜST BAR */
.top-bar {
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 6px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right a {
    margin-left: 14px;
    color: #fff;
    opacity: 0.8;
}

.top-right a:hover {
    opacity: 1;
}

/* NAV BAR */
.nav-wrapper {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

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

/* HAMBURGER BUTON */
.nav-toggle {
    display: none;              /* desktopta gizli */
    width: 32px;
    height: 24px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 40;                /* menünün üstünde kalsın */
}

.nav-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffd400;
    border-radius: 2px;
    transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* SUB MENÜLER İÇİN OK İKONU (HEM DESKTOP HEM MOBİL) */
.main-nav .has-sub > a {
    position: relative;
    padding-right: 24px;  /* ok için boşluk */
}

.main-nav .has-sub > a::before {
    content: "›";          /* varsayılan sağ ok */
    position: absolute;
    right: 10px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
}

/* Hamburger açıkken X şekline dönüşsün */
.main-header.nav-open .nav-toggle span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.main-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
.main-header.nav-open .nav-toggle span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* =========================================================
   YETKİNLİKLERİMİZ – MEGA MENÜ
========================================================= */

.main-nav .has-mega {
    position: relative;
}

/* Ana kutu – başlangıçta kapalı */
.yetkinlik-mega {
    position: absolute;
    top: 100%;
    left: 0;
    background: transparent;
    border: none;
    z-index: 9999;
    font-size: 14px;
    min-width: 520px;
    display: none;
    align-items: flex-start;
}

/* Desktop: hover ile aç */
@media (min-width: 769px) {
    .main-nav .has-mega:hover .yetkinlik-mega {
        display: flex;
    }
}

/* Sol kategori kolonu */
.ym-left {
    display: inline-flex;
    flex-direction: column;
    width: auto;
    flex: 0 0 auto;
    background: transparent;
}

/* Desktop’ta Güneş paneli listesi ikinci satırdan başlasın */
@media (min-width: 769px) {
    .ym-panel[data-panel="gunes"] {
        margin-top: 52px; /* yaklaşık 1 kategori yüksekliği */
    }
}

.ym-cat {
    border: none;
    background: #ffd400;
    color: #000;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}

.ym-cat.active {
    background: #000;
    color: #ffd400;
}

/* Sağdaki liste kolonu */
.ym-right {
    min-width: 260px;
}

/* Liste panelleri */
.ym-panel {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mega menü panelleri, üst menü flex’ini ezsin */
.main-nav ul.ym-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.main-nav ul.ym-panel.active {
    display: block;
}

/* Satırlar */
.ym-panel li a {
    display: block;
    padding: 10px 18px;
    background: #ffd400;
    color: #000;
    border-bottom: 1px solid #000;
    font-weight: 600;
    white-space: nowrap;
}

/* Son satır siyah */
.ym-panel li.ym-last a {
    background: #000;
    color: #ffd400;
}

.ym-panel li a:hover {
    background: #22292e;
    color: #ecd62b;
}

/* Bu mega menüde klasik sub-menu davranışı olmasın */
.main-nav .has-mega .sub-menu {
    display: none !important;
}

/* --- MOBİL DAVRANIŞI --- */
@media (max-width: 768px) {
    /* Hover ile açılmasın */
    .main-nav .has-mega:hover .yetkinlik-mega {
        display: none;
    }

    /* Sadece .open class’ı verilince açılsın (JS accordion) */
    .main-nav .has-mega .yetkinlik-mega {
        position: static;
        border: none;
        min-width: 0;
        width: 100%;
        display: none;
    }

    .main-nav .has-mega.open .yetkinlik-mega {
        display: block;
    }

    .ym-left,
    .ym-right {
        min-width: 0;
    }

    .yetkinlik-mega {
        background: transparent;
    }
}

/* LOGO */
.logo-svg {
    height: 48px;
    width: auto;
}

/* ANA MENÜ (DESKTOP) — SADECE ANA <ul> FLEX OLSUN */
.main-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    display: inline-block;
    padding: 30px 0;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

/* ALTTA SARI ÇİZGİ (desktop) */
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: #ffd400;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

/* =========================================================
   SUB MENÜ — DESKTOP
========================================================= */

.has-sub {
    position: relative;
}

/* Kutu */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffd400;
    padding: 0;
    border: 1px solid rgba(0,0,0,0.18);
    z-index: 9999;
    display: none !important;
}

/* Satır */
.main-nav .sub-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.22);
}

.main-nav .sub-menu li:last-child {
    border-bottom: none;
}

/* Link */
.main-nav .sub-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
    color: #000;
}

/* Hover */
.main-nav .sub-menu li:hover > a {
    background: #22292e;
    color: #ecd62b;
}

/* Aktif */
.main-nav .sub-menu li.active > a {
    background: #22292e;
    color: #ecd62b;
}

/* Desktop’ta sadece hover’da aç */
.main-nav .has-sub:hover > .sub-menu {
    display: block !important;
}

/* ARAMA KUTUSU */
.search-box button {
    width: 42px;
    height: 42px;
    background: #ffd400;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    position: relative;
}

.search-box button::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #000;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.search-box button::after {
    content: "";
    width: 8px;
    height: 2px;
    background: #000;
    position: absolute;
    left: 57%;
    top: 60%;
    transform: rotate(45deg);
}

/* =========================================================
   SLIDER – SAĞDAN SOLA KAYAN GEÇİŞ
========================================================= */

.hero-slider {
    position: relative;
    min-height: 750px;
}

/* slider dış çerçeve */
.slider {
    position: relative;
    overflow: hidden;
}

/* bütün slaytları taşıyan şerit */
.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;   /* geçiş hızı ve efekti */
}

/* tek slayt */
.slide {
    position: relative;
    min-height: 750px;
    width: 100%;
    flex: 0 0 100%;
    color: #fff;
    background-size: cover;
    background-position: center;
}

/* video arka plan */
.slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* yazılar üstte kalsın */
.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 30%;
    padding-bottom: 90px;
}

/* karartma katmanı */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
    z-index: 2;
}

/* slider noktaları */
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #ffd400;
    border-color: #ffd400;
}

/* BUTONLAR */
.btn {
    display: inline-block;
    padding: 10px 26px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-top: 30px;
}

.btn-yellow {
    background: #ffd400;
    color: #111;
}

.btn-black {
    background: #111;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
}

/* =========================================================
   HAKKIMIZDA – SARI BAND
========================================================= */
.intro-section {
    padding: 40px 0;
}

.intro-yellow {
    background: #ffd400;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.intro-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.intro-container p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 900px;
}

/* =========================================================
   PERYODİK BAKIM HİZMETLERİ (3 SÜTUNLU GRID)
========================================================= */
.services-section {
    padding: 60px 0;
    background: #ffffff;
}

.services-section h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.services-section p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    background: #ffd400;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.service-card .service-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}
.service-card .service-image1 {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.service-caption {
    padding: 8px 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    background: #ffd400;
}

.service-caption span {
    font-weight: 400;
    font-size: 11px;
}

.service-caption.center {
    text-align: center;
}

/* 7/24 ARIZA KARTI */
.sc-724 {
    background: #e6e6e6;
}

.badge-724 {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: #111;
    color: #ffd400;
    font-size: 14px;
    font-weight: 700;
}

/* Hover zoom */
.service-card:hover .service-image {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* Kartlara background-image ataması */
.sc-1 .service-image { background-image: url('../img/service-01.jpg'); }
.sc-2 .service-image { background-image: url('../img/service-02.jpg'); }
.sc-3 .service-image { background-image: url('../img/service-03.jpg'); }
.sc-4 .service-image { background-image: url('../img/service-04.jpg'); }
.sc-5 .service-image1 { background-image: url('../img/service-05.jpg'); }
.sc-6 .service-image { background-image: url('../img/service-06.jpg'); }
.sc-7 .service-image { background-image: url('../img/service-07.jpg'); }
.sc-8 .service-image { background-image: url('../img/service-08.jpg'); }
.sc-9 .service-image { background-image: url('../img/service-09.jpg'); }
.sc-10 .service-image { background-image: url('../img/service-10.jpg'); }
.sc-11 .service-image { background-image: url('../img/service-11.jpg'); }
.sc-12 .service-image { background-image: url('../img/service-12.jpg'); }

/* =========================================================
   GÜNEŞ PANELİ BAKIMI ve TEMİZLİĞİ
========================================================= */
.solar-section {
    padding: 60px 0;
    background: #f2f2f2;
}

.solar-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.solar-section p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
}

.solar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.solar-card {
    background: #ffd400;
    text-align: left;
}

.solar-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

/* Güneş paneli görselleri */
.so-1 .solar-image { background-image: url('../img/solar-01.jpg'); }
.so-2 .solar-image { background-image: url('../img/solar-02.jpg'); }
.so-3 .solar-image { background-image: url('../img/solar-03.jpg'); }

.solar-caption {
    padding: 12px 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.solar-highlight {
    background: #ffd400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.solar-text {
    font-size: 14px;
    text-align: center;
}

.solar-text strong {
    display: block;
    font-size: 20px;
    margin-top: 6px;
}

/* =========================================================
   İÇ SAYFALAR – HERO (Hakkımızda, Misyon, Kalite, vb.)
========================================================= */

.page-hero {
    position: relative;
    height: 650px;          /* desktop için yükseklik */
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding-top: 120px;     /* header + top-bar’dan sonra boşluk */
    padding-bottom: 40px;
}
@media (max-width: 768px) {
    .page-hero {
        height: 280px;
        min-height: 280px;
        padding-top: 90px;   /* mobilde biraz daha az üst boşluk */
        padding-bottom: 30px;
    }
}


/* Her sayfanın kendi hero görseli */
.hero-hakkimizda { background-image: url('../img/hakkimizda-hero.jpg'); }
.hero-misyon     { background-image: url('../img/misyon-hero.jpg'); }
.hero-kalite     { background-image: url('../img/kalite-hero.jpg'); }
.hero-yetkinlik  { background-image: url('../img/yetkinlik-hero.jpg'); }
.hero-yuksek     { background-image: url('../img/yuksek-hero.jpg'); }
.hero-topraklama { background-image: url('../img/topraklama-hero.jpg'); }
.hero-trafo      { background-image: url('../img/trafo-hero.jpg'); }
.hero-paratoner  { background-image: url('../img/paratoner-hero.jpg'); }
.hero-elektrik   { background-image: url('../img/elektrik-hero.jpg'); }
.hero-kacak      { background-image: url('../img/kacak-hero.jpg'); }
.hero-termal     { background-image: url('../img/termal-hero.jpg'); }
.hero-kompanzasyon   { background-image: url('../img/kompanzasyon-hero.jpg'); }
.hero-yalitim    { background-image: url('../img/yalitim-hero.jpg'); }
.hero-harmonik   { background-image: url('../img/harmonik-hero.jpg'); }
.hero-yangin     { background-image: url('../img/yangin-hero.jpg'); }
.hero-gunes-paneli-bakimi   { background-image: url('../img/gunes-paneli-bakimi-hero.jpg'); }
.hero-gunes-paneli-temizligi   { background-image: url('../img/gunes-paneli-temizligi-hero.jpg'); }

/* Karartma katmanı */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}

/* İçerik alanı */
.hero-page-content {
    position: relative;
    z-index: 2;
}

/* Başlık & metin */
.hero-page-content h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.hero-page-content p {
    font-size: 18px;
    font-weight: 300;
    max-width: 860px;
}

/* =========================================================
   İÇERİK ALANLARI – TÜM İÇ SAYFALAR
========================================================= */
.page-content {
    padding: 50px 0 60px;
    background: #ffffff;
}

/* Ana içerik tipografisi (ana sayfa servis bölümüne uyumlu) */
.page-content .container,
.page-content .container.narrow {
    font-size: 18px;
}

.page-content .container.narrow {
    max-width: 900px; /* altta 1200 + p max 860 ile override edeceğiz */
}

.page-content p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
}

.page-content h2 {
    font-size: 24px;
    margin: 24px 0 10px;
}

.page-content ul {
    margin-left: 18px;
    margin-bottom: 18px;
}

.page-content li {
    margin-bottom: 6px;
}

/* SERTİFİKA GRIDİ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.cert-grid.large {
    grid-template-columns: repeat(3, 1fr);
}

.cert-placeholder {
    background: #f1f1f1;
    border: 1px solid #ddd;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666;
}

/* =========================================================
   FOOTER – BİREBİR TASARIM
========================================================= */

.contact-section {
    background: #ffd400;
    padding: 50px 0 60px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

/* Sol blok */
.contact-info h3 {
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 700;
}

.ci-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}

.ci-icon {
    width: 26px;
    opacity: 0.9;
}

.ci-row p {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

/* Social links */
.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #111;
    border-radius: 4px;
    font-size: 16px;
    color: #111;
    margin-right: 8px;
}

.social-links a:hover {
    background: #111;
    color: #ffd400;
}

/* Form alanı */
.contact-form {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 28px;
    border: 1px solid #111;
    padding: 14px 18px;
    font-size: 14px;
    background: #ffd400;
    outline: none;
}

textarea {
    border-radius: 20px;
}

/* Gönder butonu */
.footer-btn {
    margin-top: 10px;
    padding: 14px 40px;
    font-size: 14px;
    border-radius: 30px;
    letter-spacing: 2px;
}

/* Alt bar */
.copyright-bar {
    background: #000;
    color: #ffd400;
    text-align: center;
    padding: 14px 0;
    font-size: 13px;
}

/* GOOGLE MAP FOOTER SARI TEMA */
.contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    border: 1px solid #111;
    filter: contrast(1.15) saturate(1.1);
    background: #ffd400;
}

/* =========================================================
   HAKKIMIZDA SAYFASI – MAVİ ÜST BANT
========================================================= */
.about-hero-strip {
    background: #5e9ee3;
    color: #fff;
    padding: 60px 0;
}

.about-hero-strip .container {
    max-width: 1200px;
}

.about-hero-strip h1 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.about-hero-strip p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 1250px;
}

/* İçerik hizalaması (Hakkımızda vb.) */
.page-content .container.narrow {
    max-width: 1200px;   /* üstteki .container ile aynı olsun */
}

.page-content .container.narrow p {
    max-width: 1200px;    /* satır genişliğini sınırla */
}

/* =========================================================
   MİSYON SAYFASI – MAVİ ÜST BANT
========================================================= */
.mission-hero-strip {
    background: #3c96c5;   /* istediğin renk */
    color: #fff;
    padding: 60px 0;
}

.mission-hero-strip .container {
    max-width: 1200px;
}

.mission-hero-strip h1 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.mission-hero-strip p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 1200px;
    font-weight: 300;
}

/* =========================================================
   KALİTE POLİTİKAMIZ – KOYU ÜST BANT
========================================================= */
.quality-hero-strip {
    background: #080f16;
    color: #fff;
    padding: 60px 0;
}

.quality-hero-strip .container {
    max-width: 1200px;
}

.quality-hero-strip h1 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.quality-hero-strip p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 1200px;
}

/* =========================================================
   KALİTE SERTİFİKA GÖRSELLERİ (2 SÜTUN)
========================================================= */
.quality-certs {
    padding: 40px 0 60px;
    background: #ffffff;
}

.quality-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.quality-cert-img {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
}

.quality-cert-img img {
    width: 100%;
    display: block;
}

/* YETKİNLİK BELGELERİ GALERİSİ */
.certificates-gallery {
    padding: 60px 0 80px;
}

.cert-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütun */
    gap: 30px;
}

.cert-img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.cert-img img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
}

/* Hover zoom efekti */
.cert-img:hover img {
    transform: scale(1.05);
    opacity: 0.96;
}

/* Tablet & mobil için kırılımlar */
@media (max-width: 992px) {
    .cert-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cert-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE KIRILIMLAR – GENEL
========================================================= */
@media (max-width: 768px) {

    /* TOP BAR GİZLENSİN */
    .top-bar {
        display: none;
    }

    /* HEADER YERLEŞİMİ: SOLDA LOGO, SAĞDA HAMBURGER */
    .nav-container {
        height: 70px;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* MOBİLDE ARAMA BUTONU GÖRÜNMEYECEK */
    .search-box {
        display: none !important;
    }

    .nav-toggle {
        display: block;
        margin-left: auto; /* logodan sonra en sağa yaslansın */
    }

    /* Mobil ana menü paneli (overlay) */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 33, 71, 0.97);
        padding: 16px 20px 24px;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
        z-index: 35;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-header.nav-open .main-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav a {
        padding: 10px 0;
    }

    /* Mobilde alttaki sarı çizgiyi gizle */
    .main-nav a::after {
        display: none;
    }

    /* Desktop hover davranışını mobilde iptal et (JS ile açacağız) */
    .main-nav .has-sub:hover > .sub-menu {
        display: none !important;
    }

    /* Mobilde açık olan item’in oku aşağı baksın */
    .main-nav .has-sub.open > a::before {
        content: "˅";
    }

    /* Alt menüler mobilde panelin içinde, blok olarak açılsın */
    .main-nav .sub-menu {
        position: static;
        min-width: 100%;
        background: #ffd400;
        border: none;
        padding: 4px 0 8px;
        display: none !important;
    }

    /* Açık olan item’in alt menüsü gözüksün */
    .main-nav .has-sub.open > .sub-menu {
        display: block !important;
    }

    /* Mobilde sub menü linkleri biraz içerden başlasın */
    .main-nav .sub-menu a {
        padding: 6px 4px 6px 18px;
        font-size: 14px;
        color: #000;
    }

    .intro-container {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .intro-container h2 {
        font-size: 26px;
    }

    .intro-container p {
        font-size: 16px;
        max-width: 100%;
    }

    .intro-container .btn {
        margin-top: 10px;
        align-self: flex-start;
    }

    /* Gridler tek sütuna düşsün */
    .services-grid,
    .solar-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-hero-strip {
        padding: 40px 0;
    }

    .about-hero-strip h1 {
        font-size: 24px;
    }

    .about-hero-strip p {
        font-size: 16px;
    }

    .hero-page-content h1 {
        font-size: 26px;
    }

    .hero-page-content p {
        font-size: 16px;
    }

    .quality-cert-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================================
   YÜKSEK GERİLİM SAYFASI LAYOUT
========================================================= */

.yg-section {
    background: #ffffff;
    padding: 60px 0 80px;
}

.yg-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.yg-text {
    flex: 1;
}

.yg-text h2 {
    font-size: 28px;
    margin-bottom: 18px;
}

.yg-text p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
}

.yg-text ul {
    margin-left: 20px;
    margin-bottom: 24px;
}

.yg-text li {
    margin-bottom: 6px;
}

.yg-image {
    flex: 1;
}

.yg-image img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

/* Tablet / mobil kırılım */
@media (max-width: 992px) {
    .yg-inner {
        flex-direction: column;
    }
}

/* =========================================================
   TOPRAKLAMA
========================================================= */

.topraklama-section,
.topraklama-section h2,
.topraklama-section p {
    color: #fff !important;
}

.topraklama-detail p {
    margin-bottom: 22px;
    line-height: 1.7;
}

.topraklama-detail h2 {
    margin-top: 50px;
    margin-bottom: 15px;
}

/* Trafo Bakımı üst bölüm yazılarını beyaz yap */
.trafo-section,
.trafo-section h2,
.trafo-section p {
    color: #fff !important;
}

/* Alt bölüm paragrafları arasına boşluk ekle */
.trafo-detail p {
    margin-bottom: 22px;
    line-height: 1.7;
}

/* Başlık boşlukları */
.trafo-detail h2 {
    margin-top: 50px;
    margin-bottom: 15px;
}


/* =========================================================
   PARATONER
========================================================= */

/* GRID YAPISI */
.paratoner-gerekli {
    background: #dbe9f9;
    padding: 0px 0;
}

.paratoner-grid {
    display: grid;
    grid-template-columns: 1fr 420px;   /* Sol metin + sağ görsel */
    gap: 50px;
    align-items: stretch;
}

/* SOL METİN */
.paratoner-gerekli h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.paratoner-gerekli p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* SAĞ GÖRSEL */
.pg-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

@media (max-width: 768px) {
    .paratoner-grid {
        grid-template-columns: 1fr !important;
    }

    .pg-right {
        order: 2;
    }

    .pg-left {
        order: 1;
    }

    .pg-right img {
        height: auto;
        max-height: 330px;
        object-fit: cover;
        width: 100%;
    }
}

/* =========================================================
   ELEKTRİK TESİSATI – SARI FULL WIDTH KUTU
========================================================= */

.et-yellow {
    width: 100%;
    background: #ffdb24;
    padding: 50px 0;
}

.et-yellow-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.et-yellow-inner h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.et-yellow-inner p {
    font-size: 18px;
    font-weight: 300;
    color: #000;
    max-width: 1100px;
}

/* Mobil */
@media (max-width: 768px) {
    .et-yellow {
        padding: 35px 0;
    }
    .et-yellow-inner h2 {
        font-size: 22px;
    }
    .et-yellow-inner p {
        font-size: 16px;
    }
}

/* =========================================================
   GÜNEŞ PANELİ BAKIMI
========================================================= */

.gp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.gp-left img {
    width: 100%;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .gp-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GÜNEŞ PANELİ TEMİZLİĞİ
========================================================= */

/* GÜNEŞ PANELİ TEMİZLİĞİ – ORTA FULLWIDTH GÖRSEL */
.gunes-temizlik-orta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 50px; /* ÜST BOŞLUK */
    margin-bottom: 40px;
}

.gunes-temizlik-orta img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobilde yükseklik 300px olsun */
@media (max-width: 768px) {
    .gunes-temizlik-orta img {
        height: 300px;
        object-fit: cover;
    }
}

/* =========================================================
    İLETİŞİM sayfası genel 
========================================================= */
.contact-page {
    display: flex;
    gap: 40px;
}

.contact-left, .contact-right {
    flex: 1;
}

.contact-left h2,
.contact-right h2 {
    margin-bottom: 20px;
}

/* İKONLU SATIRLAR */
.ci-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}
.ci-icon {
    width: 22px;
    margin-right: 12px;
    margin-top: 4px;
}

/* SOSYAL LİNKLER */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #000111;
    color: #fff;
    margin-right: 8px;
}
.social-links a:hover {
    background: #000000;
}

/* FORM */
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.contact-form-box button {
    background: #1d71b8;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.contact-form-box button:hover {
    background: #0f5492;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-page {
        flex-direction: column;
    }
}

/* HERO MAP */
.contact-map-hero {
    position: relative;
    width: 100%;
    height: 650px;
}

@media (max-width: 768px) {
    .contact-map-hero {
        height: 300px;
    }
}

/* MAP HERO KARARTMA */
.contact-map-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0));
    z-index: 2;
    pointer-events: none;
}

/* MAP iframe üste çıkmasın */
.contact-map-hero iframe {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* =========================================================
   ANA SAYFA SLIDER – MOBİL + YETKİNLİK MENÜ RENKLERİ
========================================================= */
@media (max-width: 768px) {

    /* Mobil slider yüksekliği - 400px */
    .hero-slider,
    .slider,
    .slide {
        min-height: 400px !important;
        height: 400px !important;
    }

    .slide-video {
        height: 100% !important;
        max-height: 400px;
        object-fit: cover;
    }

    .hero-content {
        padding-top: 110px !important;
    }

    /* Slider metinleri mobilde küçülsün */
    .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .hero-content p {
        font-size: 15px !important;
    }

    .btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }

    /* YETKİNLİKLERİMİZ – mobil alt menü sarı ton */
    .yetkinlik-mega .ym-panel li a {
        background-color: #f2c200;
        color: #000;
    }

    .yetkinlik-mega .ym-panel li a:hover {
        background-color: #e3b000;
    }

    .yetkinlik-mega .ym-panel li {
        border-bottom: 1px solid rgba(0,0,0,0.25);
    }

    .yetkinlik-mega {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* YETKİNLİKLER – MOBİL AĞAÇ MENÜ */
.yetkinlik-mobile-submenu {
    display: none;           /* desktopta görünmesin */
}

/* Başlık satırları (1- Periyodik Bakım, 2- Güneş Paneli...) */
.yetkinlik-mobile-submenu .ym-mobile-title {
    background: #000;
    color: #ffd400;
    font-weight: 700;
    padding: 12px 16px;
    text-transform: uppercase;
}

/* Altındaki linkler */
.yetkinlik-mobile-submenu li a {
    display: block;
    padding: 10px 16px;
    background-color: #f2c200;  /* görseldeki tona yakın */
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    font-weight: 600;
}

/* Hover’da biraz koyulaşsın */
.yetkinlik-mobile-submenu li a:hover {
    background-color: #e3b000;
}

/* SADECE MOBİLDE GÖRÜNSÜN */
@media (max-width: 768px) {
    .yetkinlik-mega {
        display: none !important;          /* desktop mega menü gizlenir */
    }

    .yetkinlik-mobile-submenu {
        display: block;                    /* ağaç menü görünür */
        width: 100%;
        margin-top: 8px;
    }
}

/* ============================
   YETKİNLİKLER – MOBİL DÜZ LİSTE
============================ */

.yetkinlik-mobile {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.yetkinlik-mobile .ym-mobile-title {
    background: #000;
    color: #ffd400;
    font-weight: 700;
    padding: 12px 18px;
    font-size: 15px;
}

.yetkinlik-mobile li a {
    display: block;
    padding: 10px 18px;
    background: #f2c200;
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    font-weight: 600;
}

.yetkinlik-mobile li a:hover {
    background: #e3b000;
}

@media (max-width: 768px) {
    .has-yetkinlik .yetkinlik-mega {
        display: none !important;
    }

    .has-yetkinlik .yetkinlik-mobile {
        display: none;
    }

    .has-yetkinlik.open .yetkinlik-mobile {
        display: block;
    }
}
/* Kurumsal alt menüdeki beyaz yuvarlakları kaldır */
.main-nav .sub-menu,
.main-nav .sub-menu li {
    list-style: none;
}

