/* Genel Stil Ayarları */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.42857143;
    background-color: #f0f2f5;
    color: #ffffff;
    padding-top: 70px;
    font-size: 16px;
}

/* Tema Rengi */
:root {
    --theme-color: #ffcd00;
    --theme-dark: #e6b800;
}

/* Üst Bant */
.top-bar {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.top-bar-text {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-text:hover {
    color: var(--theme-color);
}

.top-bar-text i {
    color: var(--theme-color);
    font-size: 1.2rem;
    vertical-align: middle;
}

.top-bar-text:hover i {
    color: var(--theme-dark);
}

.top-bar-phone {
    color: var(--theme-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-phone:hover {
    color: var(--theme-dark);
}

/* Navbar (Sabit ve Tema Renginde) */
.navbar {
    background-color: var(--theme-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    top: 34px;
}

.navbar-brand, .nav-link {
    color: #1e1e1e !important;
    font-weight: 600;
}

.nav-link:hover {
    color: #ffffff !important;
}

.nav-link.active {
    color: #ffffff !important;
}

.nav-button {
    background-color: #5b5bd6;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
    background-color: #4a4ab8;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.nav-button i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Navbar Brand için Mobil Görünüm Ayarları */
.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-text {
    display: inline;
}

/* Mobil Görünüm (768px ve altı) */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .form-container {
        margin-bottom: 30px;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-outline-theme {
        width: 100%;
    }

    .top-bar {
        padding: 5px 0;
    }

    .top-bar-text, .top-bar-phone {
        font-size: 0.9rem;
    }

    .top-bar-text i {
        font-size: 1rem;
    }

    .nav-button {
        margin-top: 10px;
    }

    .footer-section .col-md-2, .footer-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section .col-md-6 {
        align-items: flex-end !important;
    }

    .footer-section .col-md-6 .footer-text {
        text-align: right !important;
    }

    .footer-section .col-md-2 ul {
        padding: 0;
    }

    .package-card-35 .card-title {
        font-size: 1.5rem;
    }

    .package-card-35 .speed-info {
        font-size: 2rem;
    }

    .package-card-35 .package-type {
        font-size: 1rem;
    }

    .package-card-35 .price-info {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(75, 75, 75, 0.5) 100%), url('../assets/fiber-internet.jpg') no-repeat center;
    background-size: cover;
    opacity: 1;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.hero-section.image-1 {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(75, 75, 75, 0.5) 100%), url('../assets/fiber-internet.jpg') no-repeat center;
    background-size: cover;
}

.hero-section.image-2 {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(75, 75, 75, 0.5) 100%), url('../assets/fiber-internet1.jpg') no-repeat center;
    background-size: cover;
}

.hero-section.image-3 {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(75, 75, 75, 0.5) 100%), url('../assets/fiber-internet2.jpg') no-repeat center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--theme-color);
}

.hero-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Form Stilleri */
.form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 8px rgba(255, 205, 0, 0.5);
    outline: none;
}

/* İnternet Türü Butonları */
.internet-type-buttons label {
    color: #1e1e1e;
    font-weight: 500;
}

.btn-outline-theme {
    border: 2px solid var(--theme-color);
    color: var(--theme-color);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-theme:hover,
.btn-check:checked + .btn-outline-theme {
    background-color: var(--theme-color);
    color: #1e1e1e;
}

.btn-primary {
    background-color: var(--theme-color);
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    color: #1e1e1e;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--theme-dark);
    transform: translateY(-2px);
}

/* Altyapı Seçimi Butonları */
.infrastructure-selection h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.infrastructure-selection .btn-group {
    display: flex;
    justify-content: center;
    gap: 10px; /* Butonlar arasındaki boşluk */
}

.infrastructure-selection .btn {
    background-color: #ffffff;
    border: 1px solid #5b5bd6;
    color: #6b7280; /* Varsayılan yazı rengi gri */
    font-weight: 600;
    padding: 6px 2px; /* Daha kısa buton: yatay padding 2px'e indirildi */
    font-size: 0.85rem; /* Font boyutu aynı bırakıldı */
    border-radius: 6px;
    transition: color 0.3s ease;
}

.infrastructure-selection .btn.active,
.infrastructure-selection .btn:hover {
    background-color: #ffffff; /* Arka plan beyaz kalıyor */
    color: #5b5bd6; /* Yazı rengi mavi */
}

/* Hizmetler Kartları */
.services-section {
    background-color: #ffffff;
    color: #1e1e1e;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card .card-title {
    color: var(--theme-color);
    font-weight: 600;
}

.service-card .card-text {
    color: #6b7280;
}

/* Paket Bilgileri Bölümü */
.packages-section {
    background-color: #f8f9fa;
    color: #000;
}

.packages-section h2,
.packages-section h3 {
    color: #000;
}

/* 4.5G Net Paket Bilgileri Bölümü */
.mobile-packages-section {
    background-color: #f8f9fa;
    color: #000;
}

.mobile-packages-section h2 {
    color: #000;
}

/* Paket Kartları */
.package-card {
    height: 100%;
    min-height: 1px;
    box-sizing: border-box;
    padding: 15px 10px;
    width: 310px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #000;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.package-card .ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Genişlik tam kart genişliğine ayarlandı */
    background: #ffcd00;
    color: #ffffff;
    font-size: 0.8rem; /* Yazı boyutu optimize edildi */
    font-weight: 600;
    text-align: center;
    padding: 5px 0;
    transform: rotate(0deg); /* Şerit yatay hale getirildi */
}

.package-card .ribbon div {
    display: block;
}

.package-card .card-body {
    padding: 0;
}

.package-card .price-line {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    padding: 10px 20px 0;
}

.package-card .campaign-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding: 5px 20px;
    line-height: 1.5;
}

.package-card hr {
    margin: 10px 20px;
    border-color: #e5e7eb;
}

.package-card .hypeScaleBoxList {
    padding: 10px 20px 0;
    list-style: none;
    margin: 0;
}

.package-card .hypeScaleBoxList li {
    margin-bottom: 10px;
}

.package-card .hypeItems {
    display: flex;
    align-items: flex-start;
}

.package-card .hypeItemsLeft {
    flex: 0 0 auto;
    margin-right: 10px;
}

.package-card .hypeItemsLeft i {
    font-size: 30px;
    color: #000;
}

.package-card .hypeItemsRight {
    flex: 1;
}

.package-card .hypeItemsRightTitle {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.package-card .hypeItemsRightDesc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
}

.package-card .button-container {
    padding: 10px 20px 20px;
    text-align: center;
}

.package-card .hypeScaleBoxLink {
    display: inline-block;
    background-color: #5b5bd6;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.package-card .hypeScaleBoxLink:hover {
    background-color: #4a4ab8;
}

/* 35.html için özel Paket Bilgilendirme Bölümü */
.package-info-section-35 {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.package-card-35 {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #007bff 0%, #ff4d4d 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.package-card-35 .card-body {
    padding: 30px;
}

.package-card-35 .card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.package-card-35 .speed-info {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.package-card-35 .package-type {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.package-card-35 .badge {
    background-color: #fff;
    color: #1e1e1e;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
}

.package-card-35 .price-info {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
}

.package-card-35 .btn-primary {
    background-color: #ffcd00;
    border: none;
    color: #1e1e1e;
    font-weight: 600;
    padding: 10px 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.package-card-35 .btn-primary:hover {
    background-color: #e0a800;
}

.package-card-35 .additional-info {
    font-size: 0.9rem;
    margin-top: 15px;
    color: #ddd;
}

/* İletişim Bölümü */
.contact-section {
    color: #000000; /* Genel olarak contact-section içindeki tüm metinleri siyah yap */
}

.contact-section h2 {
    color: #000000; /* Başlık zaten siyah, ama emin olmak için */
}

.contact-section h5 {
    color: #000000; /* h5 metnini siyah yap */
}

.contact-section .list-unstyled li {
    color: #000000; /* Liste öğelerini siyah yap */
}

.contact-section .text-theme {
    color: var(--theme-color);
}

.contact-section a {
    color: #000000; /* Zaten siyah olarak tanımlı, ama tekrar emin olmak için */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--theme-color);
}

/* Footer */
.footer-section {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
}

.footer-section .col-md-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: 15px;
    text-align: center !important;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    text-align: center !important;
}

.footer-link:hover {
    color: var(--theme-color);
}

.footer-section .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 2px 0;
    text-align: right;
}

.footer-text a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--theme-color);
}

.footer-copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
    text-align: center !important;
}

/* Responsive Ayarları */
@media (max-width: 576px) {
    .footer-section .col-md-2, .footer-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section .col-md-6 {
        align-items: center !important;
    }

    .footer-section .col-md-6 .footer-text {
        text-align: center !important;
    }
}

/* Modal için özel stil */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #ffcd00;
    color: #1e1e1e;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 30px;
}

.modal-body .form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e1e1e;
}

.modal-body .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
}

.modal-body .btn-primary {
    background-color: #ffcd00;
    border: none;
    color: #1e1e1e;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-body .btn-primary:hover {
    background-color: #e0a800;
}

.modal-body .btn-check:checked + .btn-outline-theme {
    background-color: #ffcd00;
    color: #1e1e1e;
    border-color: #ffcd00;
}

.modal-body .btn-outline-theme {
    border-color: #ffcd00;
    color: #1e1e1e;
}

/* Çerez Popup stilleri */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    z-index: 1050;
    display: none;
}

.cookie-popup p {
    margin: 0 0 15px;
    font-size: 0.9rem;
}

.cookie-popup .btn {
    background-color: var(--theme-color);
    color: #1e1e1e;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.cookie-popup .btn:hover {
    background-color: var(--theme-dark);
}