@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

body {
    font-family: 'Outfit', sans-serif;
}

/* === Common Styles === */
/* Glassmorphism */
/* === Common Styles === */
/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Light Mode Glass Panel Override */
html:not(.dark) .glass-panel {
    background: rgba(255, 255, 255, 0.6);
    /* Reduced opacity from 0.7 */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Glass Card - Unified */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Unified border opacity */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    /* Unified shadow */
}

/* Light Mode Glass Card Override */
html:not(.dark) .glass-card {
    background: rgba(255, 255, 255, 0.7);
    /* Reduced from 0.85 */
    /* More opaque for contrast */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #ffffff, #a5f3fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html:not(.dark) .text-gradient {
    background-image: linear-gradient(to right, #2563eb, #059669);
    /* Blue-600 to Emerald-600 */
}

.text-gradient-alt {
    /* For kurumsal.html potentially, preserving logic if needed, or consistent use */
    background: linear-gradient(to right, #60a5fa, #34d399);
}

/* === iletisim.html Styles === */
.modern-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

html:not(.dark) .modern-input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
    /* Slate-800 */
}

.modern-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: #3b82f6;
    /* Blue-500 */
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* === index.html Styles === */
.hero-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), url('../img/fabrikaic1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

html:not(.dark) .hero-bg {
    background-image: linear-gradient(rgba(226, 232, 240, 0.92), rgba(226, 232, 240, 0.85)), url('../img/fabrikaic1.jpg');
    /* Changed to slate-200 for reduced glare */
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

/* === surec.html Styles === */
.neon-line {
    background: linear-gradient(to bottom, transparent, #3b82f6, #a855f7, transparent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.step-number {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* === urunler.html Styles === */
.filter-btn.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* === yesil-alan.html Styles === */
.glass-green {
    background: rgba(20, 83, 45, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(74, 222, 128, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

html:not(.dark) .glass-green {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.text-glow-green {
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 10s linear infinite;
}

.animate-spin-reverse {
    animation: spin-slow 10s linear infinite reverse;
}

.earth-3d {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #2563eb;
    /* Ocean Blue */
    position: relative;
    overflow: hidden;
    box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.4), inset 1px 1px 4px rgba(255, 255, 255, 0.3);
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.earth-3d::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    /* Zoom 130%. Map Ratio 2:1. Map Width = 260% of container. */
    /* Double Map Width for loop = 520% of container. */
    width: 520%;
    height: 130%;
    background-color: #4ade80;
    /* Land Green */
    -webkit-mask-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    mask-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    -webkit-mask-size: 50% 100%;
    mask-size: 50% 100%;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    animation: earth-spin-3d 6s linear infinite;
}

@keyframes earth-spin-3d {
    0% {
        transform: translate(0, -50%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* === yesil-alan2.html Styles === */
body {
    background-color: #0f172a;
    color: white;
}

/* Yeşil Alan Parlama Efekti */
.glow-text {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Scrollbar (Kaydırma Çubuğu) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

/* === Grid Pattern Background === */
.grid-pattern-bg {
    background-image: linear-gradient(#334155 1px, transparent 1px), linear-gradient(90deg, #334155 1px, transparent 1px);
    background-size: 40px 40px;
}

/* === Index Page Backgrounds === */
.hero-bg-image {
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.7)), url('../img/fabrikaic1.jpg');
    background-size: cover;
    background-position: center;
}

.radial-pattern-bg {
    background-size: 32px 32px;
}

/* === Preloader Styles === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #0f172a; Removed for theme support */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}