/* Genel Stiller */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 50px;
    margin: 10px 20px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 117, 125, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar .container {
    padding: 0 10px;
}

.navbar-brand {
    margin-right: 20px;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 35px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    background-color: rgba(108, 117, 125, 0.1);
    margin: 0 3px;
    color: white;
    border: 1px solid rgba(108, 117, 125, 0.2);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link:hover {
    border-radius: 20px;
    background-color: rgba(108, 117, 125, 0.2);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    border-radius: 20px;
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

/* Slider Stilleri */
.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Kart Stilleri */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-bottom: none;
}

/* Tarife Kartları */
.tarife-card {
    border: 2px solid var(--primary-color);
}

.tarife-card .card-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
}

.tarife-card .display-4 {
    color: var(--primary-color);
    font-weight: bold;
}

/* Buton Stilleri */
.btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-2px);
}

/* Form Stilleri */
.form-control {
    border-radius: 25px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

/* Footer Stilleri */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
}

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

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

/* Özel Sınıflar */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto;
}

/* Altyapı Sorgulama Formu */
.altyapi-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Hız Testi */
.hiz-test-sonuc {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.hiz-test-sonuc .speed-value {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Destek Talepleri */
.destek-talep {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.destek-talep .durum {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.durum-beklemede { background: var(--warning-color); color: white; }
.durum-islemde { background: var(--info-color); color: white; }
.durum-cozuldu { background: var(--success-color); color: white; }
.durum-kapatildi { background: var(--secondary-color); color: white; }

/* Kampanya Kartları */
.kampanya-card {
    position: relative;
    overflow: hidden;
}

.kampanya-card .indirim-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* Blog Kartları */
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-footer {
    background: none;
    border-top: none;
}

/* Sosyal Medya İkonları */
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

/* İnternet sayfaları için başlık ve görsel hizası düzenlemeleri */
.fiber-header-image {
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    margin-top: 30px;
    margin-bottom: 16px;
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    margin-top: 0 !important;
}
.display-4 {
    margin-top: 18px !important;
}
.fiber-header {
    min-height: 320px;
    display: flex;
    align-items: center;
    padding-top: 48px;
}
@media (max-width: 991px) {
    .fiber-header {
        padding-top: 100px;
    }
}
@media (max-width: 767px) {
    .fiber-header-image {
        max-height: 140px;
    }
}

/* Dropdown menü stilleri */
.dropdown-menu {
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    min-width: 200px;
}

.dropdown-item {
    border-radius: 10px;
    margin: 2px 8px;
    transition: all 0.3s ease;
    background-color: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.2);
    color: #495057;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    border-radius: 10px;
    margin: 2px 8px;
    background-color: rgba(108, 117, 125, 0.2);
    color: #212529;
    transform: translateX(5px);
}

.dropdown-item.active {
    border-radius: 10px;
    margin: 2px 8px;
    background-color: #6c757d;
    color: white;
}

@media (max-width: 991.98px) {
    .navbar {
        margin: 0;
        border-radius: 0;
        padding: 10px 15px;
        background-color: #0d6efd !important;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-collapse {
        background: #0d6efd !important;
        border-radius: 0 !important;
        border: none !important;
        margin-top: 10px;
        box-shadow: none !important;
        padding: 15px 0;
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-nav .nav-link {
        color: white !important;
        background-color: transparent !important;
        border: none !important;
        margin: 5px 0 !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        border-radius: 0 !important;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }
    
    .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    .dropdown-menu {
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    .dropdown-menu .dropdown-item {
        color: white !important;
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0.5rem 2rem !important;
        font-weight: 400 !important;
        border-left: 3px solid transparent !important;
    }
    
    .dropdown-menu .dropdown-item.active,
    .dropdown-menu .dropdown-item:active,
    .dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border-left: 3px solid white !important;
    }
}

/* Back to Top Button - Modern Tasarım */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.3) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.8) !important;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0bb5cc 100%) !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.4) !important;
    color: white !important;
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05) !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.back-to-top i {
    transition: transform 0.3s ease !important;
}

.back-to-top:hover i {
    transform: translateY(-2px) !important;
}

/* Mobil için daha küçük boyut */
@media (max-width: 768px) {
    .back-to-top {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 16px !important;
    }
}

/* Animasyon efekti */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.back-to-top.animate {
    animation: bounceIn 0.6s ease-out !important;
} 