/* Refleks Teknoloji - Main CSS */

:root {
    --primary-color: #bf2124;
    --secondary-color: #474746;
    --accent-color: #e53e42;
    --light-gray: #f5f5f5;
    --dark-gray: #2a2a29;
    --text-color: #333;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0;
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.header.scrolled .navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.header.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

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

/* Language Switch */
.lang-switch {
    background: var(--light-gray);
    border-radius: 25px;
    padding: 5px;
    display: flex;
    gap: 5px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--secondary-color);
}

.lang-btn:hover {
    background: rgba(191, 33, 36, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Network Animation */
.network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 1;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
    box-shadow: 0 5px 20px rgba(191, 33, 36, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(191, 33, 36, 0.4);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover:before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Product Cards */
.product-showcase {
    background: var(--light-gray);
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 30px;
}

.product-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.stat-box {
    padding: 30px;
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1.1rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-info i {
    font-size: 30px;
    color: var(--primary-color);
}

.contact-info h5 {
    color: white;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .lang-switch {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-svg {
        width: 80%;
    }
    
    footer .row > div {
        text-align: center;
        margin-bottom: 30px;
    }
}

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

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

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--light-gray) !important; }