/* Custom CSS for Altınçocuk Kreş Website */

:root {
    /* Kreş için Profesyonel Pastel Renk Paleti - 60-30-10 Kuralı */
    --primary-color: #5BA3D0;        /* Ana Mavi (60%) - Sakinlik ve Güven */
    --primary-dark: #4A8BB8;         /* Koyu Mavi */
    --primary-light: #87CEEB;        /* Açık Mavi (Sky Blue) */
    --secondary-color: #FFC107;      /* İkincil Sarı (30%) - Neşe ve Enerji */
    --secondary-dark: #FFB300;       /* Koyu Sarı */
    --secondary-light: #FFD54F;      /* Açık Sarı */
    --accent-color: #90EE90;         /* Vurgu Yeşil (10%) - Doğallık */
    --accent-dark: #7ED957;          /* Koyu Yeşil */
    --accent-light: #B2FFA8;         /* Açık Yeşil */
    --success-color: #90EE90;        /* Yeşil */
    --danger-color: #EF4444;         /* Kırmızı */
    --warning-color: #FFA500;        /* Turuncu */
    --info-color: #5BA3D0;           /* Mavi */
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 76px;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--primary-color);
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* YouTube iframe için özel ayarlar */
.hero-video-container iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Text Slider */
.hero-text-slider {
    position: relative;
    min-height: 300px;
}

.slide-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
    pointer-events: none;
}

.slide-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero Indicators */
.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.hero-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicators .indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.hero-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    margin-top: 2rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin: 1rem auto;
}

/* Icon Box */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.icon-box i {
    color: white !important;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e9ecef;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* About Image Placeholder */
.about-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #E3F2FD;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

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

/* Contact Section */
.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(91, 163, 208, 0.25);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
}

footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
    transition: color 0.3s ease;
}

footer a.text-primary {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border: none !important;
    border-color: var(--primary-color) !important;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 163, 208, 0.4);
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Cards */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        max-height: 600px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-text-slider {
        min-height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    section {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Bootstrap Color Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
}

.page-header .breadcrumb {
    background: transparent;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "/";
}

/* Gallery Styles */
.gallery-album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(91, 163, 208, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-album-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(91, 163, 208, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.375rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

#imageLightbox .modal-content {
    background: rgba(0, 0, 0, 0.95) !important;
}

.gallery-link {
    position: relative;
    display: block;
}

