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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #020817;
    color: #ffffff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.page {
    min-height: 100vh;
    background-color: #020817;
}

.main {
    background-color: #020817;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 3rem 0;
}

/* ===== Header / Hero ===== */
.hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    background: radial-gradient(circle at top left, #18253a 0%, #020817 55%);
    color: #ffffff;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.logo-mark {
    width: 100px;
    height: 100px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-copy h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-copy h1 span {
    display: block;
}

.hero-subtitle {
    font-size: .95rem;
    margin-bottom: 1.25rem;
    opacity: .9;
}

.hero-list {
    list-style: none;
    margin-bottom: 1.75rem;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .4rem;
    font-size: .95rem;
}

.hero-list li::before {
    content: "✔";
    font-size: .8rem;
    margin-top: .15rem;
    color: #22c55e;
}

.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.6rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn-primary {
    background-color: #f97316;
    color: #020617;
    box-shadow: 0 12px 30px rgba(248, 148, 60, 0.35);
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: rgba(15,23,42,.7);
    color: #e2e8f0;
    border-color: #1f2937;
}

.btn-outline:hover {
    background-color: rgba(15,23,42,1);
    transform: translateY(-1px);
}

.hero-image {
    position: relative;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top, #1f2937 0%, #020617 55%);
    padding: 1.75rem 1.25rem 2.25rem;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0,0,0,.75);
    transform: perspective(900px) rotateY(-12deg) skewX(-3deg);
    transform-origin: left center;
}

.billboard {
    background-color: #020617;
    border-radius: .75rem;
    border: 4px solid #111827;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.billboard-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.billboard-subtitle {
    margin-top: .75rem;
    font-size: .8rem;
    text-transform: uppercase;
    opacity: .75;
}

.billboard-stand {
    width: 40%;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(15,23,42,.8), rgba(15,23,42,0));
    margin: 1.25rem auto 0;
}

/* ===== Usluge ===== */
.white-section {
    background-color: #f9fafb;
    color: #020617;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    letter-spacing: .06em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.1rem 1.1rem 1.25rem;
    box-shadow: 0 16px 35px rgba(15,23,42,.05);
    border: 1px solid #e5e7eb;
}

.card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .4rem;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: .75rem;
    border: 1px solid #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: #f97316;
}

.card-title {
    font-weight: 600;
    font-size: .95rem;
}

.card-body {
    font-size: .86rem;
    color: #4b5563;
    margin-top: .25rem;
}

/* ===== Portfolio ===== */
.portfolio-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.portfolio-thumb {
    background: url('../img/bilbord.png') center/cover;
    filter: blur(0.5px);
    opacity: 0.7;
    height: 160px; /
}

.portfolio-caption {
    padding: .8rem 1rem 1rem;
    font-size: .85rem;
    border-top: 1px solid rgba(15,23,42,.9);
}

/* ===== Footer (samo linija tel) ===== */
.footer {
    border-top: 1px solid #0f172a;
    padding: 1rem 0 1.75rem;
    font-size: .8rem;
    color: #9ca3af;
}

.footer a {
    display: block;
    align-items: center;
    gap: .4rem;
}

.footer p {
    justify-self: flex-end;
}

.phone::before {
    content: "☎ ";
    font-size: .9rem;
}

.email::before {
    content: "✉️ ";
}

.email, .phone {
    color:inherit;
}
/* ===== Desktop layout ===== */
@media (min-width: 768px) {
    .hero {
        padding-top: 3.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .hero-copy {
        flex: 1;
    }

    .hero-image {
        flex: 1;
        max-width: 460px;
        margin-left: auto;
    }

    .hero-copy h1 {
        font-size: 2.6rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-grid .card:nth-child(n+4) {
        /* druga vrsta kartica */
    }

    .portfolio-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .portfolio-thumb {
        height: 160px;
    }
}

@media (min-width: 1024px) {
    .hero-copy h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@keyframes pulseLogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.logo-mark {
    animation: pulseLogo 2.6s ease-in-out infinite;
}

@keyframes glowLogo {
    0% { box-shadow: 0 0 0 rgba(249, 115, 22, 0.0); }
    50% { box-shadow: 0 0 12px rgba(249, 115, 22, 0.55); }
    100% { box-shadow: 0 0 0 rgba(249, 115, 22, 0.0); }
}

.billboard {
    animation: glowLogo 2.3s ease-in-out infinite;
}