@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    color: white;
}

.carousel-item {
    transition: transform 0.3s ease-in-out;
}

.lead {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.display-4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.btn-lg {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.course-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
}

.free-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff69b4;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    z-index: 1;
}

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

.card-body {
    display: flex;
    flex-direction: column;
}

.card-body .btn {
    margin-top: auto;
}

footer {
    background-color: #2c3e50;
}

footer a:hover {
    color: #3498db !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db !important;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    animation: bounce 2s infinite;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.scroll-down-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobil için pozisyonu ayarla */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 0.9rem;
    }
    
    .carousel-item img {
        height: 50vh;
    }
    
    .scroll-down-arrow {
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Section Title Styles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #2c3e50;
}

/* Lead text için stil */
.text-muted {
    color: #6c757d !important;
}

/* Genel font ayarları */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Video Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
    background-color: #2c3e50;
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 0;
}

.ratio-16x9 {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

/* Modal animasyonu */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }
}
