/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
}


/* Header */
header {
    display: flex;
    justify-content: space-between; /* Ensure the logo and nav links are spaced correctly */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px; /* Height for larger screens */
    padding: 10px 20px; /* Adjust padding for spacing */
    background-color: #000;
    z-index: 1000;
    box-sizing: border-box;
}

header .logo {
    max-width: 100px; /* Set max width for logo */
    height: auto;
    margin-right: 20px; /* Space between the logo and nav */
}

nav {
    flex-grow: 1;
}

nav ul {
    display: flex;
    justify-content: flex-end; /* Align nav items to the right */
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff9800;
}

/* Hero Section */
.productshero {
    margin-top: 20vh;
    height: 15vh;
    width: 100%;
    text-align: center;
    background-color: #333;
    color: #fff;
}

.productshero h2{
    padding-top: 5vh;
}

.hero-content {
    max-width: 90%;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.shop-btn {
    color: white;
    padding: 15px 10px;
    font-size: 1.1rem;
    border-radius: 15px;
    transition: 0.3s;
}

.shop-btn:hover {
    border: 1.3px solid #ffffff;
    transform: translateY(-5px);
}

/* Products Section */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    text-align: center;
    width: 100%;
}

/* Product Card */
.product-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid white;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
    border: 2px solid white;
    border-radius: 15px;
    padding: 10px;
}

/* Product Image */
.product img {
    width: 100%;
    max-width: 250px;
    border-radius: 5px;
}

/* Product Details */
.product h2 {
    font-size: 18px;
    margin: 10px 0;
}

.product-info .price {
    color: #3a0000;
    font-size: 25px;
    margin-bottom: 10px;
}

/* Buttons */
.product button {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.product button:hover,
.product button:focus {
    border: 1px solid white;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}




/* Product Detail Page Styles */
.product-detail {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    color: #f8f8f8;
}

/* Product Image */
.product-image {
    flex: 1;
    max-width: 500px;
}

.product-image img {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    flex: 1;
    max-width: 500px;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price {
    font-size: 1.5rem;
    color: #360000;
    margin-bottom: 15px;
}

/* Size & Quantity Selector */
label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
}

select, input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: #222;
    color: #f8f8f8;
    border: 1px solid #555;
    border-radius: 3px;
    font-size: 1rem;
}

/* Buttons */
.buttons {
    margin-top: 20px;
}

.add-to-cart, .buy-now {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.add-to-cart {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #ffffff;
    color: #000000;
}

.buy-now {
    background: #c9a35c00;
    color: #ffffff;
    border: 2px solid #ffffff;
    transition: background 0.3s ease;
}

.buy-now:hover {
    background: #f8f8f8;
    color: #000;
}

/* Product Description & Shipping */
.product-description, .shipping {
    margin-top: 30px;
}

.product-description h2, .shipping h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #340000;
}

.product-description p, .shipping p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

/* Customer Reviews */
.reviews {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
}

.reviews h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.review {
    background: #222;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #c9a35c;
    text-align: left;
}

.review p {
    font-size: 1rem;
    color: #ddd;
    margin: 0;
}

/* Related Products */
.related-products {
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
}

.related-products h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.product-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    background: #222;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    max-width: 250px;

    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #f8f8f8;
}

.product-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.product-card a:hover {
    background: #34000000;
    color: #340000;
}

.thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 30vh;
    margin-bottom: 20vh;
}

.thankyou img {
    max-width: 100%;
    height: auto;
}

.thankyou h1 {
    font-size: 1.5rem; /* Adjust as needed */
    margin-top: 1rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
        text-align: center;
    }

    .product-image, .product-info {
        max-width: 100%;
    }

    .buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 20px;
    }

    .related-products h2, .reviews h2 {
        font-size: 1.4rem;
    }

    .product-card {
        max-width: 100%;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    header {
        height: auto; /* Allow header to adjust for smaller screens */
        padding: 10px;
        flex-direction: column; /* Stack items vertically */
    }

    .logo {
        width: 80px; /* Optionally adjust logo size on small screens */
    }

    .productshero {
        margin-top: 20vh; /* Adjust for header height on smaller screens */
        padding: 5px;
    }

    .productshero h2 {
        padding-top: 8vh;
    }

    .products {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    header {
        height: auto; /* Allow header to adjust for smaller screens */
        padding: 10px;
        flex-direction: column; /* Stack items vertically */
    }

    .logo {
        width: 80px; /* Adjust logo size further on smaller screens */
    }

    .products {
        grid-template-columns: 1fr;
    }

    .productshero {
        padding: 30px;
        height: 30vh;
    }
}