:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --primary: #d4af37;
    --text: #f3f3f3;
    --text-muted: #a0a0a0;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--surface);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 5% 5%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p.subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #121212;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

/* Optimizovani kontejner za sliku sa fiksnim aspektom da spreči CLS */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-image-wrapper img,
.hero-image-wrapper svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 5% 5%;
    background-color: var(--surface);
}

.card {
    background-color: var(--bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg);
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    nav {
        display: none;
    }
}
