/* ====================================
   1. CSS Reset & Osnovne Postavke
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

a {
    color: #FF0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff3333;
}

/* ====================================
   2. Hamburger Menu
   ==================================== */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.hamburger:hover {
    background: #ff3333;
    transform: scale(1.05);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    z-index: 1999;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #FF0000;
    font-size: 40px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-menu:hover {
    color: #ff3333;
    transform: rotate(90deg);
}

.mobile-menu ul {
    list-style: none;
    padding: 80px 30px 30px;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.4s ease forwards;
}

.mobile-menu.active ul li {
    animation: slideIn 0.4s ease forwards;
}

.mobile-menu ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu ul li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu ul li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu ul li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu ul li:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu ul li:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu ul li:nth-child(7) { animation-delay: 0.4s; }
.mobile-menu ul li:nth-child(8) { animation-delay: 0.45s; }

.mobile-menu ul li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #FF0000;
    border-left-color: #FF0000;
    padding-left: 30px;
    background: rgba(255, 0, 0, 0.05);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ====================================
   3. Hero Section
   ==================================== */
main {
    padding-top: 0;
}

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.hero-logo {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo img {
    width: clamp(200px, 40vw, 400px);
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 0, 0, 0.3));
}

.hero-text {
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-text h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.hero-text p {
    font-size: clamp(16px, 2vw, 20px);
    color: #aaa;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: scale(1.2);
}

.scroll-indicator span {
    font-size: 32px;
    color: #FF0000;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ====================================
   4. O Nama Section
   ==================================== */
#o-nama {
    min-height: 100vh;
    padding: 80px 20px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#o-nama h3 {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    color: #FF0000;
    margin-bottom: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.o-nama-content {
    max-width: 900px;
    margin: 0 auto;
}

.o-nama-text {
    text-align: center;
}

.o-nama-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

.o-nama-features {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #1a1a1a, #151515);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.feature:hover {
    border-color: #FF0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.feature h4 {
    font-size: 22px;
    color: #FF0000;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* ====================================
   5. Kontakt Sekcija
   ==================================== */
#kontakt-sekcija {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    text-align: center;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

#kontakt-sekcija h3 {
    font-size: clamp(32px, 5vw, 48px);
    color: #FF0000;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#kontakt-sekcija p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.kontakt-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.kontakt-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff3333, #FF0000);
}

/* ====================================
   6. Footer
   ==================================== */
footer {
    background-color: #000;
    padding: 60px 20px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #FF0000;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info .icon {
    font-size: 18px;
    color: #FF0000;
}

.contact-info span,
.contact-info a {
    color: #aaa;
    font-size: 15px;
}

.contact-info a:hover {
    color: #FF0000;
    padding-left: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #FF0000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #888;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF0000;
}

/* ====================================
   7. Responsive Design
   ==================================== */
@media (max-width: 768px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .o-nama-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature {
        min-width: auto;
    }

    #hero {
        min-height: 90vh;
    }

    .hero-logo img {
        width: clamp(150px, 60vw, 300px);
    }
}
