/* Askan Enerji - Özel Renk Paleti */
/* 
#1e2739 - Ana birinci renk (koyu mavi)
#48a638 - Ana ikinci renk (yeşil)
#f9f9f9 - Arka plan birinci
#ffffff - Arka plan ikinci
*/

:root{
	--primary-color				: #1e2739;
	--secondary-color			: #f9f9f9;
	--bg-color					: #f9f9f9;
	--text-color				: #555555;
	--accent-color				: #48a638;
	--accent-secondary-color	: #5bc248;
	--white-color				: #FFFFFF;
	--divider-color				: #1e273914;
	--dark-divider-color		: #FFFFFF1A;
}

/* Topbar */
.topbar {
    background: #1e2739;
}

/* Header */
.main-header .header-sticky {
    background: #fff;
}

.main-header .navbar-brand img {
    max-height: 60px;
}

/* Dark Sections */
.dark-section {
    background: #1e2739;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e2739 0%, #2a3a52 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 39, 57, 0.85);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Buttons */
.btn-default {
    background: #48a638 !important;
    border-color: #48a638 !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background: #1e2739 !important;
    border-color: #1e2739 !important;
    color: #fff !important;
}

.btn-default span {
    color: #fff !important;
}

/* Dark section buttons - hover beyaz arka plan */
.dark-section .btn-default:hover,
.hero .btn-default:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #1e2739 !important;
}

.dark-section .btn-default:hover span,
.hero .btn-default:hover span {
    color: #1e2739 !important;
}

/* Accent Colors */
.section-title h3 {
    color: #48a638;
}

/* Service Items */
.service-item:hover,
.service-item.active {
    background: #48a638;
}

.service-item .icon-box {
    background: rgba(72, 166, 56, 0.1);
}

.service-item .icon-box img {
    filter: hue-rotate(75deg) saturate(1.5);
}

/* Why Choose Progress Bars */
.skill-progress .count-bar {
    background: linear-gradient(90deg, #48a638 0%, #5bc248 100%);
}

/* Project Slider */
.our-projects {
    background: #1e2739;
}

/* Counter */
.why-choose-counter-box {
    background: #48a638;
}

/* Scrolling Ticker */
.our-scrolling-ticker {
    background: #48a638;
}

/* Awards Section */
.award-cta-box {
    background: linear-gradient(135deg, #48a638 0%, #3d8f2f 100%);
}

/* Pricing */
.pricing-item:hover .icon-box,
.pricing-item.active .icon-box {
    background: #48a638;
}

/* Footer */
.main-footer {
    background: #1e2739;
}

.newsletter-btn {
    background: #48a638;
}

.newsletter-btn:hover {
    background: #3d8f2f;
}

/* Links Hover */
a:hover {
    color: #48a638;
}

/* How Works Items */
.how-works-item:hover .icon-box {
    background: #48a638;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    color: #48a638;
}

/* Blog Tags */
.post-item-tags a {
    background: #48a638;
}

/* Referanslar Section */
.referanslar-section {
    background: #fff;
    padding: 80px 0;
}

.referanslar-section .company-logo {
    padding: 20px 30px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.referanslar-section .company-logo:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Video Section */
.video-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 39, 57, 0.7);
    z-index: 1;
}

.video-section .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* Stats Counter */
.stats-counter {
    background: #1e2739;
    padding: 60px 0;
}

.stats-counter .counter-item {
    text-align: center;
    color: #fff;
}

.stats-counter .counter-item h2 {
    font-size: 48px;
    font-weight: 700;
    color: #48a638;
    margin-bottom: 10px;
}

.stats-counter .counter-item p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e2739 0%, #2a3a52 100%);
    padding: 120px 0 80px;
}

/* GTranslate Float Widget Positioning */
.gtranslate_wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

/* ==================== */
/* HEADER MENU FIX */
/* ==================== */

/* Menü taşmasını önle */
.main-header .nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.main-header .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.main-header .nav-item {
    white-space: nowrap;
}

.main-header .nav-link {
    padding: 10px 12px !important;
    font-size: 14px;
}

.main-header .header-btn {
    margin-left: 15px;
}

.main-header .header-btn .btn-default {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
    width: 120px;
}

/* Topbar düzeltmeleri */
.topbar-social-links ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-social-links ul li a {
    color: #fff;
    font-size: 14px;
}

/* GTranslate topbar pozisyon */
.gtranslate_wrapper {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex;
    align-items: center;
}

/* ==================== */
/* YILDIZ ICON KALDIR */
/* ==================== */

/* Section title yıldız iconunu gizle */
.section-title h3::before,
.section-title h3::after,
.section-title h2::before,
.section-title h2::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Section title h3 sol icon/image kaldır */
.section-title h3 {
    padding-left: 0 !important;
    background-image: none !important;
    background: none !important;
}

.section-title h3 img,
.section-title h3 svg {
    display: none !important;
}

/* Footer links asterisk kaldır */
.footer-links ul li {
    background-image: none !important;
    padding-left: 0 !important;
}

.footer-links ul li::before {
    content: "›";
    margin-right: 8px;
    color: #48a638;
    font-weight: bold;
}

/* Scrolling ticker yıldız iconlarını değiştir */
.scrolling-content span img {
    display: none !important;
}

.scrolling-content span {
    display: inline-flex;
    align-items: center;
    gap: 30px;
}

.scrolling-content span::before {
    content: "⚡";
    font-size: 18px;
}

/* About us title dekorasyon kaldır */
.about-us-image-title h2::before,
.about-us-image-title h2::after {
    display: none !important;
}

/* Tüm eski tema yıldız/icon artıklarını kaldır */
.icon-asterisk,
[class*="asterisk"] {
    display: none !important;
}

/* ==================== */
/* NEWSLETTER & FOOTER */
/* ==================== */

.newsletter-btn {
    background: #48a638;
    color: #fff;
}

.newsletter-btn:hover {
    background: #fff;
    color: #48a638 !important;
}

/* ==================== */
/* GENEL DÜZELTMELER */
/* ==================== */

/* Service item hover text */
.service-item:hover h2 a,
.service-item:hover p,
.service-item.active h2 a,
.service-item.active p {
    color: #fff;
}

/* Project item content */
.project-item-content h2 a {
    color: #fff;
}

.project-item-content ul li {
    color: rgba(255,255,255,0.7);
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */

@media (max-width: 1399px) {
    .main-header .nav-link {
        padding: 10px 8px !important;
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .main-header .nav-link {
        padding: 10px 6px !important;
        font-size: 12px;
    }
    
    .main-header .header-btn .btn-default {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .main-header .navbar-brand img {
        max-height: 45px;
    }
    
    .main-header .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-header .nav-item {
        width: 100%;
    }
    
    .main-header .nav-link {
        padding: 12px 15px !important;
        font-size: 14px;
    }
    
    .topbar-social-links {
        justify-content: center !important;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .topbar-contact-info ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .topbar-social-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==================================================== */
/* FONT AWESOME 7 ALIAS                                  */
/* Tema CSS'i '\f058' gibi ikonları "Font Awesome 7 Free" */
/* ile çağırıyor, sayfada ise CDN'den FA 6 yükleniyordu.  */
/* Aşağıdaki alias olmadan bu ikonlar patlak kare çıkıyor.*/
/* ==================================================== */

@font-face {
    font-family: 'Font Awesome 7 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 7 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 7 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}

/* ==================================================== */
/* HEADER SUBMENU - GLASSMORPHISM                        */
/* ==================================================== */

.main-menu ul ul {
    background: rgba(30, 39, 57, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(8, 12, 22, 0.35);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 10px;
}

/* Glass panelin üstüne ince ışık çizgisi */
.main-menu ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.main-menu ul ul li a {
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 20px !important;
    border-radius: 8px;
    margin: 2px 6px;
}

.main-menu ul ul li a:hover,
.main-menu ul ul li a:focus {
    color: var(--white-color);
    background: rgba(72, 166, 56, 0.28);
    padding: 10px 20px 10px 24px !important;
}

/* Sticky (koyu) header altında da aynı cam efekti korunur */
header.main-header .header-sticky.active .main-menu ul ul {
    background: rgba(30, 39, 57, 0.7);
}

/* Mobil menüde blur yerine düz koyu zemin */
@media (max-width: 991px) {
    .main-menu ul ul {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(30, 39, 57, 0.96);
    }
}

/* ==================================================== */
/* IKONLAR - eski tema SVG'leri yerine Font Awesome      */
/* ==================================================== */

/* Misyon / Vizyon kutuları */
.about-us-item-header .icon-box {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91, 194, 72, 0.15) 0%, rgba(72, 166, 56, 0.15) 100%);
    transition: all 0.4s ease-in-out;
}

.about-us-item-header .icon-box i {
    font-size: 22px;
    line-height: 1;
    color: #48a638;
    transition: all 0.4s ease-in-out;
}

.about-us-item:hover .about-us-item-header .icon-box {
    background: linear-gradient(135deg, #5bc248 0%, #48a638 100%);
}

.about-us-item:hover .about-us-item-header .icon-box i {
    color: #fff;
    transform: rotateY(180deg);
}

/* ==================================================== */
/* HIZMET KARTLARI - görsel her zaman açık, ikonsuz       */
/* ==================================================== */

.service-item {
    background: #1e2739;
    border-color: rgba(255, 255, 255, 0.12);
}

/* Görseli kapatan beyaz perde kaldırıldı */
.service-item::before {
    display: none;
}

.service-item .service-item-image {
    opacity: 1;
}

/* Yazıların okunması için koyu degrade; hover'da hafifçe açılır */
.service-item .service-item-image::after {
    background: linear-gradient(180deg, rgba(30, 39, 57, 0.78) 0%, rgba(30, 39, 57, 0.62) 45%, rgba(30, 39, 57, 0.9) 100%);
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.service-item.active .service-item-image::after,
.service-item:hover .service-item-image::after {
    background: linear-gradient(180deg, rgba(30, 39, 57, 0.7) 0%, rgba(34, 88, 27, 0.7) 50%, rgba(45, 118, 35, 0.9) 100%);
}

.service-item .service-item-image img {
    transform: scale(1);
    transition: transform 0.6s ease-in-out;
}

.service-item:hover .service-item-image img {
    transform: scale(1.06);
}

/* İkon kaldırıldığı için içerik alta yaslanır */
.service-item .service-item-body {
    justify-content: flex-end;
}

.service-item .service-item-content h2,
.service-item .service-item-content h2 a,
.service-item .service-item-content p {
    color: #fff;
    text-shadow: 0 1px 12px rgba(12, 18, 30, 0.55);
}

.service-item .service-item-content p {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hizmet kartı ok butonu */
.service-item .service-item-btn a {
    border-color: rgba(255, 255, 255, 0.35);
}

.service-item-btn a i {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #fff;
    transform: rotate(-45deg);
    transition: all 0.4s ease-in-out;
}

.service-item .service-item-btn a:hover i {
    transform: rotate(0deg);
}

/* Hakkımızda alt bilgi telefon rozeti */
.section-footer-text.section-satisfy-img .satisfy-client-image.add-more i {
    font-size: 13px;
    line-height: 1;
    color: #fff;
}

/* ==================================================== */
/* PARTICLE KATMANI                                      */
/* ==================================================== */

.has-particles {
    position: relative;
    overflow: hidden;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.has-particles > .container,
.has-particles > .container-fluid {
    position: relative;
    z-index: 2;
}

.hero .particles-canvas {
    z-index: 2;
}

.hero .container {
    z-index: 3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 39, 57, 0.8);
    z-index: 1;
}

@media (max-width: 767px) {
    .particles-canvas:not(.preloader-particles) {
        display: none;
    }
}

/* ==================================================== */
/* PRELOADER - particle + animasyonlu kapanış            */
/* ==================================================== */

.preloader {
    background: transparent;
    overflow: hidden;
    /* GTranslate bayrakları gibi fixed widget'lar loader'ın üstüne çıkmasın */
    z-index: 99999;
}

/* Zemin iki perdeye bölündü; çıkışta yukarı/aşağı açılıyor */
.preloader-curtain {
    position: absolute;
    left: 0;
    right: 0;
    height: 50.5%;
    background: #1e2739;
    z-index: 1;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1) 0.25s;
}

.preloader-curtain-top {
    top: 0;
}

.preloader-curtain-bottom {
    bottom: 0;
}

.preloader .preloader-particles {
    z-index: 2;
    transition: opacity 0.5s ease-out;
}

.preloader .loading-container {
    position: relative;
    z-index: 3;
    margin: 0;
}

#loading-icon img {
    animation: askan-logo-pulse 2.2s ease-in-out infinite;
}

@keyframes askan-logo-pulse {
    0%, 100% { opacity: 0.75; transform: scale(0.98); }
    50%      { opacity: 1;    transform: scale(1.02); }
}

/* Logonun altındaki ilerleme çizgisi */
.preloader-progress {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 220px;
    height: 2px;
    margin-top: 90px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    overflow: hidden;
    transition: opacity 0.4s ease-out;
}

.preloader-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #5bc248, #ffffff, transparent);
    animation: askan-progress-sweep 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes askan-progress-sweep {
    0%   { left: -40%; }
    100% { left: 100%; }
}

/* Çıkış */
.preloader.is-exiting .loading-container {
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 0.45s ease-out, transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.preloader.is-exiting .preloader-progress {
    opacity: 0;
}

.preloader.is-exiting .preloader-particles {
    opacity: 0;
    transition: opacity 0.7s ease-out 0.2s;
}

.preloader.is-exiting .preloader-curtain-top {
    transform: translateY(-100%);
}

.preloader.is-exiting .preloader-curtain-bottom {
    transform: translateY(100%);
}

/* Perdeler açılırken hero içeriği yumuşakça belirsin.
   Sticky header'ı bozmamak için transform kalıcı bırakılmıyor (fill-mode yok). */
body.preloader-done .hero-content {
    animation: askan-reveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

@keyframes askan-reveal {
    0%   { opacity: 0; transform: translateY(28px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-curtain,
    .preloader .preloader-particles,
    #loading-icon img,
    .preloader-progress span,
    body.preloader-done .hero-content {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .preloader-progress {
        width: 160px;
        margin-top: 70px;
    }
}

/* ==================================================== */
/* MOBİL HEADER                                          */
/* Topbar gizlenir, dil bayrakları logo ile hamburger     */
/* menüsünün arasına hizalanır (JS: header-lang.js).      */
/* ==================================================== */

.mobile-lang-slot {
    display: none;
}

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

    .navbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar .navbar-brand {
        margin-right: auto;
    }

    .mobile-lang-slot {
        display: flex;
        align-items: center;
        margin: 0 14px 0 0;
    }

    .mobile-lang-slot .gtranslate_wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 !important;
        position: static !important;
    }

    .mobile-lang-slot .gtranslate_wrapper a {
        display: inline-flex;
        align-items: center;
        line-height: 0;
    }

    .mobile-lang-slot .gtranslate_wrapper img {
        width: 22px;
        height: 22px;
        display: block;
    }

    .navbar-toggle {
        display: flex;
        align-items: center;
        margin: 0;
    }
}
