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

body {
    background: #f0f3f8;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* navigacija */
.navbar {
    background: #0a1824;
    color: white;
    padding: 1rem 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #c9a85d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.logo-area h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-area h1 span {
    color: #c9a85d;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

.nav-links a {
    color: #e7edf3;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #c9a85d;
    border-bottom-color: #c9a85d;
}

/* HERO BANNER */
.hero-image {
    position: relative;
    width: 100%;
    height: 550px;
    background-image: url('https://images.pexels.com/photos/6114965/pexels-photo-6114965.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: inset 0 0 0 1000px rgba(0, 15, 30, 0.35);
    border-bottom: 4px solid #c9a85d;
}

.hero-overlay-text {
    max-width: 900px;
    padding: 1.5rem 2.5rem;
    background: rgba(10, 25, 40, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 60px;
    border: 1px solid #c9a85d;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

.hero-overlay-text p {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-style: italic;
    color: #f9f1de;
    text-shadow: 2px 2px 6px #00000070;
}

.hero-overlay-text i {
    color: #c9a85d;
    margin: 0 0.5rem;
}

/* TRI KOLONE */
.three-columns {
    max-width: 1400px;
    width: 95%;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr minmax(0, 3fr) 1fr;
    gap: 2rem;
    align-items: start;
    flex: 1;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem 1rem 1.8rem 1rem;
    box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ffffff80;
    backdrop-filter: blur(2px);
    transition: all 0.2s;
}

.side-card:hover {
    transform: scale(1.02);
    border-color: #c9a85d;
}

.side-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #142734;
    border-bottom: 2px dashed #c9a85d;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.side-card img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    margin: 1rem 0;
    border: 3px solid #f5f5f5;
    transition: 0.3s;
    object-fit: cover;
}

.side-card img:hover {
    border-color: #c9a85d;
}

.side-card p {
    color: #3f5465;
    font-size: 1rem;
    font-weight: 500;
    background: #f4f9ff;
    padding: 0.6rem 1rem;
    border-radius: 40px;
    margin-top: 0.5rem;
}

.mini-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chess-quote {
    font-style: italic;
    background: #fcf9f0;
    padding: 1.2rem;
    border-radius: 20px;
    color: #2b404e;
    border-left: 6px solid #c9a85d;
    font-size: 1rem;
}

.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.post-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(10, 40, 60, 0.2);
    padding: 2rem 2.2rem;
    border: 1px solid #e7ecf2;
    transition: 0.25s;
}

.post-card:hover {
    border-color: #c9a85d;
    box-shadow: 0 25px 45px -10px #0a1e2e40;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta .date {
    background: #e7eef6;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.post-meta .category {
    color: #c9a85d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
    color: #0e2838;
    border-left: 6px solid #c9a85d;
    padding-left: 1.2rem;
}

.post-content p {
    font-size: 1.1rem;
    color: #2e4a5f;
    margin-bottom: 1rem;
}

.post-img-inline {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 24px;
    margin: 1rem 0 1rem 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: none;
    border: none;
    font-weight: 600;
    color: #1d4c6b;
    margin-top: 0.5rem;
    cursor: default;
}

.read-more i {
    transition: transform 0.2s;
}

.post-card:hover .read-more i {
    transform: translateX(7px);
    color: #c9a85d;
}

/* FOOTER */
.site-footer {
    background: #0b1b27;
    color: #ccdee9;
    padding: 3rem 5% 1.5rem;
    border-top: 4px solid #c9a85d;
    position: relative;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #c9a85d;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: #b7d0de;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: #c9a85d;
    transform: translateX(5px);
}

.footer-col i {
    width: 24px;
    color: #c9a85d;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #234a5e;
    font-size: 0.9rem;
    color: #9ab4c5;
}

.creator-credit {
    position: absolute;
    bottom: 18px;
    right: 30px;
    background: rgba(201, 168, 93, 0.18);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.6rem;
    border-radius: 60px;
    border: 1px solid #c9a85d;
    font-size: 0.95rem;
    font-weight: 500;
    color: #e7dbbc;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.creator-credit a {
    color: #f5e6c6;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    border-bottom: 1px dotted #c9a85d;
}

.creator-credit a:hover {
    color: white;
    border-bottom-color: white;
}

.creator-credit i {
    color: #c9a85d;
    margin-right: 6px;
}

@media (max-width: 1000px) {
    .three-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .side-card {
        width: 280px;
    }

    .hero-image {
        height: 400px;
    }

    .hero-overlay-text p {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .post-title {
        font-size: 1.7rem;
    }

    .hero-overlay-text p {
        font-size: 1.3rem;
    }

    .hero-image {
        height: 320px;
    }

    .creator-credit {
        position: static;
        margin-top: 20px;
        text-align: center;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }
}