/* General Styles */
body {
    font-family: 'Orbitron', sans-serif;
    background-color: #111;
    color: #51bbd6;
    margin: 0;
    padding: 0;
    text-align: center;
}
section {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
    color: #e0f7ff;
}
h1, h2, h3 {
    font-weight: 700;
    color: #51bbd6;
}
p {
    line-height: 1.6;
}

/* Desktop Navigation */
.desktop-nav {
    background: #222;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.desktop-nav a {
    color: #51bbd6;
    text-decoration: none;
    font-weight: bold;
}

.desktop-nav a:hover {
    color: #5edeff;
}

/* Mobile Navigation */
.mobile-nav {
    display: none; /* Hidden on larger screens */
    background: #222;
    padding: 10px;
    position: relative;
    justify-content: flex-start; /* Aligns hamburger icon to the left */
}

/* Hide the checkbox input */
#menu-toggle {
    display: none;
}

/* Hamburger icon styling */
.menu-icon {
    font-size: 1.5em;
    color: #51bbd6;
    cursor: pointer;
    margin-left: 10px; /* Adds space on the left */
    display: block;
}

/* Collapsible menu styling */
.mobile-nav .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #222;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 0;
    border-top: 1px solid #333;
    z-index: 1;
}

/* Show the menu when checkbox is checked */
#menu-toggle:checked + .menu-icon + .menu {
    display: flex;
}

/* Mobile link styling */
.mobile-nav a {
    color: #51bbd6;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.mobile-nav a:hover {
    color: #5edeff;
}

/* Hero Backgrounds */
#hero { background: #222 url('images/hero-home-bg.png') no-repeat center center/cover; }
#research-hero { background: #222 url('images/hero-research-bg.png') no-repeat center center/cover; }
#products-hero { background: #222 url('images/hero-products-bg.png') no-repeat center center/cover; }
#music-hero { background: #222 url('images/hero-music-bg.png') no-repeat center center/cover; }
#company-hero { background: #222 url('images/hero-company-bg.png') no-repeat center center/cover; }
#contact-hero { background: #222 url('images/hero-contact-bg.png') no-repeat center center/cover; }

/* Hero Content */
.hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: #e0f7ff;
}
.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 0.3em;
}
.tagline {
    font-size: 1.2em;
    margin-bottom: 1em;
    font-style: italic;
    color: #5edeff;
}
.hero-desc {
    max-width: 600px;
    margin: 0 auto 2em;
}

/* Hero Button */
.hero-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    color: #111;
    background: #5edeff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.hero-button:hover {
    background: #51bbd6;
}

/* Grid Container */
.grid-container, .products-grid, .albums-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Product and Card Styling */
.card, .product-card, .album-card {
    background: #333;
    color: #e0f7ff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}
.card h3, .product-card h3, .album-card h3 {
    font-size: 1.4em;
    color: #51bbd6;
}
.card:hover, .product-card:hover, .album-card:hover {
    transform: scale(1.05);
}

/* Product Card Layout */
.product-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    background-color: #333;
    text-align: center;
    transition: transform 0.3s;
    gap: 20px; /* Adds space between image and text */
}

/* Alternate Background for Striped Effect */
.product-card:nth-child(even) {
    background-color: #444;
}

/* Product Image Styling */
.product-image {
    width: 120px;
    height: auto;
    border-radius: 5px;
}

/* Product Details Styling */
.product-details {
    flex: 1;
}

/* Product Name Styling */
.product-card h3 {
    font-size: 1.4em;
    margin: 10px 0;
    color: #51bbd6;
}

/* Product Description and Price Styling */
.product-desc {
    font-size: 0.9em;
    line-height: 1.5;
    padding: 10px 0;
}
.product-price {
    font-size: 1em;
    font-weight: bold;
    color: #51bbd6;
    margin-top: 10px;
}

/* Album Image Styling */
.album-image {
    width: 350px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* Lists */
ul.list {
    list-style-type: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}
ul.list li {
    background: #333;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
}

/* Responsive Settings */
@media (max-width: 768px) {
    /* Hide desktop nav and show mobile nav */
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Hero Content Adjustments */
    .hero-content h1 {
        font-size: 1.8em;
    }
    .tagline {
        font-size: 1em;
    }
    .hero-desc {
        font-size: 0.9em;
    }
    
    /* Stack product image and text vertically on mobile */
    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Adjust image size on mobile */
    .product-image {
        width: 80%; /* Make image wider on smaller screens */
        max-width: 250px;
        margin-bottom: 15px; /* Adds space below the image */
    }
    
    /* Center product details on mobile */
    .product-details {
        width: 100%;
    }

    /* Grid Containers */
    .grid-container, .products-grid, .albums-grid {
        align-items: center;
    }
}

/* Apply Button Styling */
.apply-button {
    display: inline-block;
    padding: 10px 20px;
    color: #111; /* Text color */
    background: #51bbd6; /* Background color */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.apply-button:hover {
    background: #5edeff; /* Hover color */
    color: #111; /* Keep text color the same on hover */
}

/* AI Leaders Section */
.ai-leaders {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.ai-leader {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: #333;
    text-align: left;
}

.ai-leader:nth-child(even) {
    background-color: #444; /* Alternate background color */
}

/* Image Styling */
.leader-image {
    width: 350px;
    height: auto;
    border-radius: 5px;
}

/* Leader Info Styling */
.leader-info {
    flex: 1;
}

/* Reverse Layout for Alternating Leaders */
.reverse {
    flex-direction: row-reverse;
}

/* Responsive Settings */
@media (max-width: 768px) {
    .ai-leader {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reverse {
        flex-direction: column; /* Remove reverse layout on mobile */
    }

    .leader-image {
        width: 80%; /* Scale image down on smaller screens */
        max-width: 250px;
    }

    .leader-info {
        width: 100%;
    }
}
