/* style.css - DÜZENLENMİŞ VERSİYON */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --dark-bg: #0f0f23;
    --darker-bg: #070711;
    --card-bg: #1a1a2e;
    --card-bg-light: #252547;
    --text-primary: #ffffff;
    --text-secondary: #c7d2fe;
    --text-muted: #94a3b8;
    --border-color: rgba(99, 102, 241, 0.2);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
}

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Tüm yazı renklerini düzeltiyorum */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

p {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* NAVBAR - Düzeltilmiş */
.navbar {
    background: rgba(15, 15, 35, 0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* HERO SECTION - Düzeltilmiş */
.hero-section {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/unsplash.jpg') center/cover no-repeat;
    /* background: url('images/images.jfif') center/cover no-repeat; */
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
        rgba(79, 70, 229, 0.4) 50%, 
        rgba(15, 15, 35, 0.95) 100%);
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* BUTTON STYLES - Düzeltilmiş */
.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient);
    border-color: transparent;
    color: white !important;
    transform: translateY(-2px);
}

/* SERVICE CARDS - Düzeltilmiş */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card .card-title {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.service-card .card-text {
    color: var(--text-secondary) !important;
}

/* PROJECT CARDS - Düzeltilmiş */
.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-card img {
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h5 {
    color: var(--text-primary) !important;
}

.project-card p {
    color: var(--text-secondary) !important;
}

/* SECTION STYLES - Düzeltilmiş */
section {
    padding: 80px 0;
}

.bg-light {
    background: var(--darker-bg) !important;
}

/* Accordion için özel stiller */
.accordion-button {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    /*border-radius: 10px !important;*/
    /*margin-bottom: 10px;*/
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient) !important;
    color: black !important;
}

.accordion-body {
    background: var(--card-bg);
    border: solid var(--border-color)
    border-top: none;
    /*border-radius: 0 0 10px 10px;*/
    color: var(--text-secondary) !important;
}

.accordion-body ul {
    color: var(--text-secondary) !important;
}

.accordion-body li {
    color: var(--text-secondary) !important;
}

/* FORM STYLES - Düzeltilmiş */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    background: var(--card-bg);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* FOOTER - Düzeltilmiş */
.footer {
    background: var(--darker-bg) !important;
    border-top: 1px solid var(--border-color);
}

.footer h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* STATISTICS SECTION */
.bg-primary {
    background: var(--gradient) !important;
}

/* Card body içindeki yazı renkleri */
.card-body h5,
.card-body .card-title,
.card-body .card-text {
    color: var(--text-primary) !important;
}

.card-body .card-text {
    color: var(--text-secondary) !important;
}

/* Modal düzeltmeleri */
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--text-primary);
}

.modal-body {
    color: var(--text-secondary);
}

.btn-close-white {
    filter: invert(1);
}

/* Badge stilleri */
.badge {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
}

/* Listeler için düzeltme */
.list-unstyled li a {
    color: var(--text-secondary) !important;
}

.list-unstyled li a:hover {
    color: var(--primary) !important;
}

/* About sayfası için özel stiller */
.about-content h2,
.about-content p {
    color: var(--text-primary) !important;
}

.about-content .text-muted {
    color: var(--text-muted) !important;
}

/* Vizyon & Misyon kartları */
.bg-white {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
}

.bg-white h4,
.bg-white p {
    color: var(--text-primary) !important;
}

/* RESPONSIVE TASARIM */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
