:root {
    /* Boje */
    --primary-color: #2C5F2D; /* Tamnozelena */
    --secondary-color: #97BC62; /* Svijetlozelena */
    --background-color: #F0EAD6; /* Svijetlo bež */
    --footer-bg-color: #2C5F2D;
    --button-color: #97BC62;
    --button-gradient-start: #97BC62;
    --button-gradient-end: #80AA50; /* Tamnija nijansa za gradijent */
    --card-bg-color: #FFFFFF;
    --card-bg-subtle-beige: #FCFBF8; /* Suptilna bež za kartice */

    /* Sekcije pozadine */
    --section-bg-1: #E0DACE;
    --section-bg-2: #F8F5E7;
    --section-bg-3: #D9E8D1;

    /* Tekst boje */
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --text-color-subtle: #555555;

    /* Fontovi */
    --font-family-primary: 'Montserrat', sans-serif;

    /* Razmaci i veličine */
    --spacing-unit: 1rem;
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    --header-height: 4rem; /* Primjer visine header-a */

    /* Sjene */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
    --clay-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --clay-shadow-hover: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.6);
}

/* Opći stilovi tijela */
body {
    font-family: var(--font-family-primary);
    background-color: var(--background-color);
    color: var(--text-color-dark);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Resetiranje i osnovni stilovi */
*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Tipografija */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
}

h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.8rem;
    color: var(--text-color-dark);
}

p {
    margin-bottom: 1.5em;
}

/* Header stilovi */
.header {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-scrolled {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.header .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color-light);
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.header nav a {
    color: var(--text-color-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.header nav a:hover::after,
.header nav a.active::after {
    width: 100%;
}

.header nav a:hover {
    color: var(--secondary-color);
}

/* Gumbi - Claymorphism efekt */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    background: linear-gradient(145deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--text-color-light);
    box-shadow: var(--clay-shadow);
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(145deg, var(--button-gradient-end), var(--button-gradient-start));
    box-shadow: var(--clay-shadow-hover);
    transform: translateY(-2px);
}

.btn:active {
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -3px -3px 7px rgba(255, 255, 255, 0.7);
    transform: translateY(0);
}

/* Kartice - Claymorphism lagani efekt */
.card {
    background-color: var(--card-bg-subtle-beige);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.08), -4px -4px 8px rgba(255, 255, 255, 0.6); /* Suptilna claymorphism sjena */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.12), -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.card p {
    font-size: 1rem;
    color: var(--text-color-subtle);
    flex-grow: 1;
}

/* Sekcije pozadine */
.section-bg-1 {
    background-color: var(--section-bg-1);
    padding: 4rem 0;
}

.section-bg-2 {
    background-color: var(--section-bg-2);
    padding: 4rem 0;
}

.section-bg-3 {
    background-color: var(--section-bg-3);
    padding: 4rem 0;
}

/* Footer stilovi */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color-light);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-color-light);
}

.footer .social-icons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer .social-icons i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer .social-icons i:hover {
    color: var(--text-color-light);
    transform: translateY(-3px);
}

/* Forma stilovi (primjer) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-primary);
    font-size: 1rem;
    background-color: var(--card-bg-subtle-beige);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.7); /* Lagana claymorphism sjena za input */
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.03), inset -1px -1px 3px rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(151, 188, 98, 0.3); /* Fokus efekt */
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsivnost */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .header nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 1.5rem;
    }

    .section-bg-1, .section-bg-2, .section-bg-3 {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header .logo {
        font-size: 1.5rem;
    }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}