/* AGAPE FC - Custom Styles */
:root {
    --primary-color: #1a4d2e;
    --secondary-color: #ffd700;
    --accent-color: #ff6b35;
    --dark-color: #0d1f14;
    --light-color: #f8f9fa;
    --text-color: #333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

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

.navbar-toggler {
    border-color: var(--secondary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,215,0,0.05)" stroke-width="0.5"/><polygon points="50,20 60,45 87,45 65,60 73,85 50,70 27,85 35,60 13,45 40,45" fill="rgba(255,215,0,0.03)"/></svg>');
    opacity: 0.3;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero .slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease;
}

.hero .cta-buttons {
    animation: fadeInUp 1.2s ease;
}

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

/* Buttons */
.btn-primary {
    background: var(--secondary-color);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

.bg-light-section {
    background: var(--light-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* Player Cards */
.player-card {
    text-align: center;
    padding: 2rem;
}

.player-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.player-card:hover img {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.player-card h4 {
    color: var(--primary-color);
    margin-top: 1rem;
}

.player-card .position {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Match Highlights Slider */
.match-slider {
    background: var(--primary-color);
    padding: 3rem 0;
    color: #fff;
}

.match-slide {
    padding: 2rem;
    text-align: center;
}

.match-slide h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.match-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* Fixtures */
.fixture-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.fixture-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fixture-date {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}

.fixture-teams {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--secondary-color);
}

/* Shop Items */
.product-card {
    text-align: center;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

/* Sponsors */
.sponsor-logo {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.contact-info {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;

.contact-map {
    border: 0;
    border-radius: 15px;
}
}

.contact-info h4 {
    margin-top: 1rem;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Table Styles */
.table-hover tbody tr {
    transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(26, 77, 46, 0.05);
    transform: scale(1.02);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .slogan {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .player-card img {
        width: 150px;
        height: 150px;
    }
    
    .contact-form,
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem auto;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge Styles */
.badge-custom {
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Ticket Info */
.ticket-info {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: #fff;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.ticket-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

/* News Post */
.news-post {
    margin-bottom: 3rem;
}

.transfer-news-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 12%;
    background: #f1f4f6;
}

@media (max-width: 768px) {
    .transfer-news-image {
        height: 300px;
        object-position: center 16%;
    }
}

.news-layout .row {
    align-items: flex-start;
}

.news-layout .card {
    height: auto;
}

.news-layout .card:hover {
    transform: translateY(-6px);
}

.news-sidebar .card {
    margin-bottom: 1.5rem;
}

.news-sidebar .card .card-body {
    padding: 1.5rem;
}

.news-sidebar .card-title {
    margin-bottom: 1rem;
}

.recent-post-link {
    color: var(--primary-color);
}

.recent-post-link p {
    color: inherit;
    transition: color 0.3s ease;
}

.recent-post-link:hover p {
    color: var(--accent-color);
}

.newsletter-card {
    background: var(--primary-color);
    color: #fff;
}

.newsletter-card .card-title {
    color: #fff;
}

.newsletter-card .form-control {
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.newsletter-card .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255,215,0,0.25);
}

.newsletter-card .btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.newsletter-card .btn-primary:hover {
    background: #ffbf00;
    color: var(--dark-color);
}

.news-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-meta i {
    color: var(--accent-color);
    margin-right: 5px;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #e0e0e0;
    color: var(--text-color);
    border-radius: 5px;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Stats Display */
.stat-box {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: #777;
    font-size: 1.1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
}
