/* RESET + BODY */
body {
    margin: 0;
    font-family: Arial, sans-serif;

    /* BACKGROUND IMAGE */
    background-image: url('court.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* OVERLAY (makes text readable) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

/* NAVBAR */
nav {
    background-color: #111;
    padding: 15px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: orange;
}

/* CART ICON */
.cart-icon {
    color: white;
    margin-left: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('court.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #ddd;
}

/* GENERAL TEXT */
h1, h2 {
    margin-bottom: 10px;
    color: #222;
}

p {
    color: #555;
    font-size: 16px;
}

/* PRODUCTS CONTAINER (REPLACES <center>) */
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

/* PRODUCT CARD */
.product {
    display: inline-block;
    background-color: white;
    padding: 15px;
    margin: 15px;
    border-radius: 10px;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EFFECT */
.product:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}

/* IMAGE */
.product img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.08);
}

/* BUTTON */
.product button {
    width: 100%;
    padding: 10px;
    background-color: orange;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.product button:hover {
    background-color: darkorange;
}

.product button:active {
    transform: scale(0.95);
}

/* FAKE ADDED TEXT */
.product button::after {
    content: "";
    display: block;
    font-size: 12px;
    color: green;
}

.product button:focus::after {
    content: "Added!";
}

/* QUANTITY */
.quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.quantity input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.quantity button {
    width: 30px;
    height: 30px;
    background-color: orange;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.quantity button:hover {
    background-color: darkorange;
}

.quantity button:active {
    transform: scale(0.9);
}

/* SECTIONS */
.intro, .about, .contact {
    text-align: center;
    padding: 50px 20px;
}

.about p {
    max-width: 600px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
}

/* SOCIALS */
.socials a {
    text-decoration: none;
    color: orange;
    font-weight: bold;
}

.socials a:hover {
    color: darkorange;
}

.socials i {
    margin-right: 8px;
    font-size: 18px;
}

/* FORM */
input, textarea {
    width: 250px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: orange;
    color: white;
    border: none;
    padding: 10px;
    width: 270px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: darkorange;
}

/* FOOTER */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}