/* ===== CALLAY ÇAĞRI MERKEZİ - ANA CSS ===== */

:root {
    --primary: #0056b3;
    --secondary: #ff6b35;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --font: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: #333; overflow-x: hidden; }

/* ─── TYPOGRAPHY ─── */
.badge-label { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.letter-spacing { letter-spacing: 3px; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ─── NAVBAR ─── */
#mainNav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    padding: 1rem 0;
}
#mainNav.scrolled {
    background: rgba(0,30,80,0.97) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0.5rem 0;
}
#mainNav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
#mainNav .nav-link:hover { color: #fff !important; }

/* ─── HERO ─── */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}
.hero-gradient-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #0056b3 50%, #ff6b35 100%);
}
.hero-image-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.hero-video-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(10,22,40,0.65);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-title { line-height: 1.1; }
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* Carousel hero */
.carousel, .carousel-inner, .carousel-item { height: 100vh; }
.hero-slide-media {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    object-fit: cover;
}
.carousel-caption {
    position: absolute; inset: 0;
    text-align: left !important;
    padding-top: 100px;
    background: rgba(10,22,40,0.55);
}

/* ─── STATS BAR ─── */
.stats-bar { background: var(--primary) !important; }
.stat-value { font-size: 2.5rem; line-height: 1; }
.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* ─── SERVICE CARDS ─── */
.service-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,86,179,0.08) !important;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,86,179,0.12) !important;
}
.service-icon {
    width: 64px; height: 64px;
    background: rgba(0,86,179,0.08);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}

/* ─── ABOUT ─── */
.about-image-wrap { position: relative; }
.experience-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--secondary);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: #f0f5ff; }
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(0,86,179,0.1);
    transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); }

/* ─── TEAM ─── */
.team-card { transition: transform 0.3s; }
.team-card:hover { transform: translateY(-6px); }
.team-photo { width: 100px; height: 100px; object-fit: cover; border: 4px solid var(--primary); }

/* ─── BLOG ─── */
.blog-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #003d82);
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/static/images/pattern.svg') repeat;
    opacity: 0.05;
}
.cta-section > * { position: relative; z-index: 1; }

/* ─── CONTACT ─── */
.contact-info-card { background: var(--primary) !important; }
.contact-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.15);
    background: #fff;
}

/* ─── FOOTER ─── */
.footer-dark {
    background: #0a1628;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-links li { color: rgba(255,255,255,0.6); }
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}
.social-link:hover { background: var(--secondary); color: white; }

/* ─── PAGE HERO ─── */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #003d82 100%);
    padding: 8rem 0 4rem;
    color: white;
}

/* ─── ADMIN PANEL LINK ─── */
.admin-float-btn {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 9999;
}

/* ─── ACCORDION ─── */
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(0,86,179,0.05);
    box-shadow: none;
}
.accordion-button::after {
    filter: none;
}

/* ─── BUTTONS ─── */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: #004494; border-color: #004494; }
.btn-warning { color: #333; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .display-5 { font-size: 1.8rem; }
    .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
    .experience-badge { right: 0; bottom: 0; }
}
