/* Font faces */
@font-face {
    font-family: 'CorruptedFile';
    src: url('fonts/Corrupted File.ttf') format('truetype');
}

@font-face {
    font-family: 'CheapPotatoesBlack';
    src: url('fonts/Cheap Potatoes Black.ttf') format('truetype');
}

@font-face {
    font-family: 'VarelaRound';
    src: url('fonts/VarelaRound-Regular.ttf') format('truetype');
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    background-image: url('https://plus.unsplash.com/premium_photo-1673469118011-a1c973872d39?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Header */
header {
    background-color: rgba(17, 17, 17, 0.9);
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid #8B4513;
    box-shadow: 0 0 20px rgba(139, 69, 19, 0.5);
}

header h1 {
    font-family: 'CheapPotatoesBlack', 'Arial', sans-serif;
    font-size: 2.5rem;
    text-shadow: 0 0 15px #8B4513, 0 0 30px #8B4513;
    color: #ffffff;
}

/* Navigation */
nav {
    margin-top: 1rem;
}

.main-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav > li {
    position: relative;
    margin: 0 1rem;
}

.main-nav > li > a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

.main-nav > li > a:hover {
    text-shadow: 0 0 10px #8B4513;
    color: #D2691E;
}

/* Sub-navigation */
.sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(34, 34, 34, 0.9);
    list-style: none;
    min-width: 200px;
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
    z-index: 1000;
}

.main-nav > li:hover .sub-nav {
    display: block;
}

.sub-nav li {
    border-bottom: 1px solid #333333;
}

.sub-nav li:last-child {
    border-bottom: none;
}

.sub-nav a {
    color: #cccccc;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sub-nav a:hover {
    background-color: #333333;
    color: #D2691E;
    text-shadow: 0 0 5px #8B4513;
}

/* Sub-sub-navigation */
.sub-sub-nav {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    list-style: none;
    min-width: 200px;
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
}

.sub-nav li:hover .sub-sub-nav {
    display: block;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(139, 69, 19, 0.3);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #8B4513;
    color: #ffffff;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.quick-links {
    text-align: center;
    margin-bottom: 2rem;
}

.quick-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #8B4513;
}

.quick-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links li {
    margin: 0 1rem;
}

.quick-links a {
    color: #D2691E;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #8B4513;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background-color: #8B4513;
    color: #ffffff;
    box-shadow: 0 0 10px #8B4513;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(17, 17, 17, 0.9);
    border-top: 2px solid #8B4513;
    margin-top: 2rem;
}

footer p {
    color: #cccccc;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .main-nav > li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav > li > a {
        padding: 1rem;
        border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    }

    .sub-nav, .sub-sub-nav {
        position: static;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
    }

    .main-nav > li:hover .sub-nav {
        display: block;
    }

    .sub-nav li:hover .sub-sub-nav {
        display: block;
    }

    .quick-links ul {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        align-items: center;
    }

    .quick-links li {
        margin: 0;
        width: 100%;
        max-width: 300px;
    }

    .quick-links a {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
