/* Modern Alkumru Teknoloji - Common Styles */

/* CSS Variables for Theme */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-section: #ffffff;
    --bg-section-dark: #f8fafc;
    --bg-section-alt: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* Scrollbar Hide Utility */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Dark Mode Colors */
body.dark-mode,
body.dark,
body:not(.light-mode) {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-section: #0f0f0f;
    --bg-section-dark: #0a0a0a;
    --bg-section-alt: #141414;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --border-color: #1e293b;
    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.7);
}

/* Light Mode Colors */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-section: #ffffff;
    --bg-section-dark: #f8fafc;
    --bg-section-alt: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

/* Gradient Backgrounds */
.hero-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
    position: relative;
}

body.light-mode .hero-gradient {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
}

body.dark .hero-gradient,
body.dark-mode .hero-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
}

/* Dot Pattern Overlay */
.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

body.light-mode .dot-pattern {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

body.dark .dot-pattern,
body.dark-mode .dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #3b82f6, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Sections */
.bg-section {
    background-color: var(--bg-section);
}

.bg-section-dark {
    background-color: var(--bg-section-dark);
}

.bg-section-alt {
    background-color: var(--bg-section-alt);
}

/* Text Colors */
.text-primary {
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--text-light);
}

/* Service Cards */
.service-card {
    background-color: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Navigation Blur */
.nav-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--border-color);
}

body.light-mode .nav-blur {
    background-color: rgba(255, 255, 255, 0.8);
}

body.dark .nav-blur,
body.dark-mode .nav-blur {
    background-color: rgba(10, 10, 10, 0.8);
}

/* Nav Links */
.nav-link {
    color: #3b82f6;
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #f97316);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-secondary {
    color: var(--text-secondary);
}

.nav-link-secondary:hover {
    color: #3b82f6;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, #3b82f6, #f97316);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
    background-color: var(--bg-section);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px var(--shadow-lg);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Slider Dots */
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    background: linear-gradient(to right, #3b82f6, #f97316);
    width: 32px;
    border-radius: 6px;
}

/* Slider Arrows */
.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Category Pills */
.category-pill {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.category-pill:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.category-pill.active {
    background: linear-gradient(to right, #3b82f6, #f97316);
    color: white;
    border-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #f97316);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #ea580c);
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.transition-all {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.shadow-card {
    box-shadow: 0 4px 6px var(--shadow-sm);
}

.shadow-card:hover {
    box-shadow: 0 20px 40px var(--shadow-lg);
}

/* Form Inputs */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Placeholder text color */
::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

/* Logo Invert for Dark/Light Mode */
#logo-img,
#footer-logo {
    transition: all 0.3s ease;
    max-height: 50px;
}

/* Dark mode - Logo beyaz */
body.dark #logo-img,
body.dark #footer-logo,
body.dark-mode #logo-img,
body.dark-mode #footer-logo,
body:not(.light-mode) #logo-img,
body:not(.light-mode) #footer-logo {
    filter: brightness(0) invert(1);
}

/* Light mode - Logo siyah */
body.light-mode #logo-img,
body.light-mode #footer-logo {
    filter: brightness(0) invert(0);
}

/* Social Links */
.social-link {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(to right, #3b82f6, #f97316);
    color: white;
    transform: scale(1.1);
}

/* Banner Slide */
.banner-slide {
    min-height: 300px;
    height: auto;
}

@media (min-width: 768px) {
    .banner-slide {
        min-height: 400px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

