/* Main Styles */
:root {
    --primary-color: #ff0000;
    --secondary-color: #000000;
    --text-color: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--text-color);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: var(--box-shadow);
}

.logo img {
    max-height: 80px;
}

/* Social Media Links */
.social-media-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.social-item {
    position: relative;
    display: inline-block;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-link i {
    margin-right: 8px;
    font-size: 1.2em;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Banner Dots */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

/* Banner Section */
.banner-section {
    position: relative;
    margin-bottom: 2rem;
}

#mainBanner {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    object-fit: cover;
    height: 400px;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mainBanner:hover .carousel-control-prev,
#mainBanner:hover .carousel-control-next {
    opacity: 0.8;
}

/* Sponsor Cards */
.sponsors-section {
    margin: 20px 0;
}

.sponsor-card {
    position: relative;
    background: url('../assets/images/sponsor-bg-desktop.jpg') center center/cover no-repeat;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.sponsor-link {
    display: block;
    height: 100%;
    padding: 12px;
}

.sponsor-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sponsor-logo {
    margin-bottom: 15px;
}

.sponsor-logo img {
    max-height: 90px;
    max-width: 100%;
}

.sponsor-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.sponsor-subtitle {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.sponsor-stars {
    margin-top: 10px;
}

.sponsor-stars i {
    font-size: 1.2rem;
    margin: 0 2px;
}

.sponsor-card .glass-effect {
    position: absolute;
    inset: 0;
    background: var(--sponsor-glass, rgba(0,0,0,0.4));
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    z-index: 1;
}

/* Ana Sponsor Etiketi */
.main-sponsor-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000; /* Tema ana rengini kullan */
    color: var(--text-color); /* Tema yazı rengini kullan */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem; /* Biraz küçültüldü */
    font-weight: bold;
    z-index: 3;
}

/* Footer Styles */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px 0;
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Üst çizgi eklendi */
}

footer p {
    margin-bottom: 5px;
}

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

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline; /* Hover'da alt çizgi */
}

.powered-by-link {
    color: rgba(255,255,255,0.8); /* Başlangıç rengi */
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease; /* Animasyon */
    display: inline-block; /* Transform için gerekli */
}

.powered-by-link:hover {
    color: #fff; /* Hover'da daha belirgin renk */
    transform: translateY(-2px); /* Hafif yukarı kayma */
}

.powered-by-link span {
    color: #fff; /* Blonk Digital yazısı */
    font-weight: bold;
}

footer .admin-controls {
    margin-top: 15px;
}

/* Popup Styles */
.modal-content {
    border-radius: var(--border-radius);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Admin Controls Styles */
.admin-controls {
    z-index: 1000;
}

.edit-link, .add-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.add-link {
    background-color: rgba(40, 167, 69, 0.7);
}

.edit-link:hover, .add-link:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: #fff;
}

.edit-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1000;
}

.page-content .card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.page-content .card-title {
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .social-media-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .social-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .sponsor-title {
        font-size: 1.3rem;
    }
    
    .sponsor-subtitle {
        font-size: 1rem;
    }
    
    .carousel-caption {
        display: block !important;
        padding: 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .carousel-inner img {
        height: auto !important;
        max-height: 180px;
    }
    
    .sponsor-card {
        background: url('../assets/images/sponsor-bg-mobile.jpg') center center/cover no-repeat;
    }
}

@media (max-width: 576px) {
    .social-link {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .social-link i {
        margin-right: 5px;
    }
    
    .sponsor-card {
        margin-bottom: 15px;
    }
}
