* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #DC143C;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #DC143C;
}

nav a.active::after {
    width: 100%;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #DC143C;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    background: #DC143C;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #DC143C;
}

/* ===== RESPONSIVE HAMBURGER ===== */
@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    #nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    #nav-menu.active {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }

    #nav-menu li {
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    #nav-menu a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
    }

    #nav-menu a::after {
        display: none;
    }

    #nav-menu a:hover {
        background: rgba(220, 20, 60, 0.1);
        color: #DC143C;
    }
}


/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slide 15s infinite;
    top: 0;
    left: 0;
    font-size: 0;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }

@keyframes slide {
    0% { opacity: 0; }
    8% { opacity: 1; }
    30% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
}

/* ===== O NAMA ===== */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 52px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

.underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    margin: 0 auto;
    border-radius: 3px;
}

.intro-text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: #666;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #555;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 18px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== ZAŠTO MI ===== */
.why-us {
    padding: 120px 0;
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    background: white;
    padding: 45px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.2);
    border-color: #DC143C;
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(139, 0, 0, 0.1));
    border-radius: 50%;
    color: #DC143C;
    transition: all 0.3s ease;
}

.why-card:hover .card-icon {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    transform: scale(1.15) rotate(10deg);
}

.why-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.why-card p {
    font-size: 16px;
    color: #777;
    line-height: 1.8;
}

/* ===== SOFTVER STRANICA ===== */
.softver-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(139, 0, 0, 0.05) 100%);
    margin-top: 80px;
    text-align: center;
}

.softver-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.softver-logo {
    height: 120px;
    width: auto;
}

.softver-hero h1 {
    font-size: 52px;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
}

.softver-hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
}

.softver-content {
    padding: 120px 0;
    background: white;
}

.softver-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.softver-text h2 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
}

.softver-text h3 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 35px;
}

.intro-section,
.benefits-section,
.control-section {
    margin-bottom: 30px;
}

.softver-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 15px;
}

.benefits-list,
.function-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
}

.benefits-list i {
    color: #DC143C;
    font-size: 18px;
}

.function-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 16px;
}

.function-list li {
    color: #666;
    padding: 8px 0;
}

.function-list li:before {
    content: "• ";
    color: #DC143C;
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
}

.highlight {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(139, 0, 0, 0.1));
    padding: 20px;
    border-left: 4px solid #DC143C;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 20px;
}

.softver-modules h2 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.module-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
    border-top-color: #DC143C;
}

.module-icon {
    font-size: 48px;
    color: #DC143C;
    margin-bottom: 15px;
}

.module-card h4 {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 12px;
}

.module-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.softver-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: white;
    text-align: center;
}

.softver-cta h2 {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 700;
}

.softver-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 80px 0 0 0;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 18px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(220, 20, 60, 0.2);
    color: #DC143C;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.social-links a:hover {
    background: #DC143C;
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #DC143C;
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-item i {
    color: #DC143C;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #DC143C;
}

.working-hours {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #b0b0b0;
}

.working-hours li:before {
    content: "✓ ";
    color: #DC143C;
    font-weight: bold;
    margin-right: 8px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

.made-by {
    margin-top: 10px;
    color: #DC143C;
}

.made-by strong {
    color: white;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer {
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 30px;
    }

    .footer-content {
        padding: 40px 0;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* ===== RESPONSIVE SOFTVER ===== */
@media (max-width: 768px) {
    .softver-hero {
        padding: 80px 0;
        margin-top: 120px;
    }

    .softver-hero h1 {
        font-size: 36px;
    }

    .softver-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .function-list {
        grid-template-columns: 1fr;
    }

    .softver-text h2,
    .softver-modules h2 {
        font-size: 28px;
    }

    .softver-cta h2 {
        font-size: 32px;
    }
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    margin-bottom: 35px;
    color: #333;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(139, 0, 0, 0.1));
    color: #DC143C;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #DC143C;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
}

/* ===== ANIMACIJE ===== */
.why-card.animate {
    animation: cardFadeIn 0.6s ease-out forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 60px;
    }
}

/* ===== TABLET (768px) ===== */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        gap: 15px;
        padding: 12px 20px;
    }

    nav ul {
        gap: 15px;
        font-size: 13px;
    }

    .hamburger {
        display: flex;
    }

    #nav-menu {
        display: none;
    }

    #nav-menu.active {
        display: block;
    }

    .hero-banner {
        height: 500px;
        margin-top: 120px;
    }

    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .about {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .why-us {
        padding: 80px 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form {
        padding: 35px 25px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 24px;
    }

    .info-item {
        font-size: 15px;
        gap: 15px;
    }

    .info-item i {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 350px;
        margin-top: 100px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .why-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    /* Header mobile optimizations */
    header .container {
        padding: 10px 15px !important;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        gap: 8px;
        font-size: 12px;
    }

    nav a {
        padding: 5px 10px;
        font-size: 13px;
    }

    /* About section mobile */
    .about {
        padding: 60px 0;
    }

    .about-text h3 {
        font-size: 22px;
    }

    .about-text p {
        font-size: 14px;
    }

    .feature-item {
        font-size: 14px;
        gap: 10px;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    /* Contact form mobile */
    .contact {
        padding: 60px 0;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .info-item {
        gap: 15px;
        font-size: 14px;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Footer mobile */
    .footer-content {
        padding: 30px 0;
        gap: 25px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .contact-item {
        font-size: 12px;
        gap: 10px;
    }

    .working-hours li {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* Softver page mobile */
    .softver-hero {
        padding: 60px 0;
    }

    .softver-logo {
        height: 80px;
    }

    .softver-hero h1 {
        font-size: 28px;
    }

    .softver-hero p {
        font-size: 14px;
    }

    .softver-text h2,
    .softver-modules h2 {
        font-size: 22px;
    }

    .softver-text h3 {
        font-size: 18px;
    }

    .softver-text p {
        font-size: 13px;
    }

    .modules-grid {
        gap: 15px;
    }

    .module-card {
        padding: 20px 15px;
    }

    .module-icon {
        font-size: 36px;
    }

    .module-card h4 {
        font-size: 16px;
    }

    .module-card p {
        font-size: 12px;
    }

    .softver-cta {
        padding: 60px 0;
    }

    .softver-cta h2 {
        font-size: 24px;
    }

    .softver-cta p {
        font-size: 14px;
    }
}