/* CSS Variables (For Themes) */
:root {
    /* Chrome Compatibility */
    --webkit-font-smoothing: antialiased;
    --moz-osx-font-smoothing: grayscale;
    
    /* Light Mode Defaults */
    --bg-body: #fafafa;
    --header-bg: #cccccc; /* Aydınlık mod header arka planı */
    --text-color: #000000;
    --text-color-light: #000000;
    --accent-color: #D3BA34;
    --accent-color-rgb: 160, 82, 45;
    
    --card-bg-start: rgba(34, 39, 70, 0.7);
    --card-bg-end: rgba(34, 39, 70, 0.7); 

    --overlay-bg: rgba(240, 240, 240, 0.7); 
    --section-title-bg: rgba(240, 245, 250, 0.95);
    
    --petrol-overlay-bg: rgba(175, 200, 201, 0.367);
    --petrol-desc-bg-start: rgba(175, 200, 201, 0.496);
    --petrol-desc-bg-end: rgba(175, 200, 201, 0.593);
    --petrol-desc-hover-bg-start: rgba(175, 200, 201, 0.496);
    --petrol-desc-hover-bg-end: rgba(210, 215, 220, 0.95);

    --product-wave-fill: #25408f; 
    --about-us-overlay: rgba(139, 187, 235, 0.373);
    --about-us-card-bg: rgba(255, 255, 255, 0.422);
    --contact-section-bg: rgb(189, 207, 225);
    --contact-info-bg: rgba(210, 220, 230, 0.9);
    --input-text-color: #ffffff;
    --input-bg: #fff;
    
    /* Home section hero */
    --hero-gradient-start: #9FB9E2; 
    --hero-gradient-end: #9FB9E2; 
    --hero-text-color: #fff;
    --hero-text-shadow: 2px 2px 10px rgba(0,0,0,0.9);

    --footer-bg: #e0e0e0;
    --footer-text-color: #555;
    --nav-item-bg: #ffffff; 
    --nav-item-hover-bg: rgba(255, 255, 255, 0.8);
    --nav-text-color: #000000;
    --header-glass-bg: rgba(204, 204, 204, 0.9); /* Aydınlık mod header glassmorphism */
    
    /* Petrol section diagonal text specific styles */
    --petrol-text-transform: rotateZ(-3deg); 
    --petrol-text-shadow: 1px 1px 3px rgba(0,0,0,0.1); 
    --petrol-text-color: var(--text-color);

    /* Light Mode Specific Overrides */
    --home-highlight-color: linear-gradient(135deg, #ffcc00, #ff9900); 
    --contact-panel-title-color: #FFFFFF; 
    --send-button-text-color: #000000; 
    --send-button-bg-color: linear-gradient(135deg, #ffcc00, #ff9900); 
    --theme-toggle-bg: transparent; 
    --theme-toggle-text-color: #FFFFFF; 
    --whatsapp-bubble-bg: rgba(128, 128, 128, 0.3); 
    --whatsapp-bubble-hover-bg: rgba(76, 175, 80, 0.5);
    
    /* Logo Colors (Light Mode) */
    --logo-eym-color: #dc2626;
    --logo-teknik-color: #000000; 
    
    /* Card Link Text Styles (Light Mode) */
    --card-link-text-color: var(--accent-color);
    --card-link-text-hover-color: linear-gradient(135deg, #ffcc00, #ff9900)
}

/* Dark Mode Styles */
body[data-theme="dark"] {
    --bg-body: #2c2c2c;
    --header-bg: #343a40;
    --text-color: #fff;
    --text-color-light: #f0f0f0;
    --accent-color: linear-gradient(135deg, #ffcc00, #ff9900);
    --accent-color-rgb: 255, 204, 0;
    
    --card-bg-start: rgba(34, 39, 70, 0.7); 
    --card-bg-end: rgba(26, 26, 46, 0.7); 

    --overlay-bg: rgba(30, 30, 30, 0.7); 
    --section-title-bg: rgba(26, 26, 46, 0.7);
    
    --petrol-overlay-bg: rgba(175, 200, 201, 0.367);
    --petrol-desc-bg-start: rgba(175, 200, 201, 0.496);
    --petrol-desc-bg-end: rgba(175, 200, 201, 0.593);
    --petrol-desc-hover-bg-start: rgba(175, 200, 201, 0.496);
    --petrol-desc-hover-bg-end: rgba(210, 215, 220, 0.95);

    --product-wave-fill: #25408f; 
    --about-us-overlay: rgba(0,0,0,0.5);
    --about-us-card-bg: rgba(255,255,255,0.08);
    --contact-section-bg: rgb(59, 59, 59);
    --contact-info-bg: #7f7f7f;
    --input-text-color: #000;
    --input-bg: #fff;

    /* Home section hero */
    --hero-gradient-start: #E3F2FD; 
    --hero-gradient-end: #BBDEFB;
    --hero-text-color: var(--text-color);
    --hero-text-shadow: 2px 2px 10px rgba(0,0,0,0.8); 

    --footer-bg: #1a1a1a;
    --footer-text-color: linear-gradient(135deg, #ffcc00, #ff9900);
    --nav-item-bg: rgba(255, 255, 255, 0.05);
    --nav-item-hover-bg: rgba(70, 130, 180, 0.4);
    --nav-text-color: var(--text-color); /* Karanlık modda beyaz yazı */
    --header-glass-bg: rgba(0, 0, 0, 0.8); 

    /* Petrol section diagonal text specific styles */
    --petrol-text-transform: rotateZ(3deg);
    --petrol-text-shadow: 1px 1px 5px rgba(0,0,0,0.8); 
    --petrol-text-color: var(--text-color);

    /* Dark Mode Specific Overrides (revert to default dark mode colors) */
    --home-highlight-color: var(--accent-color); 
    --contact-panel-title-color: var(--text-color); 
    --send-button-text-color: #000; 
    --send-button-bg-color: linear-gradient(135deg, #ffcc00, #ff9900); 
    --theme-toggle-bg: transparent; 
    --theme-toggle-text-color: linear-gradient(135deg, #ffcc00, #ff9900);
    --whatsapp-bubble-bg: rgba(128, 128, 128, 0.3); 
    --whatsapp-bubble-hover-bg:rgba(76, 175, 80, 0.5) ;

    /* Logo Colors (Dark Mode) */
    --logo-eym-color: #dc2626; 
    --logo-teknik-color: #ffffff;

    /* Card Link Text Styles (Dark Mode) */
     --card-link-text-color: var(--accent-color);
    --card-link-text-hover-color: linear-gradient();
}

/* Chrome Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

/* General Style Settings */
body {
    margin: 0;
    padding: 0;
    padding-top: 0; 
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    transition: background-color 0.3s ease;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Chrome rendering optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Modern Header Section */
.modern-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow-x: hidden;
    box-sizing: border-box;
    /* Chrome compatibility fixes */
    will-change: backdrop-filter;
    contain: layout style paint;
}

/* Chrome fallback backgrounds for themes */
body[data-theme="light"] .modern-header {
    background-color: rgba(204, 204, 204, 0.95);
}

body[data-theme="dark"] .modern-header {
    background-color: rgba(0, 0, 0, 0.9);
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    /* Chrome flexbox fix */
    -webkit-box-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    /* Chrome positioning fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.main-nav {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: auto;
    margin-right: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-link:hover {
    background: var(--nav-item-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Karanlık modda logo arkaplanını şeffaflaştır */
body[data-theme="dark"] .logo-link {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Karanlık modda nav itemlerin arkaplanını da şeffaflaştır */
body[data-theme="dark"] .nav-item {
    background: #000000;
    color: var(--text-color);
}

body[data-theme="dark"] .nav-item.active {
    background: #000000;
    color: var(--text-color);
}

body[data-theme="dark"] .language-button {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body[data-theme="dark"] .language-button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 8px;
}

.logo-eym {
    color: var(--logo-eym-color);
}

.logo-teknik {
    color: var(--logo-teknik-color);
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Chrome optimization */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, background;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    background: var(--nav-item-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-item.active {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    color: #000;
}

.nav-icon {
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.nav-text {
    font-family: 'Inter', sans-serif;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Google Translate Widget */
#google_translate_element {
    display: block !important;
    position: relative;
}

.goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    position: relative;
    display: block !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.goog-te-menu-value {
    margin: 0 !important;
    padding: 0 !important;
}

.goog-te-menu-value span {
    color: transparent !important;
}

.goog-te-menu-value span:nth-child(3),
.goog-te-menu-value span:nth-child(5) {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    display: inline-block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    padding-left: 42px !important;
    border-radius: 10px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='0' y='20' style='font-size:20px'%3E🌐%3C/text%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 24px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    min-width: 140px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.goog-te-gadget .goog-te-combo:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

.goog-te-gadget .goog-te-combo:focus {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Dropdown menüsünü gizle - sadece tıklamada göster */
.goog-te-gadget .goog-te-combo option {
    display: none !important;
}

.goog-te-gadget .goog-te-combo:focus option,
.goog-te-gadget .goog-te-combo:active option {
    display: block !important;
}

/* Dil menüsü iframe'ini gizle */
.goog-te-menu-frame {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    position: relative;
    z-index: 1;
}

.skiptranslate {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Google logo ve simgelerini gizle */
.goog-logo-link,
.goog-te-gadget img,
.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Google Çeviri değerlendirme balonunu gizle */
.goog-te-balloon-frame,
.goog-te-menu-frame + div,
.goog-te-menu-frame + div + div,
.goog-te-toast,
#goog-gt-tt,
.goog-tooltip,
#goog-tooltip,
.goog-te-balloon-frame div,
.goog-te-balloon-frame a,
.goog-te-gadget span.skiptranslate,
.goog-te-menu-frame + div span {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body > .goog-te-banner-frame,
body > #goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--hero-text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: none;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-icon {
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
    font-weight: bold;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hero-text-color);
    font-weight: 600;
    background: #A0A0A0;
    padding: 8px 12px;
    border-radius: 12px;
}

.mobile-logo img {
    height: 40px;
}

.close-btn {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.close-line {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    position: absolute;
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: var(--hero-text-color);
    text-decoration: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.1em;
    font-weight: 500;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    background: rgba(255, 204, 0, 0.15);
    border-color: rgba(255, 204, 0, 0.3);
    transform: translateX(10px);
}

.mobile-nav-icon {
    font-size: 1.3em;
    width: 30px;
    text-align: center;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 204, 0, 0.15);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 12px;
    color: #FFD600;
    text-decoration: none;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-call-btn:hover {
    background: rgba(255, 204, 0, 0.25);
}

/* Header Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        gap: 6px;
    }
    
    .nav-item {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-icon {
        font-size: 1.2em;
    }
    
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .modern-header {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        width: 100vw;
        left: 0;
        right: 0;
    }
    
    .header-container {
        padding: 12px 4%;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    .logo-container {
        position: static;
        left: auto;
    }
    
    .main-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .theme-btn .theme-text,
    .quick-call-btn .call-text {
        display: none;
    }
    
    .logo-teknik {
        display: none;
    }
    
    .mobile-menu.open {
        display: flex;
    }
}

@media (max-width: 480px) {
    .modern-header {
        width: 100vw;
    }
    
    .header-container {
        padding: 10px 3%;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    .logo-container {
        position: static;
        left: auto;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .theme-btn {
        padding: 8px 10px;
    }
}

/* Theme Toggle Button */
#theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: transparent;
    color: var(--theme-toggle-text-color);
    border: none;
    padding: 0;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
    /* Chrome optimization */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

#theme-toggle:hover {
    transform: translateY(-2px);
}
#theme-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #desktop-nav {
        display: none;
    }
    #hamburger-menu {
        display: block;
    }
    #theme-toggle {
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 14px;
    }
    #theme-toggle .icon {
        font-size: 20px;
    }
    #theme-toggle .text {
        display: none;
    }


    .petrol-section .title-box h2 {
        font-size: 2rem;
    }
    .petrol-section .desc-box p {
        font-size: 1.2rem;
    }
    #about-us .content-container {
        flex-direction: column;
    }
    #about-us .text-card {
        order: 2;
    }
    #about-us .title-card {
        order: 1;
        margin-bottom: 20px;
    }
    #services .service-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #services .service-card {
        max-width: 100%;
    }
    #contact .contact-info-container {
        flex-direction: column;
    }
    #contact .contact-block {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    #contact .contact-block h3.hours {
        justify-content: center;
    }
    .whatsapp-bubble {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        gap: 8px;
    }
    .wa-icon {
        width: 28px;
        height: 28px;
    }
    .wa-text {
        font-size: 14px;
    }

    /* Lubrication Page Specific Adjustments (if needed) */
    .lubrication-page-main .section-block.two-col {
        flex-direction: column;
    }
    .lubrication-page-main .section-block.two-col.reverse-cols {
        flex-direction: column-reverse;
    }
    .lubrication-page-main .section-block .image-content {
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    #home h2 {
        font-size: 1.8em;
    }
    #home p {
        font-size: 1em;
    }
    .contact-panel {
        padding: 15px;
    }
    .contact-panel h3 {
        font-size: 1.2em;
    }

}

/* Home Section */
#home {
    padding: 0;
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(15, 15, 25, 0.7), rgba(25, 25, 45, 0.6)),
        url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, rgba(255, 200, 50, 1), transparent),
        radial-gradient(3px 3px at 60% 70%, rgba(255, 150, 30, 0.9), transparent),
        radial-gradient(4px 4px at 50% 50%, rgba(255, 180, 40, 1), transparent),
        radial-gradient(3px 3px at 80% 10%, rgba(255, 220, 60, 0.8), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(255, 160, 20, 0.9), transparent),
        radial-gradient(3px 3px at 90% 60%, rgba(255, 190, 45, 1), transparent),
        radial-gradient(2px 2px at 25% 60%, rgba(255, 210, 55, 0.8), transparent),
        radial-gradient(4px 4px at 70% 25%, rgba(255, 170, 35, 1), transparent),
        radial-gradient(3px 3px at 35% 85%, rgba(255, 195, 50, 1), transparent),
        radial-gradient(2px 2px at 65% 15%, rgba(255, 225, 65, 0.9), transparent),
        radial-gradient(4px 4px at 15% 40%, rgba(255, 155, 25, 1), transparent),
        radial-gradient(3px 3px at 85% 75%, rgba(255, 185, 40, 1), transparent),
        radial-gradient(2px 2px at 45% 95%, rgba(255, 205, 55, 0.8), transparent),
        radial-gradient(3px 3px at 95% 25%, rgba(255, 175, 35, 0.9), transparent),
        radial-gradient(4px 4px at 5% 55%, rgba(255, 215, 60, 1), transparent),
        radial-gradient(2px 2px at 55% 35%, rgba(255, 165, 30, 0.9), transparent),
        radial-gradient(3px 3px at 32% 12%, rgba(255, 255, 200, 1), transparent),
        radial-gradient(2px 2px at 72% 92%, rgba(255, 210, 55, 0.9), transparent),
        radial-gradient(4px 4px at 8% 68%, rgba(255, 175, 35, 1), transparent),
        radial-gradient(3px 3px at 98% 38%, rgba(255, 200, 50, 1), transparent),
        radial-gradient(2px 2px at 42% 58%, rgba(255, 255, 180, 1), transparent),
        radial-gradient(3px 3px at 18% 22%, rgba(255, 220, 60, 0.9), transparent),
        radial-gradient(4px 4px at 88% 48%, rgba(255, 255, 100, 1), transparent),
        radial-gradient(2px 2px at 52% 78%, rgba(255, 195, 50, 1), transparent),
        radial-gradient(3px 3px at 28% 42%, rgba(255, 170, 35, 0.9), transparent),
        radial-gradient(2px 2px at 78% 18%, rgba(255, 225, 65, 0.8), transparent),
        radial-gradient(4px 4px at 38% 68%, rgba(255, 255, 120, 1), transparent),
        radial-gradient(3px 3px at 62% 28%, rgba(255, 205, 55, 1), transparent),
        radial-gradient(2px 2px at 12% 82%, rgba(255, 255, 190, 1), transparent),
        radial-gradient(3px 3px at 92% 52%, rgba(255, 215, 60, 1), transparent),
        radial-gradient(2px 2px at 47% 67%, rgba(255, 190, 45, 1), transparent),
        radial-gradient(3px 3px at 67% 37%, rgba(255, 255, 210, 1), transparent),
        radial-gradient(4px 4px at 27% 7%, rgba(255, 255, 110, 1), transparent),
        radial-gradient(2px 2px at 97% 77%, rgba(255, 200, 50, 1), transparent),
        radial-gradient(3px 3px at 7% 27%, rgba(255, 180, 40, 0.8), transparent),
        radial-gradient(3px 3px at 44% 44%, rgba(255, 255, 195, 1), transparent),
        radial-gradient(4px 4px at 81% 61%, rgba(255, 210, 58, 1), transparent),
        radial-gradient(2px 2px at 14% 84%, rgba(255, 175, 38, 0.9), transparent),
        radial-gradient(3px 3px at 34% 54%, rgba(255, 165, 32, 1), transparent),
        radial-gradient(2px 2px at 74% 64%, rgba(255, 215, 62, 0.9), transparent),
        radial-gradient(4px 4px at 24% 74%, rgba(255, 185, 42, 1), transparent),
        radial-gradient(3px 3px at 54% 24%, rgba(255, 205, 52, 0.8), transparent),
        radial-gradient(2px 2px at 84% 34%, rgba(255, 175, 38, 1), transparent),
        radial-gradient(3px 3px at 4% 14%, rgba(255, 255, 130, 1), transparent),
        radial-gradient(4px 4px at 64% 94%, rgba(255, 195, 48, 1), transparent),
        radial-gradient(2px 2px at 94% 4%, rgba(255, 155, 28, 1), transparent),
        radial-gradient(3px 3px at 39% 49%, rgba(255, 255, 140, 1), transparent),
        radial-gradient(2px 2px at 69% 89%, rgba(255, 190, 46, 1), transparent),
        radial-gradient(3px 3px at 11% 51%, rgba(255, 200, 50, 0.9), transparent),
        radial-gradient(4px 4px at 91% 31%, rgba(255, 255, 115, 1), transparent),
        radial-gradient(3px 3px at 21% 71%, rgba(255, 210, 56, 0.8), transparent),
        radial-gradient(2px 2px at 71% 11%, rgba(255, 165, 34, 1), transparent),
        radial-gradient(3px 3px at 31% 91%, rgba(255, 225, 66, 0.9), transparent),
        radial-gradient(4px 4px at 51% 41%, rgba(255, 255, 125, 1), transparent),
        radial-gradient(3px 3px at 61% 81%, rgba(255, 175, 38, 0.9), transparent),
        radial-gradient(2px 2px at 41% 21%, rgba(255, 215, 60, 1), transparent),
        radial-gradient(3px 3px at 86% 56%, rgba(255, 185, 44, 0.8), transparent),
        radial-gradient(2px 2px at 16% 66%, rgba(255, 205, 54, 1), transparent),
        radial-gradient(4px 4px at 55% 35%, rgba(255, 255, 135, 1), transparent),
        radial-gradient(3px 3px at 25% 95%, rgba(255, 200, 52, 1), transparent),
        radial-gradient(2px 2px at 95% 25%, rgba(255, 180, 45, 1), transparent),
        radial-gradient(4px 4px at 45% 15%, rgba(255, 255, 145, 1), transparent),
        radial-gradient(3px 3px at 75% 75%, rgba(255, 190, 48, 1), transparent),
        radial-gradient(3px 3px at 36% 86%, rgba(255, 255, 150, 1), transparent),
        radial-gradient(2px 2px at 66% 6%, rgba(255, 195, 52, 1), transparent),
        radial-gradient(4px 4px at 46% 46%, rgba(255, 255, 155, 1), transparent),
        radial-gradient(3px 3px at 96% 96%, rgba(255, 210, 58, 1), transparent),
        radial-gradient(2px 2px at 26% 56%, rgba(255, 185, 45, 1), transparent),
        radial-gradient(3px 3px at 56% 16%, rgba(255, 255, 160, 1), transparent),
        radial-gradient(4px 4px at 76% 36%, rgba(255, 200, 54, 1), transparent),
        radial-gradient(2px 2px at 6% 76%, rgba(255, 220, 62, 1), transparent),
        radial-gradient(3px 3px at 85% 85%, rgba(255, 255, 165, 1), transparent),
        radial-gradient(4px 4px at 15% 55%, rgba(255, 190, 50, 1), transparent),
        radial-gradient(3px 3px at 90% 20%, rgba(255, 255, 140, 1), transparent),
        radial-gradient(2px 2px at 82% 60%, rgba(255, 205, 58, 1), transparent),
        radial-gradient(4px 4px at 93% 45%, rgba(255, 255, 150, 1), transparent),
        radial-gradient(3px 3px at 87% 10%, rgba(255, 195, 52, 1), transparent),
        radial-gradient(2px 2px at 77% 88%, rgba(255, 220, 65, 1), transparent),
        radial-gradient(4px 4px at 99% 72%, rgba(255, 255, 175, 1), transparent),
        radial-gradient(3px 3px at 91% 55%, rgba(255, 210, 60, 1), transparent),
        radial-gradient(2px 2px at 79% 33%, rgba(255, 185, 48, 1), transparent);
    background-size: 200% 200%;
    animation: sparksFloat 8s ease-in-out infinite;
    pointer-events: none;
    opacity: 1;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 40% 20%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(3px 3px at 75% 80%, rgba(255, 255, 150, 1), transparent),
        radial-gradient(2px 2px at 15% 45%, rgba(255, 200, 80, 1), transparent),
        radial-gradient(3px 3px at 85% 35%, rgba(255, 220, 90, 0.9), transparent),
        radial-gradient(2px 2px at 30% 75%, rgba(255, 180, 70, 1), transparent),
        radial-gradient(4px 4px at 55% 15%, rgba(255, 255, 160, 1), transparent),
        radial-gradient(2px 2px at 95% 90%, rgba(255, 200, 85, 0.8), transparent),
        radial-gradient(3px 3px at 12% 65%, rgba(255, 230, 95, 1), transparent),
        radial-gradient(2px 2px at 68% 48%, rgba(255, 190, 75, 1), transparent),
        radial-gradient(4px 4px at 88% 18%, rgba(255, 255, 170, 1), transparent),
        radial-gradient(3px 3px at 22% 88%, rgba(255, 170, 65, 1), transparent),
        radial-gradient(2px 2px at 48% 28%, rgba(255, 250, 105, 0.8), transparent),
        radial-gradient(3px 3px at 78% 58%, rgba(255, 185, 70, 1), transparent),
        radial-gradient(4px 4px at 8% 78%, rgba(255, 255, 155, 1), transparent),
        radial-gradient(2px 2px at 58% 8%, rgba(255, 195, 75, 0.9), transparent),
        radial-gradient(3px 3px at 92% 42%, rgba(255, 215, 90, 1), transparent),
        radial-gradient(2px 2px at 33% 63%, rgba(255, 255, 180, 1), transparent),
        radial-gradient(3px 3px at 73% 33%, rgba(255, 175, 65, 1), transparent),
        radial-gradient(4px 4px at 13% 13%, rgba(255, 255, 165, 1), transparent),
        radial-gradient(2px 2px at 83% 73%, rgba(255, 190, 75, 1), transparent),
        radial-gradient(3px 3px at 43% 93%, rgba(255, 160, 50, 0.8), transparent),
        radial-gradient(2px 2px at 23% 53%, rgba(255, 230, 95, 1), transparent),
        radial-gradient(4px 4px at 63% 23%, rgba(255, 255, 175, 1), transparent),
        radial-gradient(3px 3px at 3% 43%, rgba(255, 210, 85, 0.9), transparent),
        radial-gradient(2px 2px at 93% 63%, rgba(255, 185, 70, 1), transparent),
        radial-gradient(3px 3px at 53% 3%, rgba(255, 255, 190, 1), transparent),
        radial-gradient(2px 2px at 17% 37%, rgba(255, 195, 75, 0.9), transparent),
        radial-gradient(4px 4px at 77% 67%, rgba(255, 255, 145, 1), transparent),
        radial-gradient(3px 3px at 37% 17%, rgba(255, 225, 92, 1), transparent),
        radial-gradient(2px 2px at 87% 87%, rgba(255, 205, 80, 0.8), transparent),
        radial-gradient(3px 3px at 50% 95%, rgba(255, 235, 98, 1), transparent),
        radial-gradient(2px 2px at 25% 25%, rgba(255, 188, 72, 1), transparent),
        radial-gradient(4px 4px at 90% 10%, rgba(255, 255, 200, 1), transparent),
        radial-gradient(3px 3px at 60% 40%, rgba(255, 178, 68, 0.9), transparent),
        radial-gradient(2px 2px at 5% 85%, rgba(255, 245, 102, 1), transparent),
        radial-gradient(3px 3px at 70% 55%, rgba(255, 218, 88, 1), transparent),
        radial-gradient(4px 4px at 35% 5%, rgba(255, 255, 185, 1), transparent),
        radial-gradient(3px 3px at 19% 69%, rgba(255, 205, 78, 1), transparent),
        radial-gradient(2px 2px at 89% 29%, rgba(255, 190, 70, 1), transparent),
        radial-gradient(4px 4px at 49% 99%, rgba(255, 255, 195, 1), transparent),
        radial-gradient(3px 3px at 99% 49%, rgba(255, 220, 85, 1), transparent),
        radial-gradient(2px 2px at 9% 19%, rgba(255, 175, 65, 1), transparent),
        radial-gradient(4px 4px at 65% 45%, rgba(255, 255, 210, 1), transparent),
        radial-gradient(3px 3px at 45% 65%, rgba(255, 200, 80, 1), transparent),
        radial-gradient(2px 2px at 80% 15%, rgba(255, 230, 95, 1), transparent),
        radial-gradient(4px 4px at 88% 52%, rgba(255, 255, 185, 1), transparent),
        radial-gradient(3px 3px at 94% 28%, rgba(255, 200, 82, 1), transparent),
        radial-gradient(2px 2px at 81% 71%, rgba(255, 215, 90, 1), transparent),
        radial-gradient(3px 3px at 97% 8%, rgba(255, 255, 195, 1), transparent),
        radial-gradient(4px 4px at 76% 92%, rgba(255, 190, 75, 1), transparent),
        radial-gradient(2px 2px at 89% 38%, rgba(255, 225, 88, 1), transparent),
        radial-gradient(3px 3px at 84% 66%, rgba(255, 255, 170, 1), transparent);
    background-size: 250% 250%;
    animation: sparksFloat 12s ease-in-out infinite reverse;
    pointer-events: none;
    opacity: 0.9;
}

@keyframes sparksFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 75% 25%, 10% 90%, 90% 10%, 40% 60%;
    }
    25% {
        background-position: 30% 20%, 70% 80%, 60% 40%, 15% 85%, 85% 15%, 20% 95%, 95% 5%, 50% 70%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 70% 30%, 35% 65%, 65% 35%, 5% 80%, 80% 20%, 30% 50%;
    }
    75% {
        background-position: 70% 80%, 30% 20%, 40% 60%, 45% 55%, 55% 45%, 15% 70%, 70% 30%, 60% 40%;
    }
}

/* Hero Section */
.hero-section {
    padding: 100px 5% 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(20, 20, 35, 0.5));
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3em, 8vw, 5em);
    font-weight: 900;
    color: #FFA500;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.8), 0 0 60px rgba(255, 140, 0, 0.5), 2px 2px 10px rgba(0,0,0,0.8);
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    animation: fadeInSlideUp 1s ease-out forwards, glowPulse 3s ease-in-out infinite;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5em, 4vw, 2.2em);
    font-weight: 600;
    color: var(--hero-text-color);
    text-shadow: var(--hero-text-shadow);
    margin: 0 0 20px 0;
    animation: fadeInSlideUp 1s ease-out 0.2s both;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 165, 0, 0.8), 0 0 60px rgba(255, 140, 0, 0.5), 2px 2px 10px rgba(0,0,0,0.8);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 165, 0, 1), 0 0 80px rgba(255, 140, 0, 0.7), 2px 2px 10px rgba(0,0,0,0.8);
    }
}

.hero-description {
    font-size: clamp(1.1em, 2.5vw, 1.3em);
    color: var(--hero-text-color);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    line-height: 1.6;
    margin: 0 0 40px 0;
    animation: fadeInSlideUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInSlideUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--hero-text-color);
    border: 2px solid var(--hero-text-color);
}

.btn-secondary:hover {
    background: var(--hero-text-color);
    color: #000;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 0 0 400px;
    text-align: center;
    animation: fadeInSlideUp 1s ease-out 0.8s both;
}

.company-logo-large {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.company-logo-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(0, 0, 0, 0.4) 80%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.company-logo-large img {
    max-width: 100%;
    width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

/* Features Section */
.features-section {
    padding: 80px 5% 90px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.features-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.feature-card {
    background: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    transition: none;
    border: none;
    box-shadow: none;
    max-width: 450px;
    position: relative;
    overflow: visible;
}

.feature-card:hover {
    transform: none;
    background: none;
    box-shadow: none;
    border-color: transparent;
}

.clickable-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.clickable-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    opacity: 1;
    transition: transform 0.4s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.4));
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.feature-card h3 {
    color: rgba(255, 255, 255, 1);
    font-size: 1.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 25px 0;
    font-size: 1.05em;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.feature-contact-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-contact-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-top: 5px;
}

.arrow {
    font-size: 5em;
    color: transparent;
    transition: color 0.3s ease;
    animation: blink 2.1s infinite;
    line-height: 0.6;
}

.arrow-1 {
    animation-delay: 0s;
}

.arrow-2 {
    animation-delay: 0.7s;
}

.arrow-3 {
    animation-delay: 1.4s;
}

@keyframes blink {
    0%, 100% {
        color: transparent;
    }
    30%, 50% {
        color: #ff0000;
    }
}

/* Fixed Theme Toggle Button - Sol Alt Köşe */
.theme-toggle-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--hero-text-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 56px;
    height: 56px;
    overflow: visible;
}

.theme-toggle-fixed:hover {
    background: rgba(128, 128, 128, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    line-height: 1;
    transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 12px;
}

.theme-text {
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    position: absolute;
    left: 60px;
    background: rgba(128, 128, 128, 0.4);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.theme-toggle-fixed:hover .theme-text {
    opacity: 1;
    width: auto;
    padding-left: 16px;
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Quick Contact CTA Panel */
.contact-cta-panel {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-cta-panel h3 {
    color: var(--hero-text-color);
    font-size: 2em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.contact-cta-panel p {
    color: var(--hero-text-color);
    margin: 0 0 30px 0;
    opacity: 0.9;
    font-size: 1.1em;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.contact-btn.primary {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--hero-text-color);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.contact-btn.outline {
    background: transparent;
    color: var(--hero-text-color);
    border-color: var(--hero-text-color);
}

.contact-btn.outline:hover {
    background: var(--hero-text-color);
    color: #000;
    transform: translateY(-2px);
}

/* Responsive Design for Home */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-visual {
        flex: none;
        max-width: 300px;
    }
    
    .company-logo-large {
        padding: 30px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .contact-cta-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 3%;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .theme-btn {
        padding: 8px 10px;
    }
    
    .theme-toggle-fixed {
        bottom: 15px;
        left: 15px;
        padding: 10px 12px;
    }
    
    .theme-toggle-fixed .theme-text {
        display: none;
    }
}

/* Animation Keyframes */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shineMove 6s infinite ease-in-out;
    z-index: 0;
    pointer-events: none;
}

@keyframes shineMove {
    0% { left: -60%; }
    100% { left: 120%; }
}


/* Page-specific: Compressors section heading styling
   (Targets both uppercase and lowercase id variants for robustness) */
#COMPRESSORS > h2,
#COMPRESSORS h2,
#compressors > h2,
#compressors h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    /* Larger, responsive heading size */
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

/* Page-specific: Industrial section heading styling */
#industrial > h2,
#industrial h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.1;
}


/* Petrol Trading Section */
.petrol-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow: hidden;
    border-bottom: none;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.petrol-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(0.7) contrast(1.1);
    z-index: 1;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease, opacity 0.4s ease;
    animation: slowZoom 20s infinite alternate;
}

body[data-theme="dark"] .petrol-section .bg-image {
    opacity: 0.6;
    filter: brightness(0.5) contrast(1.2);
}

.petrol-section:hover .bg-image {
    transform: scale(1.08);
    filter: brightness(0.75) contrast(1.15);
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

/* Oil Cards Styling */
.oil-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Oil Card Image Container */
.oil-card-image-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.oil-card-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oil-card-image-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.petrol-section .overlay {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--text-color);
    box-sizing: border-box;
    text-align: center;
}

.petrol-section .title-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease forwards, shimmer 3s infinite;
    backdrop-filter: blur(15px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body[data-theme="dark"] .petrol-section .title-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.petrol-section .title-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.15);
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(255, 255, 255, 0.2); }
}

.petrol-section .title-box h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    transition: all 0.3s ease;
}

body[data-theme="dark"] .petrol-section .title-box h2 {
    color: var(--text-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.petrol-section .desc-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    flex-wrap: wrap;
}

.petrol-section .desc-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4));
    padding: 35px 40px; 
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 300px;
    font-family: 'Inter', sans-serif;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    backdrop-filter: saturate(180%) blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body[data-theme="dark"] .petrol-section .desc-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.petrol-section .desc-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.petrol-section .desc-box:hover::before {
    opacity: 1;
    animation: shine 1.5s;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.petrol-section .desc-box p {
    margin: 0;
    font-size: clamp(0.85rem, 1.4vw, 1.1rem); /* Smaller font size */
    line-height: 1.7; 
    font-weight: 600;
    color: var(--petrol-text-color); 
    transform: var(--petrol-text-transform); 
    text-shadow: var(--petrol-text-shadow);
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.4s ease;
}

.petrol-section .desc-box:hover {
    transform: scale(1.08) translateY(-12px) rotateX(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 30px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5));
    border-color: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .petrol-section .desc-box:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 0 30px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}
.petrol-section .desc-box:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us Section */
#about-us {
    position: relative;
    padding: 100px 5%;
    background: url('https://r.resimlink.com/scMk8l.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    box-sizing: border-box;
}

#about-us .blur-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--about-us-overlay);
    backdrop-filter: blur(4px);
    z-index: 0;
    transition: background 0.3s ease;
}

#about-us .content-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

#about-us .text-card {
    flex: 1;
    min-width: 300px;
    background: var(--about-us-card-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: left;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body[data-theme="dark"] #about-us .text-card {
    box-shadow: 0 44px 20px rgba(0,0,0,0.4);
}

#about-us .text-card p {
    font-size: clamp(1em, 1.8vw, 1.3em);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

#about-us .text-card p strong {
    color: var(--text-color);
    transition: color 0.3s ease;
}

#about-us .text-card p:not(:first-child) {
    font-size: clamp(0.9em, 1.6vw, 1.1em);
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

#about-us .title-card {
    flex: 0 0 200px;
    background: var(--about-us-card-bg);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body[data-theme="dark"] #about-us .title-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

#about-us .title-card h2 {
    font-size: clamp(2em, 4vw, 2.4em);
    color: var(--text-color);
    font-weight: 800;
    margin: 0;
    transition: color 0.3s ease;
}

/* Services Section */
#services {
    background: url('https://r.resimlink.com/W_1Jb.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    padding: 60px 5%;
    text-align: center;
    position: relative;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    box-sizing: border-box;
}

#services .service-content {
    background: var(--overlay-bg);
    padding: 40px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#services h2 {
    font-size: clamp(2em, 4vw, 2.5em);
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--text-color);
    transition: color 0.3s ease;
}

#services .service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #services .service-cards-container {
        grid-template-columns: 1fr;
    }
}

.service-card {
    width: 100%;
    max-width: 350px;
    padding: 30px;
    background: var(--about-us-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body[data-theme="dark"] .service-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.service-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.service-card div { /* For emojis */
    font-size: 50px;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.service-card p {
    font-size: clamp(0.9em, 1.5vw, 1em);
    line-height: 1.5;
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

/* Contact Section */
#contact {
    background: var(--contact-section-bg);
    color: var(--text-color);
    padding: 60px 5%;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

#contact h2 {
    text-align: center;
    font-size: clamp(2em, 4vw, 2.2em);
    margin-bottom: 30px;
    font-weight: 700;
    color: #000000;
    transition: color 0.3s ease;
}

body[data-theme="dark"] #contact h2 {
    color: #ffffff; 
}

/* Dark mode contact links - mavi yapma */
body[data-theme="dark"] #contact a {
    color: #4A90E2 !important;
}

body[data-theme="dark"] #contact a:hover {
    color: #357ABD !important;
}

body[data-theme="dark"] #contact .contact-block a {
    color: #1e3a8a !important;
}

#contact .contact-info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--contact-info-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
}

#contact .contact-block {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    transition: color 0.3s ease;
}

#contact .contact-block h3 {
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

#contact .contact-block p {
    font-size: clamp(0.9em, 1.5vw, 1em);
    line-height: 1.5;
    margin: 5px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.map-container {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
    display: block;
    border-radius: 10px;
}

/* Footer Section */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    width: 56px;
    height: 56px;
    overflow: visible;
}

.whatsapp-bubble:hover {
    background: rgba(76, 175, 80, 0.5);
    backdrop-filter: blur(10px);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.wa-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: absolute;
    right: 12px;
}

.wa-text {
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    right: 60px;
    background: rgba(76, 175, 80, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.whatsapp-bubble:hover .wa-text {
    opacity: 1;
    width: auto;
    padding-right: 16px;
}

/* Lubrication Page Specific Styles (if it exists) */
.lubrication-page-main {
    padding-top: 80px;
    background-color: var(--bg-body);
    color: var(--text-color);
}

.page-hero {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end)), url('https://r.resimlink.com/ZbyKNIkhcOvo.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--hero-text-color);
    text-shadow: var(--hero-text-shadow);
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.5em, 5vw, 3.5em);
    margin-bottom: 10px;
    font-weight: 800;
    
}

.page-hero p {
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    font-weight: 500;
}

.content-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Yeni animasyon anahtarları */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home bölümünde arkaplan görseline hafif vinyet efekti */
#home {
    position: relative;
    overflow: hidden;
}

#home::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.38) 100%);
}

/* Home içeriği önde kalsın */
.home-text-content,
.contact-panel {
    position: relative;
    z-index: 3;
}



/* Otomatik yaglama kodları*/
    :root {
    --background-dark: #1e222f;
    --background-light: #f4f6f8;
    --card-bg-dark: #232b3e;
    --card-bg-light: #fff;
    --text-main-dark: #f5f5f5;
    --text-main-light: #222;
    --text-light-dark: #c0c0c0;
    --text-light-light: #666;
    --accent-color: #FFD600;
    --accent-glow: 0 0 12px rgba(255, 214, 0, 0.4);
    --shadow-dark: 0 4px 18px rgba(0,0,0,0.4);
    --shadow-light: 0 4px 18px rgba(34,39,70,0.1);
    }

    /*otomatik yağlama sayfası*/
body[data-theme="dark"] {
    background-color: var(--background-dark);
    color: var(--text-main-dark);
}

body[data-theme="light"] {
    background-color: var(--background-light);
    color: var(--text-main-light);
}

/* Lubrication page specific headings */
#lubrication {
    padding-top: 100px;
}

#lubrication h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-color);
}

#lubrication h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

#industrial,
#COMPRESSORS {
    padding-top: 100px;
}

/* Oil card styling */
.oil-card.oil-card-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--card-bg-dark);
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
    margin-bottom: 40px;
    overflow: hidden;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.oil-card.oil-card-row.reverse {
    flex-direction: row-reverse;
}

.oil-card-img {
    flex: 1;
    padding: 40px;
    min-width: 400px;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oil-card-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    object-fit: cover;
    min-height: 250px;
}

.oil-card-text {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.oil-card-text h3 {
    color: var(--accent-color);
    margin-bottom: 12px;
    font-size: 2em;
    letter-spacing: 1px;
    line-height: 1.2;
}

.oil-card-text p,
.oil-card-text ul {
    font-size: 1.1em;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 14px;
}

.oil-card-text h4 {
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Full width cards */
.oil-card.oil-card-full {
    background: var(--card-bg-dark);
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
    margin-bottom: 40px;
    padding: 40px;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.oil-card.oil-card-full img {
    width: 100%;
    border-radius: 16px;
    margin-top: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Light theme overrides */
body[data-theme="light"] .oil-card.oil-card-row,
body[data-theme="light"] .oil-card.oil-card-full {
    background: var(--card-bg-light);
    box-shadow: var(--shadow-light);
}

body[data-theme="light"] .oil-card-text,
body[data-theme="light"] .oil-card-text p,
body[data-theme="light"] .oil-card-text ul {
    color: var(--text-main-light);
}

/* Responsive design for oil cards */
@media (max-width: 768px) {
    .oil-card.oil-card-row,
    .oil-card.oil-card-row.reverse {
        flex-direction: column;
    }
    
    .oil-card-img {
        min-width: unset;
        max-width: 100%;
        padding: 20px;
    }
    
    .oil-card-text {
        padding: 20px;
    }
    
    .oil-card-text h3 {
        font-size: 1.5em;
    }
}

/* Hero section mobile optimization */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 80px 3% 60px;
        background-size: cover;
        background-position: center top;
    }
}

/* Language Selector Styles */
.custom-language-selector {
    position: relative !important;
    margin-left: 8px;
}

.language-button {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    color: #000 !important;
    font-size: 0.95em !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    height: auto !important;
    width: auto !important;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
}

.lang-flag {
    font-size: 18px !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    flex-shrink: 0 !important;
}

.lang-text {
    font-family: 'Inter', sans-serif !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    width: auto !important;
}

.language-button:hover .lang-text {
    opacity: 1 !important;
    width: auto !important;
}

.lang-arrow {
    font-size: 10px !important;
    transition: transform 0.3s ease !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    width: auto !important;
}

.language-button:hover .lang-arrow {
    transform: translateY(2px) !important;
    opacity: 1 !important;
    width: auto !important;
}

.language-dropdown {
    position: fixed !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    min-width: 250px !important;
    width: max-content !important;
    max-width: 400px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 999999 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
    pointer-events: none !important;
}

.language-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
}

.lang-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #f0f0f0 !important;
    cursor: pointer !important;
    background: transparent !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.lang-option:last-child {
    border-bottom: none !important;
}

.lang-option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.lang-option .flag {
    font-size: 20px !important;
    flex-shrink: 0 !important;
    display: none !important;
}

.lang-option span:last-child {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    display: inline-block !important;
    max-width: none !important;
}

body[data-theme="dark"] .language-dropdown {
    background: #1a1a1a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

body[data-theme="dark"] .lang-option {
    color: #ffffff !important;
    border-bottom-color: #333 !important;
}

@media (max-width: 768px) {
    .language-button {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .lang-flag {
        font-size: 16px !important;
    }
    
    .language-dropdown {
        min-width: 180px !important;
    }
}

/* ========== MODERN PRODUCTS SECTION ========== */
#products {
    padding: 100px 5% !important;
    background: var(--bg-body) !important;
    min-height: auto !important;
    overflow: visible !important;
    display: block !important;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-color-light);
    opacity: 0.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* 10 kart var, son kartı ortalamak için */
.product-card-modern:nth-child(10) {
    grid-column: 2 / 3;
}

.product-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 400px;
    width: 100%;
}

body[data-theme="dark"] .product-card-modern {
    background: var(--card-bg-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 204, 0, 0.3);
}

body[data-theme="dark"] .product-card-modern:hover {
    box-shadow: 0 20px 60px rgba(255, 204, 0, 0.2);
}

.product-card-modern.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(255, 153, 0, 0.1));
    border: 2px solid rgba(255, 204, 0, 0.3);
}

body[data-theme="dark"] .product-card-modern.featured {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.05), rgba(255, 153, 0, 0.05));
}

.product-card-modern.featured:hover {
    border-color: rgba(255, 204, 0, 0.6);
    box-shadow: 0 20px 60px rgba(255, 204, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    position: relative;
}

.product-card-modern:hover .product-image {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
    position: relative;
    background: inherit;
    height: calc(100% - 220px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-badge {
    position: absolute;
    top: -205px;
    right: 15px;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
    z-index: 10;
}

.product-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card-modern:hover .product-content h3 {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-content p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 15px;
}

.card-arrow {
    font-size: 1.8rem;
    color: #ffcc00;
    transition: transform 0.3s ease;
    display: inline-block;
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.product-card-modern:hover .card-arrow {
    transform: translateX(8px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #products {
        padding: 80px 4% !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wa-text {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .product-card-modern:nth-child(10) {
        grid-column: 1 / 2;
    }
    
    .product-card-modern {
        height: 350px;
        max-width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card-modern:nth-child(10) {
        grid-column: 1 / 2;
    }
}

@media (max-width: 480px) {
    #products {
        padding: 60px 3% !important;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .product-card-modern {
        height: 320px;
    }
    
    .product-image {
        height: 160px;
    }
}