/* sportsTickets.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

h2 {
    text-align: center;
    margin-top: 20px;
}

/* Ensure .sport-tile is a flex container with a set height */
.sport-tile {
    position: relative; /* Make sure the overlay positions relative to this */
    width: 300px;
    height: 200px; /* Ensure the height is fixed */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: flex-end; /* Push overlay to the bottom */
}

/* Ensure image takes up the rest of the space */
.sport-tile img {
    width: 100%;
    height: 100%; /* Image fills the entire tile */
    object-fit: cover;
    border-radius: 10px;
}

.sport-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sport-tile:hover {
    transform: scale(1.05);
}


/* Hero Section (for reference) */
.hero {
    background: url('../../images/Stadium.png') center/cover no-repeat;
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}


/* Text Styling */
.hero h1 {
    font-size: 3rem; /* Large font for the heading */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Adds a subtle shadow to the text for better readability */
    margin-bottom: 20px; /* Spacing below the title */
}

/* Button Styling */
.cta-button {
    padding: 15px 30px; /* Add padding for button */
    font-size: 1.2rem; /* Increase button text size */
    background-color: #ff5c00; /* Gold background */
    border: none;
    border-radius: 5px; /* Rounded corners */
    color: white;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    text-transform: uppercase; /* Make button text uppercase */
}

.cta-button:hover {
    background-color: #ff4500; /* Darker gold/orange on hover */
    cursor: pointer; /* Pointer cursor on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem; /* Adjust text size on smaller screens */
    }
    
    .cta-button {
        font-size: 1rem; /* Adjust button text size on smaller screens */
        padding: 12px 25px; /* Adjust button padding on smaller screens */
    }
}