/* Genel Stiller */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #1a2639;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #0f172a, #1e40af) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .dropdown-toggle {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0.75rem;
}

.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
    color: #e5e7eb !important;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-toggler {
    border-color: #ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Açılır Menü (Dropdown) */
.nav-item.dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
    border-top-color: #ffffff;
}

.dropdown-menu {
    background-color: #1e3a8a;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #0f172a;
    color: #e5e7eb;
}

/* Mobil için Navbar Düzenlemeleri */
@media (max-width: 768px) {
    .navbar-nav {
        padding: 1rem;
        gap: 0;
    }

    .nav-item.dropdown .dropdown-menu {
        background-color: #2a3549;
    }

    .navbar-collapse {
        background-color: #1e3a8a;
    }
}

/* Hero Slider */
.hero-section {
    position: relative;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
    display: block;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    border-radius: 50px;
    padding: 10px 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    background-color: #138496;
}

.swiper-button-next,
.swiper-button-prev {
    color: #17a2b8 !important;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background 0.3s ease;
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet-active {
    background: #17a2b8 !important;
}

.swiper-pagination {
    z-index: 3;
}

/* Eğitimlerimiz */
.education-section {
    padding: 3rem 0;
}

.education-section .education-card {
    transition: transform 0.3s ease, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.education-section .education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.education-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.education-section .card-body {
    padding: 1.5rem;
}

.education-section .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.education-section .btn {
    border-radius: 50px;
    padding: 8px 20px;
    background-color: #28a745;
    border-color: #28a745;
}

.education-section .btn:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Eğitim Detay */
.education-detail {
    padding: 3rem 0;
}

.education-detail img {
    max-height: 400px;
    object-fit: cover;
}

.education-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.education-content p {
    margin-bottom: 1rem;
}

.education-content * {
    max-width: 100%;
}

.education-content img {
    max-height: 300px;
    object-fit: contain;
    margin: 1rem 0;
}

.education-content .note-color {
    display: inline;
}

.education-content ul,
.education-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.education-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.education-content table th,
.education-content table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.education-content .twemoji {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
}

/* Hakkımızda */
.about-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 5rem 0;
}

.about-content {
    padding-right: 2rem;
}

.about-content p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
}

.about-content h5 {
    font-size: 1.4rem;
    color: #1a2639;
}

.about-content ul {
    padding-left: 0;
}

.about-content ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    transition: color 0.3s;
}

.about-content ul li:hover {
    color: #17a2b8;
}

.about-content .btn {
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.about-content .btn:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

.about-image img {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Şubelerimiz */
.branches-section {
    padding: 3rem 0;
}

.branch-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.branch-image {
    width: 100%;
    height: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.branch-card .card-body {
    padding: 1.5rem;
}

.branch-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.branch-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Sayfa Detay */
.page-detail {
    padding: 3rem 0;
}

.page-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content * {
    max-width: 100%;
}

.page-content img {
    max-height: 300px;
    object-fit: contain;
    margin: 1rem 0;
}

.page-content .note-color {
    display: inline;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.page-content table th,
.page-content table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.page-content .twemoji {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
}

/* Footer */
.footer {
    background-color: #1a2639;
    color: #ffffff;
    padding: 3rem 0;
}

.footer-logo img {
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #17a2b8;
}

.footer-social {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-social:hover {
    color: #17a2b8;
}

.footer-social .bi-instagram {
    font-size: 1.5rem;
}

.footer p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

/* Pop-up Stilleri */
.popup-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.popup-modal .modal-content:hover {
    transform: scale(1.02);
}

.popup-modal .modal-header {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: #ffffff;
    border-bottom: none;
    padding: 1.5rem;
}

.popup-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-modal .modal-body {
    padding: 2rem;
}

.popup-modal .modal-body img {
    max-height: 300px;
    width: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.popup-modal .modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1a2639;
}

.popup-modal .form-check {
    margin-top: 1.5rem;
}

.popup-modal .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid #17a2b8;
    transition: background-color 0.3s, border-color 0.3s;
}

.popup-modal .form-check-input:checked {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.popup-modal .form-check-label {
    font-size: 0.9rem;
    color: #1a2639;
    cursor: pointer;
    margin-left: 0.5rem;
}

.popup-modal .modal-footer {
    border-top: none;
    padding: 1.5rem;
    justify-content: center;
}

.popup-modal .btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.popup-modal .btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
}

.popup-modal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.popup-modal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

.popup-modal .btn-close {
    background-color: #dc3545;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    opacity: 1;
    transition: background-color 0.3s;
}

.popup-modal .btn-close:hover {
    background-color: #c82333;
}

/* Responsive Ayarları */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-slide {
        min-height: 60vh;
        background-size: contain;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .education-section .card-img-top {
        height: 150px;
    }

    .education-detail img {
        max-height: 300px;
        margin-bottom: 2rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content .lead {
        font-size: 1.2rem;
    }

    .about-content p,
    .about-content ul li {
        font-size: 1rem;
    }

    .about-content h5 {
        font-size: 1.2rem;
    }

    .branch-image {
        height: 200px;
    }

    .footer {
        padding: 2rem 0;
    }

    .footer-logo img {
        max-height: 50px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-link,
    .footer-social,
    .footer p {
        font-size: 0.9rem;
    }

    .footer-social .bi-instagram {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .popup-modal .modal-content {
        max-width: 90%;
    }

    .popup-modal .modal-title {
        font-size: 1.2rem;
    }

    .popup-modal .modal-body img {
        max-height: 200px;
    }

    .popup-modal .modal-body p {
        font-size: 1rem;
    }

    .popup-modal .btn-close {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-slide {
        min-height: 50vh;
        background-size: contain;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .education-section .card-title {
        font-size: 1.2rem;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer-logo img {
        max-height: 40px;
    }

    .footer-title {
        font-size: 1rem;
    }
}

/* İletişim Sayfası */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-section .card {
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-section .card-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1a2639;
}

.contact-section .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s;
}

.contact-section .form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 5px rgba(23, 162, 184, 0.3);
}

.contact-section .btn-primary {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.contact-section .btn-primary:hover {
    background-color: #138496;
    border-color: #138496;
}

.contact-section .alert {
    border-radius: 8px;
}

.contact-section .shube-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-section .shube-info a {
    color: #17a2b8;
    text-decoration: none;
}

.contact-section .shube-info a:hover {
    text-decoration: underline;
}

/* Harita Stilleri */
.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
}

.map-iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-iframe {
        height: 200px;
    }
}

/* Kart içindeki metin ve harita düzeni */
.card-body .mb-4,
.card-body > div {
    margin-bottom: 20px;
}

.card-body p {
    margin-bottom: 8px;
}