/* Main Styles */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #2d4ba8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7));
    background-size: cover;
    color: white;
    padding: 100px 0;
}

/* Match Cards */
.match-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.match-card:hover {
    transform: translateY(-10px);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    text-align: center;
    flex: 1;
}

.team h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.vs {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0 20px;
}

.flag-placeholder {
    width: 80px;
    height: 50px;
    background: linear-gradient(45deg, #ddd, #eee);
    margin: 0 auto;
    border-radius: 5px;
}

.match-details {
    text-align: center;
    margin: 20px 0;
}

.match-details i {
    color: var(--primary-color);
    margin-right: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 10px;
}

.match-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Steps */
.step {
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* Stadium Cards */
.stadium-card {
    transition: transform 0.3s;
    height: 100%;
}

.stadium-card:hover {
    transform: scale(1.05);
}

.stadium-card img {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .match-teams {
        flex-direction: column;
    }
    
    .vs {
        margin: 20px 0;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
}
/* ===== HEADER STYLES ===== */

/* Top Announcement Bar */
.announcement-bar {
    font-size: 0.9rem;
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7)) !important;
}

/* Top Announcement Bar */
.announcement-bar span{
   color: #ffff;
}
/* Navbar Styles */
.navbar {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eaeaea;
    z-index: 1030;
}
.navbar a{
    color: #ffff;
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #999fa7, #bfb8c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.navbar-brand span.fs-4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #ffff;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #6d94cf;
    background-color: rgba(13, 110, 253, 0.1);
}

.navbar-nav .nav-link i {
    width: 20px;
    text-align: center;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Cart Badge */
.badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
}

/* Breadcrumb */
.breadcrumb-nav {
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* ===== FOOTER STYLES ===== */

.footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    margin-top: auto;
}

.footer-logo i {
    color: #0d6efd;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #0d6efd;
    border-radius: 2px;
}

.footer ul li a {
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #0d6efd !important;
    padding-left: 5px;
}

/* Social Icons */
.social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links .social-icon:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

/* Contact Info Icons */
.footer .fa-map-marker-alt,
.footer .fa-phone,
.footer .fa-envelope,
.footer .fa-clock {
    width: 20px;
}

/* Payment Icons */
.fa-cc-visa,
.fa-cc-mastercard,
.fa-cc-amex,
.fa-cc-paypal,
.fa-cc-apple-pay,
.fa-cc-google-pay,
.fa-university {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.fa-cc-visa:hover,
.fa-cc-mastercard:hover,
.fa-cc-amex:hover,
.fa-cc-paypal:hover,
.fa-cc-apple-pay:hover,
.fa-cc-google-pay:hover,
.fa-university:hover {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0.2rem 0;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links .d-flex {
        justify-content: center;
    }
    
    .footer ul li {
        text-align: center;
    }
    
    .footer .d-flex {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .top-announcement .container .row {
        text-align: center;
    }
    
    .top-announcement .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
    
    .navbar-brand span.fs-4 {
        font-size: 1.25rem !important;
    }
}


/* Stile per cart badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon {
    position: relative;
}

/* Stile per il brand nel menu */
.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-main {
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.brand-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}