/* =========================================================
   GLOBAL
========================================================= */
:root {
    --bg: #2B2E34;
    --grid-line: #444;
    --text: #d8cfc0;
    --accent: #FF6F3C;
    --border: #d8cfc0;
    --shadow: 0 20px 20px rgba(0,0,0,0.3);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text);
}

h1,h2,h3,h4,h5,h6 {
    color: var(--accent);
    margin-bottom: 10px;
    margin-top: 0px;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* =========================================================
   CIRCLES (LOGO + GENERIC)
========================================================= */
.logo-circle,
.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.logo-circle {
    width: 150px;
    height: 150px;
    border: 7px solid var(--border);
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.circle {
    width: 150px;
    height: 150px;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================================
   CARDS (MAIN NOTE + NOTE)
========================================================= */
.main-note,
.note {
    background: var(--bg);
    border-radius: 3px;
    border: 6px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
}

.main-note {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-note h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
}

.main-note p,
.note p {
    margin: 6px 0;
    line-height: 1.5;
}

.main-note a {
    color: inherit;
    text-decoration: none;
}

.main-note img{
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 3px;
    border: 3px solid var(--border);
    margin: 15px;
}

/* BULLETS */
.bullet {
    padding-left: 16px;
    position: relative;
}

.bullet::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* =========================================================
   LINKS
========================================================= */

.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links span {
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.links a {
    color: inherit;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.download-link {
    color:#FF6F3C;
    text-decoration: underline;
    font-weight: 500;
    margin: 15px 0 20px;
}

/* =========================================================
   STATS & ICONS
========================================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 po redu */
    gap: 20px;
    justify-items: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    

}

.stat {
    width: 170px;
    aspect-ratio: 1/1;
    background: var(--bg);
    border-radius: 50%;
    border: 5px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat p {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #fff;
}

.stat h3 {
    font-size: 30px;
    margin: 0;
    color: var(--accent);
}

.counter {
    display: inline-block;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* fleksibilno za različite širine ekrana */
    gap: 20px; /* manji razmak */
    justify-items: center; /* centriranje ikona */
    align-items: center;
}

.icons-grid .icon {
    width: 50px;  /* smanjeno */
    height: 50px; /* smanjeno */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icons-grid .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border); /* smanjen border */
    box-shadow: var(--shadow);
}

/* =========================================================
   CONTACT FORM
========================================================= */
.contact-form input,
.contact-form textarea,
.contact-form button {
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin: 6px 0;
    border: 1px solid var(--border);
    border-radius: 3px;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px;
    margin-top: 10px;
    border: none;
    background: var(--accent);
    cursor: pointer;
    border-radius: 3px;
    width: 100px;
    font-size: 16px;
}

.contact-form button:hover {
    opacity: 0.85;
}

.form-message {
    color: #ff6f3c;
    margin-bottom: 10px;
    font-weight: 500;
}

/* =========================================================
   CHECKBOXES
========================================================= */
.services {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.services input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    background: #fff;
    transition: all 0.2s ease;
}

.services input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.services input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* =========================================================
   FOOTNOTE
========================================================= */
.footnote {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 6px;
}

/* =========================================================
   ANIMATION
========================================================= */
.note, .main-note, .logo-circle, .circle, .stat, .icon {
    opacity: 0;
    transform: translateY(-50px) rotate(0deg);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.8s ease-out;
}

.note.show, .main-note.show, .logo-circle.show, .circle.show, .stat.show, .icon.show {
    opacity: 1;
    transform: translateY(0) rotate(var(--rotate, 0deg));
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
    .container { padding: 30px 15px; }
    .main-note, .note { padding: 20px; }
    .stats {grid-template-columns: repeat(2, 1fr); }
    .header-row { gap: 15px; }
    .logo-circle, .circle { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
    .container { padding: 20px 10px; gap: 20px; }
    .header-row { gap: 10px; }
    .stats {grid-template-columns: repeat(2, 1fr); }
    .logo-circle, .circle { width: 100px; height: 100px; }
    .contact-form button { width: 100%; }
}