/**
 * Dosya: style.css
 * Konum: assets/css/style.css
 * Açıklama: Ana stil dosyası - Eksiksiz Güncellenmiş
 */

/* Root Variables */
:root {
    --primary-color: #0a6ecc;      /* Koyu turkuaz */
    --primary-light: #154ba3;      /* Turkuaz */
    --primary-dark: #006064;       /* Çok koyu turkuaz */
    --secondary-color: #0097A7;    /* Orta turkuaz */
    --accent-color: #3ab0e7;       /* Turuncu */
    --accent-light: #FFB74D;       /* Açık turuncu */
    --warning-color: #FFC107;      /* Sarı */
    --success-color: #4CAF50;      /* Yeşil */
    --danger-color: #F44336;       /* Kırmızı */
    --info-color: #2196F3;         /* Mavi */
    
    --text-dark: #212121;          /* Koyu gri metin */
    --text-body: #424242;          /* Normal metin */
    --text-light: #ffffff;         /* Açık gri metin */
    --text-white: #ffffff;         /* Beyaz metin */
    
    --bg-light: #F5F5F5;           /* Açık gri arka plan */
    --bg-white: #ffffff;           /* Beyaz arka plan */
    --bg-dark: #263238;            /* Koyu arka plan */
    
    --border-color: #E0E0E0;       /* Gri border */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-black);
}

/* Header Container */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Top Bar - TURKUAZ */
.top-bar {
    background: var(--primary-light);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.top-bar .contact-info i {
    color: #FFF59D;
    font-size: 14px;
}

.top-bar .quick-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.top-bar a:hover {
    color: #FFF59D;
}

.top-bar .lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .lang-switch i {
    color: var(--text-white);
}

.top-bar .lang-switch a {
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.top-bar .lang-switch a.active {
    background: var(--accent-color);
    color: var(--text-white);
}

/* Main Navbar - KOYU TURKUAZ */
.main-navbar {
    background: var(--primary-color);
    padding: 0;
    position: relative;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
}

.logo-section img {
    height: 45px;
    width: auto;
    /* filter: brightness(0) invert(1); BU SATIRI KALDIRIYORUZ */
}

.logo-section .logo-text h1 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-section .logo-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Main Menu */
.main-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.main-menu a {
    color: var(--text-white);
    text-decoration: none;
    padding: 20px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    border-radius: 8px; /* Köşe yuvarlatma eklendi */
    margin: 0 4px; /* Butonlar arası boşluk */
}

.main-menu a i {
    font-size: 1.1rem;
}

.main-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-menu a.active {
    background: var(--accent-color);
    color: var(--text-white);
}

/* Navbar altındaki sarı çizgi */
.main-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--warning-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Header Spacer */
.header-spacer {
    height: 108px;
}

/* Offcanvas Mobile Menu */
.offcanvas {
    background: var(--primary-color);
}

.offcanvas-header {
    background: var(--primary-light);
    border-bottom: 3px solid var(--warning-color);
    color: var(--text-white);
}

.offcanvas-title {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

.mobile-nav {
    padding: 0;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 12px;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.mobile-nav a.active {
    background: var(--accent-color);
    color: var(--text-white);
}

.mobile-nav a i {
    width: 24px;
    font-size: 1.1rem;
}

/* Main Slider Section */
.main-slider-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--bg-light);
}

.carousel-item {
    height: 600px;
    position: relative;
}

.slider-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slider-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 131, 143, 0.85) 0%, rgba(0, 172, 193, 0.75) 100%);
    z-index: 2;
}

.carousel-inner,
.carousel-item .container {
    position: relative;
    z-index: 3;
}

/* Slide Content */
.slide-content {
    padding: 2rem 0;
}

.slide-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--warning-color);
    margin-bottom: 1.5rem;
}

.slide-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.badge-custom {
    background: var(--accent-color);
    color: var(--text-white);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-icon {
    font-size: 1.25rem;
    color: var(--text-white);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background: var(--warning-color);
}

/* Progress Bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 4;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--warning-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s linear;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Turuncu yerine beyaz buton kullanalım */
.btn-warning {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid #ffffff;
}

.btn-warning:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Alternatif olarak koyu mavi buton */
.btn-dark-primary {
    background: var(--primary-dark);
    color: var(--text-white);
}

.btn-dark-primary:hover {
    background: #004d40;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;   
	background: var(--bg-blue-custom);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

/* Quick Access Section */
.quick-access-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.quick-access-item .card {
    height: 100%;
    border: none;
    box-shadow: var(--shadow-sm);
}

.quick-access-item .card:hover {
    box-shadow: var(--shadow-xl);
}

.access-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.quick-access-item:hover .access-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    transform: scale(1.1);
}

/* Latest News Section */
.latest-news-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.news-card .card {
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-card:hover .card {
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

.news-date .day {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff10" d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"></path></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-icon {
    margin-bottom: 1rem;
    font-size: 3rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.95;
    color: var(--text-white);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #14a9f4 0%, #222e34 100%);
    color: var(--text-white);
    padding: 60px 0 30px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--warning-color) 100%);
}

.footer-widget h5,
.footer-widget h6 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-widget h6 {
    font-size: 1.125rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-widget a:hover {
    color: var(--warning-color);
    padding-left: 5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-white);
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact info icons */
.contact-info i {
    color: var(--warning-color);
    width: 20px;
}

/* Alt bilgi */
.footer-section .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Scroll to Top Button */
.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-floating:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--warning-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Hover Effects */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: var(--text-white) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: var(--primary-light) !important; }
.bg-white { background-color: var(--bg-white) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }

/* Responsive */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
    
    .main-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important; /* Sadece mobilde görünür */
    }
    
    .header-spacer {
        height: 73px;
    }
    
    .logo-section {
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .main-slider-section,
    .carousel-item {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.25rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev { 
        left: 15px; 
    }
    
    .carousel-control-next { 
        right: 15px; 
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .quick-access-section,
    .latest-news-section,
    .stats-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .logo-section img {
        height: 40px;
    }
    
    .logo-section .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-section .logo-text span {
        display: none;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}