/* Custom Styles for Bizim İnternet */

:root {
    --primary-color: #0E2D9A;
    --secondary-color: #FC5A02;
    --accent-color: #FC5A02;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #171e24;
    --footer-bg: #171e24;
    --header-top-bg: #0E2D9A;
    
    /* Bootstrap Override */
    --bs-primary: #0E2D9A;
    --bs-primary-rgb: 14, 45, 154;
    --bs-secondary: #FC5A02;
    --bs-secondary-rgb: 252, 90, 2;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0E2D9A 0%, #1a4db8 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-apply-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-apply-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0E2D9A 0%, #1a4db8 100%);
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Package Cards */
.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.package-card .price {
    padding: 20px 0;
}

.package-card .list-unstyled li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.package-card .list-unstyled li:last-child {
    border-bottom: none;
}

/* Service Items */
.service-item {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: #f8f9fa;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0E2D9A 0%, #1a4db8 100%);
}

/* Contact Section */
.contact-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    min-width: 50px;
}

.contact-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(14, 45, 154, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.btn-primary:hover {
    background-color: #0c2470;
    border-color: #0c2470;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 45, 154, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Accent text (turuncu vurgu) */
.text-accent {
    color: var(--accent-color) !important;
}

/* Accent Button (Secondary Color) */
.btn-accent {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e04a02;
    border-color: #e04a02;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 90, 2, 0.3);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 45, 154, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
    color: #333 !important;
}

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

.dropdown-item:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: var(--footer-bg) !important;
}

footer .text-muted {
    color: #81878d !important;
}

.footer-telekomder-img {
    max-height: 42px;
    height: auto;
    vertical-align: middle;
}

footer a.footer-telekomder-logo:hover .footer-telekomder-img {
    opacity: 0.9;
}

/* ===== Tarife Detay Sayfası ===== */
.tarife-detay-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4db8 50%, #2563eb 100%);
    color: #fff;
}

.tarife-detay-breadcrumb {
    background: transparent !important;
}

.tarife-detay-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.tarife-detay-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.tarife-detay-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

.tarife-detay-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.tarife-detay-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.tarife-detay-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.tarife-detay-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.tarife-detay-speed {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-weight: 500;
}

.tarife-detay-speed strong {
    color: #fff;
}

.tarife-detay-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-color);
}

.tarife-detay-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.15rem;
}

.tarife-detay-summary-bg {
    background: #f5f7fb;
}

.tarife-detay-card {
    border-radius: 1rem !important;
    transition: box-shadow 0.3s ease;
}

.tarife-detay-card:hover {
    box-shadow: 0 12px 40px rgba(14, 45, 154, 0.08) !important;
}

.tarife-speed-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 45, 154, 0.08) 0%, rgba(14, 45, 154, 0.04) 100%);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid rgba(14, 45, 154, 0.2);
}

.tarife-speed-pill strong {
    color: var(--primary-color);
}

.tarife-feature-pill {
    display: inline-flex;
    align-items: center;
    background: #e8eef7;
    color: var(--primary-color);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tarife-detay-price-box {
    display: block;
}

.tarife-detay-price-box .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

.tarife-detay-price-box .price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-left: 0.2rem;
}

.tarife-detay-price-box .price-period {
    font-size: 0.9rem;
    margin-left: 0.2rem;
}

.tarife-conditions-card {
    border-radius: 1rem !important;
    overflow: hidden;
}

.tarife-conditions-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4db8 100%) !important;
    border: none !important;
}

.tariff-description-list {
    padding-left: 0;
}

.tariff-description-item {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.75rem;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.tariff-description-item:last-child {
    border-bottom: none;
}

.tariff-description-item .item-bullet {
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.tariff-description-item .item-text {
    color: #444;
}

.tariff-description-item-vdsl .item-bullet {
    background: var(--accent-color);
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Badge */
.badge {
    padding: 0.5em 1em;
    font-weight: 600;
}

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

.badge.bg-accent,
.badge.bg-secondary {
    background-color: var(--secondary-color) !important;
}

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

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
}

/* KVK & Terms Content */
.kvk-content .card-body,
.terms-content .card-body {
    line-height: 1.8;
}

.kvk-content h2,
.terms-content h2 {
    color: var(--primary-color);
    padding-top: 20px;
    margin-top: 30px;
    border-top: 2px solid #e9ecef;
}

.kvk-content h2:first-child,
.terms-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.kvk-content h3,
.terms-content h3 {
    color: var(--dark-color);
    margin-top: 20px;
}

.kvk-content ul,
.terms-content ul {
    padding-left: 25px;
}

.kvk-content ul li,
.terms-content ul li {
    margin-bottom: 10px;
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .package-card {
        margin-bottom: 20px;
    }
}

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

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .page-header {
        display: none;
    }
}


/* Tarifeler */
.tarif-filter-group .btn {
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
}

.tarif-filter-group .btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.tarifeler-section {
    background: #f5f7fb;
}

/* Tarifeler sayfası: kartlar eşit yükseklik, butonlar altta hizalı */
.tarifeler-section .tarife-card-wrapper {
    display: flex;
}

.tarifeler-section .package-card {
    min-height: 400px;
    width: 100%;
    flex: 1;
}

.tarife-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tarife-card-header {
    background: linear-gradient(180deg, #0E2D9A 0%, #153bb5 100%);
    color: #fff;
    padding: 18px 18px 12px;
    text-align: center;
}

.tarife-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 500;
}

.tarife-speed {
    margin-top: 12px;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.tarife-speed-download {
    font-size: 32px;
    font-weight: 700;
}

.tarife-speed-separator,
.tarife-speed-upload {
    font-size: 18px;
    font-weight: 600;
}

.tarife-speed-unit {
    font-size: 12px;
    margin-left: 4px;
}

.tarife-subtitle {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.tarife-card-body {
    padding: 18px 22px 12px;
    text-align: center;
}

.tarife-name {
    font-weight: 700;
    margin-bottom: 8px;
}

.tarife-price {
    color: #FC5A02;
    margin-bottom: 16px;
}

.tarife-price-amount {
    font-size: 26px;
    font-weight: 700;
}

.tarife-price-currency {
    font-size: 14px;
    margin-left: 2px;
}

.tarife-price-period {
    font-size: 12px;
    color: #6c757d;
    margin-left: 4px;
}

.tarife-meta {
    background: #f4f6fb;
    border-radius: 14px;
    padding: 10px 12px;
}

.tarife-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
}

.tarife-meta-item .label {
    color: #6c757d;
}

.tarife-meta-item .value {
    font-weight: 600;
}

.tarife-card-footer {
    padding: 12px 18px 18px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .tarife-card-footer {
        flex-direction: column;
        gap: 8px;
    }
}

/* Navbar Logo */
.navbar-logo {
    height: 42px;
    width: auto;
}
