/* base.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background-color: #080808;
    color: #e0e0e0;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.5;
}

/* Container Styling */
.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styling */
header {
    background-color: #000000;
    padding: 20px 0;
    border-bottom: 3px solid #ff0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header svg {
    max-width: 100%;
    height: auto;
}

header h1 {
    width: 100%;
    text-align: left;
    color: #ff0000;
    font-size: 3rem;
}

#h1-title {
    fill: url(#red-metal-gradient);
}

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li {
    display: inline-block;
    position: relative;
}

header nav ul li svg {
    width: 100%;
    height: 100%;
}

header nav ul li a {
    color: #e0e0e0;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px;
    transition: color 0.4s ease;
}

header nav ul li a:hover {
    color: #ff0000;
    cursor: pointer;
}

#nav-home-text,
#nav-studios-text,
#nav-projects-text {
    fill: url(#silver-metal-gradient);
}

#nav-home-text:hover,
#nav-studios-text:hover,
#nav-projects-text:hover {
    fill: url(#red-metal-gradient);
    cursor: pointer;
    transition: fill 0.4s ease;
}

/* Main Content Styling */
main {
    margin: 40px 0;
}

main h2 {
    color: #ff3333;
    /* Stark red for section headings */
    margin-bottom: 15px;
    font-size: 1.8em;
}

main p,
main ul,
main address {
    margin-bottom: 20px;
}

main ul {
    padding-left: 20px;
}

main ul li {
    margin-bottom: 10px;
}

/* Footer Styling */
footer {
    background-color: #000000;
    padding: 20px 0;
    border-top: 3px solid #ff0000;
    text-align: center;
}

footer p {
    color: #e0e0e0;
    margin-bottom: 10px;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

footer nav ul li {
    margin: 0 15px;
}

footer nav ul li a {
    color: #e0e0e0;
    fill: url(#silver-metal-gradient);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

footer nav ul li a:hover {
    color: #ff3333;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    #h1-title {
        max-width: 100%;
    }

    #h1-text {
        font-size: 8vw;
    }

    header h1 {
        margin-left: 0;
        margin-bottom: 10px;
    }

    footer nav ul {
        flex-direction: column;
    }
}

/* Dropdown Enhancements */
.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

details.dropdown {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #101010;
    color: #e0e0e0;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

summary.dropdown-summary {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff3333;
    list-style: none;
    /* Remove default triangle marker */
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

summary.dropdown-summary::before {
    content: "▼";
    /* Closed state */
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

details[open] summary.dropdown-summary::before {
    /* Open state */
    transform: rotate(180deg);
}

.dropdown-content {
    margin-top: 10px;
    padding: 10px;
    background-color: #202020;
    border-top: 1px solid #333;
    color: #e0e0e0;
    line-height: 1.5;
}

details:hover {
    border-color: #ff3333;
    background-color: #181818;
}