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

/* Header */
#g-navigation {
    background: #031a2b;
    color: white;
    position: fixed;
    width: 100%;
    height: 63px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
}

#g-navigation .logo img {
    height: 43px;
}

#g-navigation nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

#g-navigation nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

#g-navigation nav ul li a:hover {
    color: #eeaf13;
}

/* Hero */
.hero {
    background: url("../images/cover.webp") center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 63px;
}

.hero-text h1 {
    font-size: 4rem;
    color: #1a2764;
}

.subtitle,
.date {
    color: #1a2764;
    margin: 0.5rem 0;
}

.button-wrapper {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.uvod-button {
    background-color: #e1543a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.25rem;
}

.uvod-button:hover {
    background-color: #c0432f;
}

.uvod-button.prispet {
    width: 220px;
}

/* Info */
.info {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.info h2 {
    margin-bottom: 1rem;
    color: #69140e;
}

.info p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.tile {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.tile img {
    width: 100%;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transition: 0.3s;
}

.tile:hover .overlay,
.tile.active .overlay {
    opacity: 1;
}

/* Footer */
#g-footer {
    background: #031a2b;
    color: white;
    text-align: center;
    padding: 2rem;
}

#g-footer a img {
    margin: 0 0.5rem;
    height: 27px;
}