/* SmartOSGB Public Premium CSS */
:root {
    --primary: #0d47a1;
    --primary-dark: #002171;
    --primary-light: #5472d3;
    --secondary: #1976d2;
    --accent: #ff9800;
    --text-main: #333333;
    --text-light: #666666;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu ul li a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 15px;
}

.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
}

.btn-teklif {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-teklif:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    color: var(--white);
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-lg {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
}

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

/* Stats */
.stats {
    padding: 60px 0;
    background: var(--white);
    margin-top: -50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 { font-size: 36px; color: var(--primary); }
.stat-item p { color: var(--text-light); font-weight: 500; }

/* Services Card */
.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 { font-size: 32px; color: var(--primary-dark); }
.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img img { width: 100%; height: 200px; object-fit: cover; }
.service-body { padding: 25px; }
.service-body h4 { margin-bottom: 15px; color: var(--primary); }
.service-body p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 20px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h5 { font-size: 18px; margin-bottom: 25px; }
.footer-col p { opacity: 0.7; font-size: 14px; margin-bottom: 10px; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { font-size: 20px; color: var(--white); opacity: 0.7; }
.social-links a:hover { opacity: 1; color: var(--accent); }

.copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

/* Form Styles */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .menu-toggle { display: block; }
    .hero h2 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .blog-grid, .footer-grid { grid-template-columns: 1fr; }
}

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

.reveal { animation: fadeInUp 0.8s ease forwards; }

/* Logo Slider (Infinite Loop) */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.logo-track {
    display: flex !important;
    width: max-content;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.logo-track:hover {
    animation-play-state: paused;
}

.slide {
    flex: 0 0 200px; /* Her bir logo alanı sabit 200px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.slide img {
    max-height: 50px !important;
    max-width: 150px !important;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10)); }
}
