@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --accent-color: #1abc9c;
    --text-color: #ffffff;
    --background-dark: rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
    z-index: -1;
}

header {
    background: var(--background-dark);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Responzivní styly pro navigaci */
@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }

    nav {
        flex-direction: row;
        gap: 0.5rem;
    }

    .logo {
        margin-bottom: 0;
    }

    nav ul {
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    nav li {
        font-size: 0.8rem;
    }

    nav a {
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
    }

    main {
        padding-top: 80px;
    }
}

/* Speciální styly pro mobilní zařízení */
@media screen and (max-width: 480px) {
    header {
        padding: 0.3rem 0.5rem;
    }

    nav {
        gap: 0.3rem;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    nav ul {
        gap: 0.3rem;
    }

    nav li {
        font-size: 0.7rem;
    }

    nav a {
        padding: 0.2rem 0.3rem;
    }

    /* Skrytí položky Galerie na mobilních zařízeních */
    nav ul li:nth-child(3) {
        display: none;
    }

    main {
        padding-top: 60px;
    }
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background-color 0.3s;
}

.btn.primary {
    background: var(--primary-color);
    color: var(--text-color);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
}

.btn:hover {
    transform: translateY(-3px);
}

.features {
    background: var(--background-dark);
    border-radius: 10px;
    margin: 2rem auto;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.connect {
    text-align: center;
    background: var(--background-dark);
    border-radius: 10px;
    margin: -2rem auto 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.connect h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.connect-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.connect-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.connect-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.connect-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.connect-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.connect-card .btn.primary {
    display: inline-block;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jobs {
    background: var(--background-dark);
    border-radius: 10px;
    margin: 2rem auto;
    padding: 3rem 2rem;
}

.jobs h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.jobs-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.jobs-info, .companies-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jobs-info h3, .companies-info h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.jobs-info h3:first-child, .companies-info h3:first-child {
    margin-top: 0;
}

.jobs-info p, .companies-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #fff;
}

.commands {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 5px;
}

.commands h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commands p {
    margin-bottom: 0.5rem;
}

.commands code {
    background: rgba(46, 204, 113, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-color);
    font-family: monospace;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.online-players {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.online-players i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

#playerCount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

#maxPlayers {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.online-text {
    font-size: 1.2rem;
    color: var(--text-color);
}

.server-type {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.gallery {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    box-sizing: border-box;
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responzivní styly pro mobilní zařízení */
@media screen and (max-width: 768px) {
    .gallery {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
    }
}

/* Lightbox styly */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

footer {
    background: var(--background-dark);
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.social-links i {
    font-size: 1.3em;
}

.social-hero {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.social-hero a {
    color: var(--primary-color);
    margin: 0 0.7rem;
    font-size: 2.2rem;
    transition: color 0.3s, transform 0.3s;
    vertical-align: middle;
}

.social-hero a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.social-hero i {
    vertical-align: middle;
} 