/* Renk Tanımlamaları (Yeni Palet) */
:root {
    --primary-yellow: #fcc402; /* Birincil renk: Sarı */
    --primary-purple: #443467; /* İkincil renk: Mor */
    --dark-blue: #101820; /* Koyu arka plan: Koyu mavi */
    --light-purple: #d3c5e5; /* Vurgu rengi: Açık mor */
    --white: #ffffff; /* Beyaz */
}

/* Genel Stil */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 80px; /* Header ve navbar yüksekliği için */
    color: var(--dark-blue);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 10px;
    right: 10px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: var(--white);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    .whatsapp-float img {
        width: 35px;
        height: 35px;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Responsive Tasarım */
@media (max-width: 767px) {
    .carousel-caption .banner-title {
        font-size: 1rem;
    }
    .carousel-caption .banner-text {
        font-size: 0.8rem;
    }
    .top-bar {
        display: none;
    }
    .navbar.fixed-top {
        top: 0px !important;
    }
    .display-4 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler[aria-expanded="true"] + .collapse {
        display: block !important;
    }
    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .nav-item {
        width: 100% !important;
    }
    .nav-link {
        padding: 12px 20px !important;
        width: 100% !important;
        text-align: left !important;
    }
    .dropdown-menu {
        display: none;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }
    .nav-item.show .dropdown-menu {
        display: block !important;
    }
    .dropdown-item {
        padding: 12px 30px !important;
        width: 100% !important;
    }
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    .navbar-brand {
        margin-left: 20px;
    }
    .navbar-toggler {
        border: none;
    }
}

/* Navbar */
.navbar.fixed-top {
    top: 40px;
    z-index: 999;
    background-color: var(--white) !important;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    flex-direction: row;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: var(--dark-blue) !important;
    font-size: 16px;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
}

.dropdown-toggle::after {
    border-top: 0.3em solid var(--primary-purple);
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--light-purple);
}

.dropdown-item {
    color: var(--dark-blue);
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-yellow);
    color: var(--white);
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo-img {
    width: 80px;
    height: auto;
    margin-right: 10px;
}

/* Carousel */
#heroCarousel {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    background: rgba(16, 24, 32, 0.3); /* dark-blue ile yarı şeffaf */
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.banner-text {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 30px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-blue);
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e0ad00; /* Sarının koyu tonu */
    border-color: #e0ad00;
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-outline-light:hover {
    background-color: var(--light-purple);
    color: var(--dark-blue);
}

/* Bölüm Stili */
section {
    margin-top: 0;
    padding: 60px 0;
}

h2 {
    color: var(--primary-purple);
    font-size: 2.5rem;
    font-weight: bold;
}

/* Hakkımızda */
#about {
    background: var(--light-purple);
}

/* Sayılarla KUM Academy */
#stats {
    background: var(--white);
}

#stats h3 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-purple);
}

#stats p {
    font-size: 1.2rem;
    color: var(--dark-blue);
}

/* Seviye Testi */
#test {
    background: var(--primary-purple);
    color: var(--white);
}

#test h2 {
    font-size: 2.5rem;
}

#test p {
    font-size: 1.2rem;
}

#test .btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    padding: 10px 30px;
    font-size: 1.2rem;
}

#test .btn-primary:hover {
    background: #e0ad00;
}

/* Kurslar */
#courses {
    background: var(--light-purple);
}

.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-purple);
    font-size: 1.5rem;
    font-weight: bold;
}

.card-text {
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Öğrenci Yorumları */
#testimonials {
    background: var(--white);
}

#testimonials .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#testimonials .card-text {
    font-style: italic;
    color: var(--dark-blue);
}

#testimonials .card-title {
    font-size: 1.2rem;
    color: var(--primary-purple);
}

/* SSS */
#faq {
    
}

.accordion-button {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-blue);
    background-color: var(--white);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-yellow);
    color: var(--dark-blue);
}

.accordion-body {
    font-size: 1rem;
    color: var(--dark-blue);
    background-color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
}

footer h5 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-yellow);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-yellow);
}

footer hr {
    border-color: var(--light-purple);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
    .banner-title {
        font-size: 1.8rem;
    }
    .banner-text {
        font-size: 1rem;
    }
    #stats h3 {
        font-size: 2rem;
    }
    #test h2, #courses h2, #testimonials h2, #faq h2 {
        font-size: 2rem;
    }
}




/* Responsive ayarlar */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* Video stil özelleştirmeleri */
.embed-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 oran */
}

.embed-responsive .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.test-img {
    max-width: 200px;
    height: auto;
}