body {
    background-image: url('https://img.etimg.com/thumb/width-420,height-315,imgsize-62450,resizemode-75,msid-122562794/nri/visit/fifa-to-launch-2026-world-cup-ticketing-programme-this-september/fifa-world-cup.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #121212; /* Fallback color */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header, footer {
    background-color: #1c1c1c;
}

#hero {
    background: url('https://images.unsplash.com/photo-1517420581299-7376378494d5?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero .display-4 {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#countdown {
    background-color: #1e1e1e;
}

#timer > div {
    margin: 0 20px;
    font-size: 1.5em;
}

#timer span {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
}

#hosts {
    background-color: #121212;
}

#hosts .card {
    background-color: #2a2a2a;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

#hosts .card:hover {
    transform: translateY(-10px);
}

#hosts .card-img-top {
    height: 180px;
    object-fit: cover;
    padding: 1rem;
}

#hosts .card-title {
    color: #ffffff;
}

#schedule {
    background-color: #1e1e1e;
}

.navbar {
    background-color: #1c1c1c !important;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1020; /* Ensure it stays above other content */
}

.nav-link {
    color: #a9a9a9 !important;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
}

#schedule {
    background-color: #121212;
}

.group-title {
    color: #4a90e2; /* A vibrant blue for group titles */
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.match-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-left: 5px solid #4a90e2;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.match-card:hover {
    background-color: #2a2a2a;
}

.match-info h5 {
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
}

.match-info p {
    margin-bottom: 0;
    color: #a9a9a9;
    font-size: 0.9em;
}

.match-teams {
    display: flex;
    align-items: center;
}

.match-teams img {
    width: 40px;
    height: auto;
    border-radius: 50%;
}

.match-teams span {
    margin: 0 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
}

#teams {
    background-color: #1e1e1e; /* Slightly different background for the section */
}

.team-profile {
    background-color: #121212;
    border: 1px solid #333;
    border-left: 5px solid #4a90e2; /* Blue accent border */
    border-radius: 8px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-flag {
    width: 30px; /* Smaller flag size */
    height: auto;
    border: 1px solid #555; /* Subtle border for flags */
    border-radius: 4px; /* Slightly rounded corners for flags */
}

.team-profile h3 {
    color: #fff;
    margin-bottom: 0;
}

.team-profile p {
    margin-bottom: 5px;
    color: #a9a9a9;
}

#new-era-description {
    background-color: #1e1e1e;
}

.description-box {
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    max-width: 900px;
    text-align: left;
}

.description-box p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.description-box h2 {
    color: #4a90e2;
}

.new-era-banner {
    max-width: 100%;
    height: auto;
    margin-top: 10px; /* Adjust as needed */
}

.countdown-box {
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
}

.timer-unit {
    text-align: center;
    min-width: 80px; /* Ensure consistent width */
}

.timer-unit span {
    font-size: 3em;
    font-weight: bold;
    color: #4a90e2; /* Highlight color for numbers */
    display: block;
}

.timer-unit p {
    font-size: 1em;
    margin-top: 5px;
    color: #a9a9a9;
}

#rekomendasi {
    background-color: #121212;
}

.rekomendasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rekomendasi-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.rekomendasi-item img {
    width: auto; /* Allow width to adjust */
    height: 100px; /* Fixed height for logos */
    object-fit: contain; /* Ensure the whole image is visible */
    display: block;
    margin: 15px auto 0 auto; /* Center image and add top margin */
}

.rekomendasi-item .rekomendasi-content h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 10px;
}

.rekomendasi-item .rekomendasi-content p {
    font-size: 0.9em;
    color: #a9a9a9;
    line-height: 1.5;
    margin-bottom: 15px;
}

.rekomendasi-item .rekomendasi-content .btn-primary {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.rekomendasi-item .rekomendasi-content .btn-primary:hover {
    background-color: #357bd8;
    border-color: #357bd8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rekomendasi-grid {
        grid-template-columns: 1fr;
    }
}

#rekomendasi h2 {
    font-size: 2.8em; /* Slightly larger for main title */
    color: #ffffff; /* Ensure title color is white */
}

.subtitle-box {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 20px;
    max-width: 700px;
}

.subtitle-box p {
    font-size: 0.95em; /* Smaller font size for subtitle */
    color: #a9a9a9;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    #hero .display-4 {
        font-size: 2em; /* Smaller for mobile */
    }
    #countdown h3 {
        font-size: 1.5em; /* Smaller countdown title */
    }
    #countdown .countdown-box {
        padding: 10px; /* Reduced padding */
        max-width: 100%;
    }
    #countdown .timer-unit {
        min-width: 50px; /* Further reduce minimum width */
        margin: 0 5px; /* Adjust margin between units */
    }
    #countdown .timer-unit span {
        font-size: 1.8em; /* Even smaller numbers */
    }
    #countdown .timer-unit p {
        font-size: 0.7em; /* Even smaller text */
    }

    .rekomendasi-item .rekomendasi-content h3 {
        font-size: 1.1em;
    }

    .rekomendasi-item .rekomendasi-content p {
        font-size: 0.8em;
    }

    .description-box h2 {
        font-size: 1.5em;
    }

    .description-box p {
        font-size: 0.9em;
    }
}
