/* ====================================
   BEY DAĞITIM - Premium CSS
   ==================================== */

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

html {
    scroll-behavior: smooth;
}

[x-cloak] {
    display: none !important;
}

::selection {
    background: #1565C0;
    color: white;
}

/* ---- Navigation ---- */
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #F3F4F6;
    color: #1565C0;
}

.nav-active {
    color: #1565C0 !important;
    background-color: #E3F2FD !important;
}

.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent !important;
}

/* ---- Hero Slider ---- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(7, 43, 102, 0.88) 0%,
        rgba(13, 71, 161, 0.75) 40%,
        rgba(21, 101, 192, 0.50) 70%,
        rgba(0,0,0,0.20) 100%
    );
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse-soft 2s ease-in-out infinite;
    display: inline-block;
}

.hero-slide-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    animation: slideInRight 0.6s ease-out 0.4s both;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(219, 234, 254, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    animation: slideInRight 0.6s ease-out 0.6s both;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInRight 0.6s ease-out 0.8s both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #FF8F00, #FF6F00);
    color: #fff;
    border-radius: 0.875rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 143, 0, 0.55);
}
.hero-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 0.875rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.20);
    transform: translateY(-2px);
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    margin-left: 0.5rem;
}
.hero-phone-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-phone-label {
    font-size: 0.7rem;
    color: rgba(219,234,254,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-phone-number {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Stats ribbon */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    animation: slideInRight 0.6s ease-out 1s both;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.7rem;
    color: rgba(219,234,254,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

/* Navigation buttons */
.hero-swiper-btn {
    width: 52px !important;
    height: 52px !important;
    background: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px) !important;
    border: 1.5px solid rgba(255,255,255,0.20) !important;
    border-radius: 50% !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}
.hero-swiper-btn:hover {
    background: rgba(255,255,255,0.25) !important;
    transform: scale(1.1) !important;
}
.hero-swiper-btn::after {
    font-size: 1rem !important;
    font-weight: 800 !important;
}
.hero-swiper-next { right: 2rem !important; }
.hero-swiper-prev { left: 2rem !important; }

/* Pagination */
.hero-swiper-pagination {
    bottom: 5rem !important;
}
.hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #FF8F00 !important;
    width: 28px !important;
    border-radius: 5px !important;
}

/* Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 85vh;
        min-height: 550px;
    }
    .hero-slide-actions {
        gap: 0.75rem;
    }
    .hero-btn-primary, .hero-btn-secondary {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }
    .hero-phone { display: none; }
    .hero-swiper-next { right: 0.75rem !important; }
    .hero-swiper-prev { left: 0.75rem !important; }
    .hero-stats { gap: 1rem; }
    .hero-stat-divider { height: 28px; }
}

/* ---- Service Cards ---- */
.service-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #F3F4F6;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF8F00, #FF6F00);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #FF8F00, #FF6F00);
    color: white;
    transform: scale(1.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3F2FD;
    color: #1565C0;
    transition: all 0.4s ease;
    margin-bottom: 1.25rem;
}

/* ---- Why Us Cards ---- */
.why-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

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

.why-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: white;
    transform: scale(1.1);
}

/* ---- Process Timeline ---- */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BBDEFB, #1565C0, #BBDEFB);
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.timeline-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    border: 3px solid #BBDEFB;
    color: #1565C0;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.1);
}

.timeline-step:hover .timeline-dot {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: white;
    border-color: #1565C0;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #F3F4F6;
    height: 100%;
}

.testimonial-stars {
    color: #FF8F00;
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

/* ---- Blog Cards ---- */
.blog-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ---- Reference Logos ---- */
.ref-logo {
    transition: all 0.3s ease;
}

.ref-logo:hover {
    transform: scale(1.05);
}

/* ---- Glassmorphism ---- */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Section styling ---- */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    color: #111827;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: #E3F2FD;
    color: #1565C0;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ---- Scroll Animations ---- */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ---- Contact Map ---- */
.map-container {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    border: 0;
    width: 100%;
    height: 400px;
}

/* ---- Form Styles ---- */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #FAFAFA;
}

.form-input:focus {
    outline: none;
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
    background: white;
}

/* ---- Stat Counter ---- */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    background: linear-gradient(135deg, #1565C0, #FF8F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* ---- Ticket Status ---- */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-acik { background: #DBEAFE; color: #1E40AF; }
.status-beklemede { background: #FEF3C7; color: #92400E; }
.status-cevaplandi { background: #D1FAE5; color: #065F46; }
.status-cozuldu { background: #F3F4F6; color: #374151; }
.status-kapatildi { background: #FEE2E2; color: #991B1B; }

/* ---- FAQ Accordion ---- */
.faq-item {
    border: 1px solid #F3F4F6;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.faq-item:hover {
    border-color: #BBDEFB;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #1F2937;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #1565C0;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #6B7280;
    line-height: 1.7;
}

/* ---- Admin Panel ---- */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0D47A1 0%, #1565C0 100%);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    transition: transform 0.3s ease;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    margin: 0.125rem 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.admin-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background: #F8FAFC;
}

.admin-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
}

.admin-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #F1F5F9;
    transition: all 0.2s ease;
}

.admin-stat-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* ---- Preloader ---- */
.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

/* ---- Page Breadcrumb ---- */
.breadcrumb-section {
    background: linear-gradient(135deg, #0D47A1, #1565C0);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline-line {
        display: none;
    }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }
}

/* ---- Animations ---- */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-slide-in-right {
    animation: slideInRight 0.4s ease-out;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
