:root {
    --red: #6e0e0f;
    --gray: #808285;
    --black: #111;
    --white: #ffffff;
    --border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
}

/* HEADER */
.main-header {
    background: var(--white);
    border-bottom: 2px solid var(--red);
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 18px 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 42px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
}

/* INTRO */
.intro h1 {
    font-size: 3rem;
    font-weight: 700;
}

.intro h1 span {
    color: var(--red);
}

.intro-text {
    margin-top: 24px;
    max-width: 760px;
    color: var(--gray);
    font-size: 1.1rem;
}

.intro-tags {
    margin-top: 28px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.5px;
}

/* Typography */
h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.subtitle {
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 720px;
}

/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
}

.card h3 {
    color: var(--red);
    margin: 14px 0;
}

.card p,
.card ul {
    color: var(--gray);
    font-size: 0.95rem;
}

.card-image {
    position: relative;
    display: flex;
    justify-content: center; /* centriranje slike horizontalno */
    align-items: center;     /* centriranje slike vertikalno */
    width: 120px;
    height: 120px;
    margin: 0 auto 18px auto; /* centriranje unutar carda i margin-bottom */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* overlay bez pomeranja teksta */
.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(110, 14, 15, 0.3);
    pointer-events: none;
}

/* List bullets */
.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--red);
}

/* Regional focus decorative circles */
.regional-focus {
    position: relative;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.circle1 {
    width: 200px;
    height: 200px;
    background: var(--red);
    top: -50px;
    left: -50px;
}

.circle2 {
    width: 300px;
    height: 300px;
    background: var(--gray);
    bottom: -100px;
    right: -100px;
}

/* CTA */
.cta {
    background: #f7f7f7;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta button {
    margin-top: 24px;
    padding: 16px 38px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

.cta button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}






/* INTRO TRIANGLE IMAGE – FULL VISIBLE + REALISTIC SHADOWS */
.intro {
    position: relative;
    /* remove overflow hidden to show full triangles */
}

.intro .container {
    position: relative;
}

/* Wrapper for triangles */
.intro-triangle {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 360px;
    z-index: 0;
    pointer-events: none; /* triangles don't interfere with text */
}

/* BACKGROUND RED TRIANGLE */
.intro-triangle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(88deg) translate(30px, 0px);
    opacity: 0.12; /* suptilno */
    filter: blur(2px); /* mekši izgled */
    z-index: 0;
}

/* IMAGE TRIANGLE */
.intro-triangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(8deg);
    position: relative;
    z-index: 1;

    /* Realistic shadow */
    box-shadow:
        0 24px 40px rgba(0, 0, 0, 0.18),
        0 12px 18px rgba(0, 0, 0, 0.12),
        inset 0 -6px 20px rgba(0, 0, 0, 0.08);
}

/* Ensure text always above visuals */
.intro h1,
.intro p,
.intro-tags {
    position: relative;
    z-index: 2;
}

/* Responsive cleanup */
@media (max-width: 900px) {
    .intro-triangle {
        display: none;
    }
}










/* Modern sentence style for Regional Focus */
.regional-text {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 800px;
}

.regional-text .highlight {
    color: var(--red);
    font-weight: 600;
    background: rgba(110, 14, 15, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Contact Form */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

#contactForm input,
#contactForm textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--red);
    box-shadow: 0 4px 10px rgba(110, 14, 15, 0.2);
}

#contactForm button {
    padding: 16px 38px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#contactForm button:hover {
    opacity: 0.9;
}

.subtitle2 {
    color: var(--gray);
    max-width: 720px;
    text-align: center; /* centrira tekst horizontalno */
    margin: 0 auto 40px auto; /* top 0, left/right auto, bottom 40px */
}








/* HEADER */
.main-header {
    background: var(--white);
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand: logo + navigacija */
.brand {
    display: flex;
    align-items: center;
    gap: 32px; /* razmak između loga i linkova */
}

/* Logo */
.logo {
    height: 42px;
}

/* Navigacija linkovi */
.nav-links {
    display: flex;
    gap: 24px; /* razmak između linkova */
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover efekt */
.nav-links a:hover {
    color: var(--red);
}

/* Optional: donja linija na hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--red);
    left: 0;
    bottom: -4px;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Responsive: mobilni meni */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
}





