/**
 * Ana Site Stil Dosyası
 * ogrencikayit.com
 */

/* =============== Genel Stiller =============== */
:root {
    --primary-color: #006EB8; /* Ana tema rengi - canlı mavi */
    --secondary-color: #FF5722; /* İkincil renk - turuncu */
    --dark-color: #1E3A52; /* Koyu renk */
    --light-color: #f8f9fa; /* Açık renk */
    --success-color: #28a745; /* Başarı rengi */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --text-color: #333;
    --border-radius: 0.25rem;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

body {
    font-family: var(--font-family);
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d6fa5;
}

.btn {
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #1d6fa5;
    border-color: #1d6fa5;
}

/* =============== Top Bar Stiller =============== */
.top-bar {
    font-size: 0.875rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* =============== Navigasyon =============== */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.navbar .btn-primary:hover {
    background-color: #005a95;
    border-color: #005a95;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 110, 184, 0.2);
}

/* =============== Slider / Carousel =============== */
#ana-slider {
    margin-top: -16px; /* Navbar ile birleşsin */
}

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

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

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-caption .btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 15px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s;
}

.carousel-caption .btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* =============== Kutucuklar =============== */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.card-body {
    padding: 25px;
}

.card .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

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

.card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* =============== Kayıt Formu =============== */
#kayit-formu {
    background-color: #f8f9fa;
    position: relative;
}

#kayit-formu .video-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

#kayit-formu .video-form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

#kayit-formu h2 {
    color: #0056b3;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

#kayit-formu h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    border-radius: 3px;
}

#kayit-formu .form-label {
    font-weight: 500;
    color: #495057;
}

#kayit-formu .form-control,
#kayit-formu .form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s;
}

#kayit-formu .form-control:focus,
#kayit-formu .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

#kayit-formu .input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 8px 0 0 8px;
    color: #495057;
}

#kayit-formu .btn-primary {
    background: linear-gradient(90deg, #0d6efd, #0b5ed7);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s;
}

#kayit-formu .btn-primary:hover {
    background: linear-gradient(90deg, #0b5ed7, #084298);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* =============== SSS Bölümü =============== */
.accordion {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    max-width: 90%;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1.05rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    border-left: 4px solid var(--secondary-color);
}

.accordion-button:hover {
    background-color: #edf3f9;
}

.accordion-button:not(.collapsed):hover {
    background-color: #0062a5;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 110, 184, 0.2);
    z-index: 1;
}

.accordion-button::after {
    background-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(10);
}

.accordion-body {
    padding: 25px 30px;
    background-color: #fff;
    line-height: 1.7;
    color: #444;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* SSS Başlık Stili */
.sss-baslik {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.sss-baslik:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* =============== Video Bölümü =============== */
#video-bolumu {
    background-color: #f8f9fa;
}

#video-bolumu .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

#video-bolumu h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

#video-bolumu h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

#video-bolumu h4 {
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

#video-bolumu p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Ücretsiz Ders Kaydı Vurgusu */
@keyframes highlight {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

.video-form-container {
    animation: highlight 2s ease-in-out;
}

/* =============== Footer =============== */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer .social-icons {
    margin-top: 20px;
}

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s;
}

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

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =============== WhatsApp ve Telefon Sabit Butonları =============== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none;
}

.floating-button:hover {
    transform: scale(1.1);
}

.whatsapp-button {
    background-color: #25D366;
}

.phone-button {
    background-color: var(--primary-color);
}

.floating-button i {
    font-size: 24px;
}

/* =============== Genel Stil =============== */
.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-color);
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* =============== Responsive Ayarlamalar =============== */
@media (max-width: 992px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 20px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    #kayit-formu .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .video-container {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        max-width: 90%;
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
    }
}

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

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