/* General Rules */
* {
    /* Set a consistent font across the site, remove text decoration, set color to white, and ensure consistent box-sizing */
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
}

body {
    /* Set the background color and remove default margins and padding */
    background-color: #0b0b0b;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.highlight {
    color: #FFD700;
    font-weight: 900;
    text-shadow: 0 0 9px rgba(255, 215, 0, 0.7);
}

/* Advicements Section */
.advicements {
    /* Center text and apply bold styling */
    text-align: center;
    color: #fff;
    font-weight: bold;
}

/* Header Styling */
header {
    /* Flexbox for horizontal alignment, with spacing and background color */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    background-color: #151515;
}

.logo-svg {
    /* Invert the logo colors and set a fixed width */
    filter: invert(100%);
    width: 335px;
}

.nav-list {
    /* Display navigation items in a row without list markers */
    display: flex;
    list-style: none;
}

.nav-item {
    /* Space between navigation items */
    margin-right: 25px;
}

.nav-link {
    /* White color for links, with a relative position for hover effects */
    color: #fff;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    /* Underline effect that expands on hover */
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-out;
}

.nav-link:hover::after {
    /* Expands the underline to the full width */
    width: 100%;
}

.navigation ul li a {
    /* Add extra spacing and boldness to navigation links */
    font-weight: 600;
    margin-left: 25px;
}

/* Promotions Section */
.promotions {
    /* Set background color, padding, and text alignment */
    background-color: #2e2e2e;
    padding: 30px;
    text-align: center;
}

.promotion-card {
    /* Styling for individual promotion cards */
    background-color: #151515;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
    max-width: 400px;
    margin-bottom: 35px;
    box-shadow: 0 0 10px rgb(17, 17, 17);
}

.promotion-button {
    /* Style for promotion buttons */
    display: inline-block;
    background-color: #303030;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

.promotion-button:hover{
    transform: scale(1.04);
}

/* Search Bar Styling */
.search-bar {
    /* Align the search bar items horizontally */
    display: flex;
    align-items: center;
}

input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer; /* Cambia el cursor a pointer */
}

.search-input {
    /* Style the input field */
    border: none;
    padding: 12px;
    border-radius: 35px;
    width: 500px;
    color: black;
}

.search-input:hover {
    transform: scale(1.02);
}

.search-button {
    /* Style the search button */
    background-color: #303030;
    border: none;
    padding: 12px 20px;
    border-radius: 35px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.search-button i {
    /* Set icon size inside the search button */
    font-size: 24px;
}

.search-button:hover {
    /* Darken button background on hover */
    background-color: #444;
}

/* Main Content Section */
.main-content {
    /* Flexbox for centering content with wrapping */
    display: flex;
    justify-content: center;
    padding: 25px;
    flex-wrap: wrap;
}

.introduction {
    /* Center introduction text with padding */
    text-align: center;
    padding: 60px 0 30px 0;
}

.card {
    /* Styling for content cards */
    max-width: 450px;
    margin: 45px 75px;
    background-color: #282828;
    padding: 20px;
    border: 5px solid #313131;
    border-radius: 25px;
    text-align: center;
}

.card-image {
    /* Style the images in the cards */
    width: 400px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.card-image, .buy-now-button {
    /* Transition effect for images and buttons */
    transition: transform 0.3s ease;
}

.card-image:hover, .buy-now-button:hover {
    /* Scale up the image and button on hover */
    transform: scale(1.03);
}

.buy-now-button {
    /* Style for 'Buy Now' buttons */
    background-color: #585858;
    padding: 15px 30px;
    display: inline-block;
    font-size: 16px;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 10px;
}

/* Newsletter Signup Section */
.newsletter {
    /* Styling for the newsletter section */
    background-color: #202020;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.newsletter-form {
    /* Flexbox for centering the form elements */
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    /* Style for the newsletter input field */
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 250px;
    color: black;
}

.newsletter-form button {
    /* Style for the newsletter submit button */
    padding: 10px 20px;
    border: none;
    background-color: #444;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer Styling */
footer {
    /* Footer background and alignment */
    background-color: #151515;
    padding: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.sites-footer, .about-footer, .contact-footer {
    /* Set maximum width for footer sections */
    max-width: 600px;
}

.footer-social, .footer-contacts {
    /* Remove default list styling in footer */
    list-style-type: none;
    padding: 0;
}

.footer-social a:hover{
    color:#FFD700;
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
    /* Adjust search input width and alignment */
    .search-input {
        max-width: 80vw;
        align-items: center;
    }

    /* Hide dropdown icon and search button on smaller screens */
    .nav-item .fa-angle-down, .search-button {
        display: none;
    }

    /* Wrap main content for smaller screens */
    .main-content {
        flex-direction: wrap;
        align-items: center;
    }

    /* Adjust card size and spacing */
    .card {
        margin: 15px 0;
        width: 300px;
        height: 570px;
        margin: 25px 25px;
    }

    .card-image {
        /* Adjust image size for smaller screens */
        width: 250px;
        height: 300px;
    }

    /* Align header items vertically on smaller screens */
    header {
        flex-direction: column;
        align-items: center;
        display: flex;
    }

    /* Adjust navigation list layout */
    .navigation ul {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 70px 0 70px 20px;
    }

    /* Adjust navigation link spacing and font size */
    .navigation ul li a {
        margin-left: 0;
        font-size: 18px;
    }
}
