* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://raw.githubusercontent.com/XyrishLey/Pits-Stops-Collectibles-Website/refs/heads/main/cover%20photo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #111;
}

.logo-text, .hero-inner h1, .product-card h3, .nav-button, .cta-button, .buy-btn {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    position: relative; 
    z-index: 10;
}

.hero {
    margin-top: 0;
    height: 90vh; 
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding-bottom: 100px;
}

.hero-inner h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e60000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #ff0000;
}

.nav-logo {
    color: inherit; 
    text-decoration: none; 
    display: inline-block;
    transition: transform 0.3s;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: white;
    margin: 0;
    text-decoration: none;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 0.75rem;
    white-space: nowrap;
}

.nav-button:hover {
    background-color: #555;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    z-index: 1; 
}

.product-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    cursor: pointer;
}

.product-card h3 {
    color: #000;
    margin-top: 10px;
    font-size: 1rem;
}

.product-card p {
    font-weight: bold;
    color: #e60000;
    margin: 5px 0;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.product-card img {
    width: auto;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.product-card button, .buy-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.product-card button:hover, .buy-btn:hover {
    background: #e60000;
    transform: scale(1.02);
}

.about-hero {
    height: 90vh; 
    width: 100%;
    background: transparent; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.social-container {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.social-box {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.social-box:hover {
    transform: scale(1.1);
}

.social-box img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.about-description {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.7); 
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.5;
}

footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 15px 10px;
    border-top: 2px solid #e60000;
}

.footer-container {
    max-width: 800px;
    margin: auto;
}

.footer h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.footer p {
    margin: 3px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer a:hover {
    color: white;
}

.footer .copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.hero {
    min-height: 100vh !important;
    height: auto !important;
    padding: 80px 20px !important;
}

footer {
    margin-top: auto;
}

@media (max-width: 768px) {

    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        gap: 8px;
        margin-top: 10px;
        padding-bottom: 5px;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-button {
        flex: 0 0 auto;
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    .hero {
        height: auto;
        padding: 80px 15px 120px; 
        text-align: center;
    }

    .hero-inner {
        padding: 0 10px;
    }

    .hero-inner h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        word-break: break-word;
        margin-bottom: 10px;
    }

    .hero-inner p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-bottom: 20px;
    }

    footer {
        padding: 25px 15px;
    }

     .hero {
        min-height: 100vh;
        padding: 100px 15px 120px;
    }

    .hero-inner h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    @media (max-width: 768px) {

    .social-box img {
        width: 65px;
        height: 65px;
    }

    .social-container {
        gap: 20px;
    }

    .about-description {
        max-width: 90%;
        padding: 12px;
        font-size: 0.8rem;
    }

    .about-description p {
        margin-bottom: 6px;
    }
        
@media (max-width: 768px) {

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .product-card {
        padding: 10px;
        border-radius: 10px;
    }

    .product-card img {
        height: 150px;
    }

    .product-card h3 {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .product-card p {
        font-size: 0.85rem;
    }

    .buy-btn {
        font-size: 0.75rem;
        padding: 6px;
    }

}

@media (max-width: 480px) {

    .products {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 140px;
    }

}
