/* For smaller screens, adjust layout */
@media (max-width: 768px) {
    header {
        width: 100%;
        height: auto;
        position: relative;
    }
    main {
        margin-left: 0;
        padding-top: 20px;
    }
    footer {
        width: 100%;
        left: 0;
    }
    .merch-item {
        flex-direction: column;
        align-items: center;
    }
}

/* Apply Montserrat font to the entire body */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes at least full viewport height */
    overflow: -moz-scrollbars-none; /* For older Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    scrollbar-width: none; /* For Firefox */
    color: #FFF;
    font-size: 16px; /* Set a base font size */
}

/* Header styling */
header {
    background: #000;
    color: #fff;
    width: 250px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    font-size: 1rem;
}

/* Logo styling */
header .logo img {
    margin: 20px 0;
    width: 200px;
}

/* Navigation styling */
nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

nav ul li {
    width: 100%;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    display: block;
    width: 100%;
}

nav ul li a:hover {
    background: #555;
}

/* Main content area */
main {
    margin-left: 250px;
    padding: 20px;
    padding-bottom: 15vh; /* Increase padding to ensure footer doesn't overlap */
    flex: 1;
    background: url('background.jpg');
    background-size: cover;
}

.cta {
    font-size: 2rem; /* Ensure button text is readable */
}

/* Merch section styling */
.merch {
    padding: 40px 20px;
    flex: 1;
}

.merch h2 {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-item {
    display: flex;
    flex-direction: row; /* Change to row to align image to the right */
    background: rgba(0, 0, 0, 0.5); /* 50% opacity background */
    padding: 20px; /* Padding inside each item */
    border-radius: 8px; /* Optional: Rounded corners for better appearance */
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
    width: 100%; /* Ensure full width for responsive design */
    margin-top: 20px;
    font-size: 2rem; /* Font size scales with viewport width */
    align-items: center; /* Ensure items are vertically aligned */
    justify-content: center; /* Center contents horizontally */
}

.merch-item h3 {
    font-size: 2rem; /* More readable size */
}

.merch-item p {
    font-size: 1.5rem; /* More readable size */
}
.merch-item img {
    width: 200px;
    margin-right: 50px; /* Space between text and image */
}

.merch-details {
    max-width: 600px;
    text-align: center;
}

.cta {
    background: linear-gradient(135deg, #ff0024, #ff0000); /* Blue gradient background */
    border: none; /* Remove default border */
    color: #ffffff; /* Text color */
    padding: 12px 24px; /* Padding inside the button */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline from links */
    display: inline-block; /* Inline block for proper padding */
    font-size: 16px; /* Font size */
    margin: 10px 0; /* Margin for spacing */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 8px; /* More rounded corners */
    transition: all 0.4s ease; /* Smooth transition for effects */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
}

.cta:hover {
    background: linear-gradient(135deg, #ff0000, #ff0024); /* Blue gradient background */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
    transform: scale(1.05); /* Slightly larger on hover */
}

.cta:focus {
    outline: none; /* Remove default outline */
    border-color: #cc0000; /* Change border color to darker red */
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.5); /* Red focus ring */
}
/* Modal container */
.modal {
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    display: none; /* Hidden by default */
}

/* Modal content styling */
.modal-content {
    background-color: #333; /* Dark background */
    background-image: url(background.jpg);
    background-size: cover; /* Cover background image */
    padding: 20px; /* Padding inside modal */
    border-radius: 8px; /* Rounded corners */
    max-width: 70vw; /* 70% of viewport width */
    max-height: 70vh; /* 70% of viewport height */
    width: 70%; /* 70% of viewport width */
    height: 70%; /* 70% of viewport height */
    overflow-y: auto; /* Allow vertical scrolling if content overflows */
    color: #ffffff; /* Text color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    display: flex; /* Flexbox for layout */
    flex-direction: column; /* Vertical layout */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding-top: 40px; /* Adjusted padding top */
}

/* Modal body layout */
.modal-body {
    display: flex;
    align-items: center; /* Center items vertically */
    gap: 20px; /* Space between image and text */
    width: 100%; /* Full width of modal-content */
    height: 100%; /* Full height of modal-content */
}

/* Modal image styling */
.modal-image {
    flex: 1; /* Image container takes up the space it needs */
}

.modal-image img {
    width: 30vw; /* Image takes up 100% of its container */
    max-width: 50vw; /* Limit the maximum width of the image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
}

/* Text styling inside modal with opaque background */
.modal-text {
    flex: 2; /* Text container takes up the remaining space */
    background-color: rgba(0, 0, 0, 0.8); /* Opaque background for text area */
    padding: 20px; /* Padding inside text area */
    border-radius: 8px; /* Rounded corners for text background */
    width: 100%; /* Full width of text container */
    max-width: 500px; /* Maximum width of text container */
    color: #ffffff; /* Text color */
}

/* Base button styling with smooth gradient */
.modal-buy {
    background: linear-gradient(135deg, #ff0024, #ff0000); /* Blue gradient background */
    border: none; /* Remove default border */
    color: #ffffff; /* Text color */
    padding: 12px 24px; /* Padding inside the button */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline from links */
    display: inline-block; /* Inline block for proper padding */
    font-size: 16px; /* Font size */
    margin: 10px 0; /* Margin for spacing */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 8px; /* More rounded corners */
    transition: all 0.4s ease; /* Smooth transition for effects */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
}

/* Hover effect with scaling */
.modal-buy:hover {
    background: linear-gradient(135deg, #ff0000, #ff0024); /* Blue gradient background */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
    transform: scale(1.05); /* Slightly larger on hover */
}

/* Focus effect */
.modal-buy:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.5); /* Red focus ring */
}

/* Custom styles for the select element */
.size-selector {
    position: relative; /* Positioning for custom arrow */
    margin-top: 20px; /* Space above the dropdown */
}

.size-selector select {
    width: 100%; /* Full width of the container */
    padding: 12px 14px; /* Padding inside the dropdown */
    font-size: 16px; /* Font size */
    color: #333; /* Text color */
    background-color: #ffffff; /* Background color */
    border: 2px solid #ff0000; /* Red border color */
    border-radius: 8px; /* Rounded corners */
    appearance: none; /* Remove default styling */
    cursor: pointer; /* Pointer cursor */
    transition: all 0.3s ease; /* Smooth transition */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow */
}

/* Custom arrow for the dropdown */
.size-selector::after {
    content: ''; /* Empty content for the arrow */
    position: absolute; /* Positioning the arrow */
    top: 50%; /* Center vertically */
    right: 10px; /* Space from the right */
    width: 0; /* No width */
    height: 0; /* No height */
    border-left: 10px solid #ff0000; /* Arrow pointing down */
    border-top: 6px solid transparent; /* Top part of the arrow */
    border-bottom: 6px solid transparent; /* Bottom part of the arrow */
    transform: translateY(-50%); /* Center vertically */
    pointer-events: none; /* Allow clicks to pass through */
}

/* Hover effect */
.size-selector select:hover {
    border-color: #cc0000; /* Darker red border on hover */
}

/* Focus effect */
.size-selector select:focus {
    outline: none; /* Remove default outline */
    border-color: #cc0000; /* Change border color to darker red */
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.5); /* Red focus ring */
}

/* Close button styling */
.close {
    color: #ffffff; /* Close button text color */
    font-size: 2em; /* Font size for close button */
    position: absolute; /* Absolute positioning */
    top: 20px; /* Space from the top */
    right: 20px; /* Space from the right */
    cursor: pointer; /* Pointer cursor */
}

/* Footer styling */
footer {
    font-size: 1rem;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: calc(100% - 250px);
    position: fixed;
    bottom: 0;
    left: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10; /* Ensure footer is above other content */
}

footer .social-media {
    display: flex;
    gap: 100px;
    margin-top: 10px;
}

footer .social-media a {
    color: #fff;
    text-decoration: none;
}

footer .social-media a:hover {
    text-decoration: underline;
}

