/**
 * GÜVEN İLETİŞİM - Ana Stylesheet
 * Version: 2.0.0 - BeIN Sports Style
 */

/* ============================================
   CSS Variables / Root - BeIN Sports Theme
   ============================================ */
:root {
    /* BeIN Sports Color Palette */
    --primary-color: #8B1874;
    --primary-dark: #5C0E4D;
    --primary-light: #A91D8A;
    --accent-color: #FF006B;
    --accent-dark: #D10058;
    --secondary-color: #2D2D2D;
    --success-color: #00C853;
    --warning-color: #FFD600;
    --danger-color: #FF1744;
    --info-color: #00B8D4;
    --dark-color: #1A1A1A;
    --darker-color: #0D0D0D;
    --light-color: #F5F5F5;
    --gray-color: #9E9E9E;
    --white: #ffffff;
    
    /* Bootstrap Override - MAVİYİ ÖLDÜR! */
    --bs-primary: #8B1874;
    --bs-primary-rgb: 139, 24, 116;
    --bs-link-color: #8B1874;
    --bs-link-hover-color: #5C0E4D;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B1874 0%, #5C0E4D 100%);
    --gradient-accent: linear-gradient(135deg, #FF006B 0%, #8B1874 100%);
    --gradient-dark: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(139, 24, 116, 0.1);
    --shadow: 0 4px 20px rgba(139, 24, 116, 0.15);
    --shadow-lg: 0 8px 40px rgba(139, 24, 116, 0.2);
    --shadow-accent: 0 4px 20px rgba(255, 0, 107, 0.3);
    
    /* Misc */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Bootstrap Primary Color Override - FULL FORCE!
   ============================================ */
.text-primary,
i.text-primary,
.text-primary i,
span.text-primary,
a.text-primary {
    color: #8B1874 !important;
}

.bg-primary {
    background-color: #8B1874 !important;
}

.btn-primary {
    background-color: #8B1874 !important;
    border-color: #8B1874 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #5C0E4D !important;
    border-color: #5C0E4D !important;
}

.btn-outline-primary {
    color: #8B1874 !important;
    border-color: #8B1874 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #8B1874 !important;
    border-color: #8B1874 !important;
    color: #fff !important;
}

.border-primary {
    border-color: #8B1874 !important;
}

.bg-primary-subtle {
    background-color: rgba(139, 24, 116, 0.1) !important;
}

.btn-link.text-primary {
    color: #8B1874 !important;
}

.btn-link.text-primary:hover {
    color: #5C0E4D !important;
}

a {
    color: #8B1874;
}

a:hover {
    color: #5C0E4D;
}

.badge.bg-primary {
    background-color: #8B1874 !important;
}

.card.bg-primary {
    background-color: #8B1874 !important;
}

/* Form Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #8B1874 !important;
    box-shadow: 0 0 0 0.25rem rgba(139, 24, 116, 0.25) !important;
}

.form-check-input:checked {
    background-color: #8B1874 !important;
    border-color: #8B1874 !important;
}

/* Pagination */
.page-link {
    color: #8B1874;
}

.page-item.active .page-link {
    background-color: #8B1874;
    border-color: #8B1874;
}

.page-link:hover {
    color: #5C0E4D;
}

/* Progress Bar */
.progress-bar {
    background-color: #8B1874;
}

/* Nav Pills/Tabs */
.nav-pills .nav-link.active {
    background-color: #8B1874;
}

.nav-link {
    color: #8B1874;
}

.nav-link:hover {
    color: #5C0E4D;
}

/* List Group */
.list-group-item.active {
    background-color: #8B1874;
    border-color: #8B1874;
}

/* Spinners */
.spinner-border.text-primary {
    color: #8B1874 !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utility Classes - BeIN Sports Theme
   ============================================ */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-accent {
    background: var(--gradient-accent) !important;
}

.bg-gradient-dark {
    background: var(--gradient-dark) !important;
}

.bg-dark-custom {
    background-color: var(--dark-color) !important;
}

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

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

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

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent-color);
    border: none;
    color: white;
    font-weight: 500;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.bg-primary-subtle {
    background-color: rgba(139, 24, 116, 0.1) !important;
}

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

.glow-effect {
    box-shadow: 0 0 30px rgba(255, 0, 107, 0.3);
}

.min-vh-50 {
    min-height: 50vh;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Top Bar - BeIN Sports Style
   ============================================ */
.top-bar {
    font-size: 0.875rem;
    padding: 0.5rem 0;
    background: var(--darker-color) !important;
}

.top-bar a {
    transition: var(--transition);
    color: rgba(255,255,255,0.8) !important;
}

.top-bar a:hover {
    color: var(--accent-color) !important;
}

/* ============================================
   Navigation - BeIN Sports Style
   ============================================ */
.navbar {
    transition: var(--transition);
    background: var(--dark-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

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

.navbar-brand span {
    color: var(--accent-color);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar.scrolled {
    background-color: var(--darker-color) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Dropdown - BeIN Sports Style */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    background: var(--dark-color);
    border-top: 2px solid var(--accent-color);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
    color: rgba(255,255,255,0.8);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   Hero Section - BeIN Sports Style
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 24, 116, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 107, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .display-4,
.hero-section .display-5 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-section .text-accent {
    color: var(--accent-color) !important;
    text-shadow: 0 0 30px rgba(255, 0, 107, 0.5);
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-cta .btn {
    padding: 0.75rem 1.5rem;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    position: relative;
}

.page-header .breadcrumb {
    margin-bottom: 0;
}

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

/* ============================================
   Cards - BeIN Sports Style
   ============================================ */
.card {
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: none;
    background: var(--white);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Service Card */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .service-img {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card .card-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card:hover .card-title a {
    color: var(--primary-color);
}

/* Blog Card */
.blog-card .blog-img {
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Testimonial Card */
.testimonial-card {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(139, 24, 116, 0.05) 0%, rgba(255, 0, 107, 0.05) 100%);
}

/* Region Card */
.region-card .region-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ============================================
   Icon Box
   ============================================ */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   Stats Box
   ============================================ */
.stats-box {
    position: relative;
    overflow: hidden;
}

.stats-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   Accordion / FAQ
   ============================================ */
.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(var(--bs-primary-rgb), 0.25);
}

/* ============================================
   Stars Rating
   ============================================ */
.stars {
    color: var(--warning-color);
}

.stars .far {
    color: #ddd;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-img {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-image-wrapper:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-thumb {
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

/* ============================================
   Sidebar
   ============================================ */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* ============================================
   Content
   ============================================ */
.content-body {
    line-height: 1.8;
}

.content-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-body p {
    margin-bottom: 1rem;
}

.content-body ul, 
.content-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-body img {
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.content-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--secondary-color);
}

/* ============================================
   Table of Contents
   ============================================ */
.table-of-contents a {
    color: var(--dark-color);
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* ============================================
   Article
   ============================================ */
.article-meta span {
    display: inline-flex;
    align-items: center;
}

.article-cover img {
    max-height: 500px;
    object-fit: cover;
}

/* ============================================
   Post Navigation
   ============================================ */
.post-navigation a {
    color: var(--dark-color);
}

.post-navigation a:hover {
    color: var(--primary-color);
}

/* ============================================
   Footer - BeIN Sports Style
   ============================================ */
.footer {
    background: var(--darker-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.footer h5 {
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.3);
}

/* ============================================
   Floating Buttons
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-buttons .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.floating-buttons .btn:hover {
    transform: scale(1.1);
}

.floating-buttons .btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.floating-buttons .btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Back to Top */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Forms
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* ============================================
   Search Modal
   ============================================ */
.search-modal .modal-content {
    background: transparent;
    border: none;
}

.search-modal .form-control {
    font-size: 1.5rem;
    padding: 1rem;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        margin-top: 1rem;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0.75rem 1rem;
    }
    
    .navbar-dark .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-buttons .btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none !important;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .stats-box h3 {
        font-size: 2rem;
    }
    
    .service-card .service-img,
    .blog-card .blog-img {
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-section .d-flex {
        flex-direction: column;
    }
    
    .cta-section .btn {
        width: 100%;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .footer,
    .floating-buttons,
    .cta-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
    }
}
