/* GÜLBÜŞ KREŞ - PROFESYONEL TASARIM DOSYASI
    Tema: Modern, Çocuk Dostu, Güven Verici
*/

/* 1. GENEL AYARLAR VE DEĞİŞKENLER */
:root {
    --primary-color: #265586;      /* Güven Veren Kurumsal Lacivert/Mavi */
    --primary-light: #4a8bc4;      /* Açık Mavi */
    --accent-color: #ff9f1c;       /* Enerjik Turuncu */
    --accent-hover: #e68a00;       /* Koyu Turuncu */
    --bg-light: #fdfbf7;           /* Göz yormayan krem/beyaz */
    --text-dark: #2d3436;          /* Yumuşak Siyah */
    --text-muted: #636e72;         /* Gri Metin */
    --font-main: 'Nunito', sans-serif; /* Yuvarlak hatlı font */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(38, 85, 134, 0.15);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800; /* Kalın ve dolgun başlıklar */
    color: #0d6efd;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* 2. NAVBAR (MENÜ) TASARIMI */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px); /* Buzlu cam etkisi */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 10px;
    position: relative;
}

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

/* Menü altı çizgi animasyonu */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* 3. SLIDER VE HERO ALANI */
.carousel-item img {
    height: 600px;
    object-fit: cover;
    /* Resimlerin üzerine hafif koyu filtre atıyoruz ki yazılar okunsun */
    filter: brightness(0.7); 
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: 10%;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out; /* Animasyon */
}

.carousel-caption p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    animation: slideInUp 1.2s ease-out; /* Gecikmeli Animasyon */
}

/* 4. KARTLAR VE HİZMETLER (Can Alıcı Kısım) */
.card {
    border-radius: 20px; /* Yuvarlak köşeler */
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
    border: 1px solid rgba(0,0,0,0.02);
}

/* Hover-Lift Efekti: Karta gelince havaya kalksın */
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

/* Hizmet İkonları */
.card i {
    transition: transform 0.4s ease;
}

.card:hover i {
    transform: scale(1.2) rotate(5deg); /* İkon büyüsün ve hafif dönsün */
    color: var(--accent-color) !important;
}

/* Yaş Grubu Kart Başlıkları */
.card .bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
}

/* 5. BUTONLAR */
.btn {
    border-radius: 50px; /* Hap şeklinde butonlar */
    padding: 10px 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-warning {
    background-color: rgb(255 159 28) !important;
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.btn-warning:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 159, 28, 0.6);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Hemen Ara Butonu (Pulse Efekti) */
.btn-pulse {
    animation: pulse 2s infinite;
}

/* 6. ANİMASYONLAR (Keyframes) */

/* Aşağıdan yukarı kayma */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kalp atışı / Dikkat çekme */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 159, 28, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 159, 28, 0);
    }
}

/* 7. FOOTER */
footer {
    background: #1e272e;
    color: #bdc3c7;
    font-size: 0.95rem;
}

footer h5 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 5px;
    border-radius: 2px;
}

footer a:hover {
    color: #fff !important;
    padding-left: 5px; /* Linke gelince sağa kaysın */
}

/* 8. MOBİL UYUMLULUK DÜZELTMELERİ */
@media (max-width: 768px) {
    .carousel-item img {
        height: 400px; /* Mobilde slider boyunu kıs */
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .card {
        margin-bottom: 20px;
    }
    .top-bar {
        display: none; /* Mobilde üst barı gizle, kalabalık etmesin */
    }
}


/* TELEFON MOCKUP ÇERÇEVESİ */
.phone-mockup {
    border: 12px solid #1e272e; /* Koyu gri çerçeve */
    border-radius: 40px;         /* Telefonun yuvarlak köşeleri */
    overflow: hidden;            /* Resim taşarsa gizle */
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25); /* Derinlik gölgesi */
    max-width: 250px;            /* Telefon genişliği */
    margin: 0 auto;              /* Ortala */
    background: #fff;
    z-index: 2;
}

/* Üstteki Çentik (Dynamic Island) */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1e272e;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 3;
}

/* Resmin kendisine uygulanacak stil */
.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}