/* OSNOVE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", Arial, sans-serif;
    background-color: #FFFAFA;
    color: #000000;
    line-height: 1.7;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: #6F4E37;
    margin-bottom: 15px;
}

p {
    text-align: justify;
    margin-bottom: 15px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* POMOĆNE KLASE */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-blue {
    background-color: #B9D9EB;
}

.bg-tan {
    background-color: #CFB59E;
}

.center-text {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HEADER */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #6F4E37;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #FFFAFA;
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

.logo-text {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 16px;
}

.nav-link:hover {
    color: #B9D9EB;
}

/* HERO */
.hero {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url("../img/hero-slika.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.hero-container {
    width: 100%;
}

.hero-box {
    max-width: 500px;
    background-color: rgba(255, 250, 250, 0.85);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.hero-title {
    font-size: 32px;
    color: #6F4E37;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    color: #3d2b1f;
}

/* LAYOUT & SEKCIJE */
.section {
    padding: 50px 0;
}

.grid-split {
    display: grid;
    grid-template-areas:
        "main"
        "side";
    gap: 30px;
    align-items: stretch;
}

.main-text {
    grid-area: main;
}

.side-fact {
    grid-area: side;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* CITAT */
.quote-section {
    background-color: #B9D9EB;
    color: #3d2b1f;
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 22px;
    margin: 20px 0;
    text-align: center;
}

.quote-author {
    color: #3d2b1f;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
}

.quote-line {
    width: 60px;
    height: 2px;
    background-color: #3d2b1f;
    margin: 0 auto;
}

.quote-style {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 20px;
    color: #3d2b1f;
    text-align: center;
}

/* KARTICE */
.grid-cards {
    display: grid;
    grid-template-areas:
        "card1"
        "card2"
        "card3"
        "card4"
        "card5"
        "card6";
    gap: 25px;
}

.grid-cards>*:nth-child(1) {
    grid-area: card1;
}

.grid-cards>*:nth-child(2) {
    grid-area: card2;
}

.grid-cards>*:nth-child(3) {
    grid-area: card3;
}

.grid-cards>*:nth-child(4) {
    grid-area: card4;
}

.grid-cards>*:nth-child(5) {
    grid-area: card5;
}

.grid-cards>*:nth-child(6) {
    grid-area: card6;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-line {
    width: 50px;
    height: 3px;
    background-color: #6F4E37;
    margin-bottom: 15px;
}

.fact-card {
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.fact-number {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 700;
    color: #6F4E37;
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    background-color: #6F4E37;
    color: #FFFAFA;
    margin-top: 50px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 20px;
}

.footer-bottom p {
    text-align: center;
    margin: 0;
    font-size: 15px;
}

/* MEDIA QUERIES (Breakpoints) */

/* SMALL (>= 576px) */
@media (min-width: 576px) {
    .grid-cards {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "card1 card2"
            "card3 card4"
            "card5 card6";
    }
}

/* MEDIUM (>= 768px) */
@media (min-width: 768px) {
    .grid-split {
        grid-template-columns: 2fr 1fr;
        grid-template-areas: "main side";
    }
}

/* LARGE (>= 992px) */
@media (min-width: 992px) {
    .grid-cards {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "card1 card2 card3"
            "card4 card5 card6";
    }

    .logo-img {
        height: 55px;
    }

    .logo-text {
        font-size: 30px;
    }

    .nav-link {
        font-size: 18px;
        padding: 5px 10px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 46px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}