/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: #191919;
    color: #fff;
    overflow-x: hidden;
}

/* Links */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ccc;
}

/* Main Container */
#contentContainer {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    background-color: #191919;
}

/* Logo */
#logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

#logo img {
    max-width: 200px;
    height: auto;
}

/* Menu Control */
#menu-control {
    position: fixed;
    top: 30px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

#menu-control span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.3s;
}

#menu-control span:before,
#menu-control span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s;
}

#menu-control span:before {
    top: -8px;
}

#menu-control span:after {
    bottom: -8px;
}

/* Page Content */
#pageContent {
    max-width: 800px;
    margin: 100px auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
}

#page-title {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 300;
}

#pageContent p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Search Form */
#full-search {
    position: fixed;
    top: 20px;
    right: 70px;
    z-index: 1000;
}

#big-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 15px;
    width: 200px;
    border-radius: 3px;
    font-size: 14px;
}

/* Social Icons */
#socialIcons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

#socialIcons a {
    font-size: 20px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#socialIcons a:hover {
    opacity: 1;
}

/* Header Images Slideshow */
#headerImages {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.header-image.activeBg {
    opacity: 1;
}

.header-image img {
    display: none;
}

/* Loading Animation */
#loading-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Content Cover */
#contentCover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

/* Footer */
#footerContainer {
    position: relative;
    background: #000;
    padding: 40px 20px;
    margin-top: 50px;
}

#footer {
    max-width: 1200px;
    margin: 0 auto;
}

/* Credits */
#vys-credits {
    text-align: center;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.8;
}

#footer-logo {
    display: block;
    margin-bottom: 30px;
}

#footer-logo img {
    max-width: 200px;
    height: auto;
}

#vys-credits span {
    display: block;
    margin: 5px 0;
}

#vys-credits small {
    font-size: 12px;
    opacity: 0.7;
}

#rating {
    margin-top: 30px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

#rating-info {
    font-size: 14px;
    color: #ccc;
}

/* Footer Menu */
#footerMenuContainer {
    text-align: center;
    margin: 30px 0;
}

#footerMenu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#footerMenu li {
    display: inline-block;
}

#footerMenu a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#footerMenu .current-menu-item a {
    color: #ccc;
}

/* Copyright */
#copyright {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #000;
    padding: 20px;
    z-index: 999;
    transition: right 0.3s;
    overflow-y: auto;
}

#sidebar.active {
    right: 0;
}

#sidebar-logo {
    display: block;
    margin-bottom: 30px;
    text-align: center;
}

#sidebar-logo img {
    max-width: 150px;
    height: auto;
}

#navigation {
    margin-bottom: 30px;
}

#dropmenu {
    list-style: none;
}

#dropmenu li {
    margin-bottom: 10px;
}

#dropmenu a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sidebar-widgets {
    list-style: none;
}

.widget_search input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    #logo {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
    }
    
    #pageContent {
        margin: 20px auto;
        padding: 20px;
    }
    
    #footerMenu {
        flex-direction: column;
        gap: 10px;
    }
    
    #socialIcons {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 20px;
    }
    
    #full-search {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px 0;
    }
}