/* =========================
   OSNOVNI RESET
========================= */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: whitesmoke;
    color: #333;
}

/* =========================
   HEADER
========================= */
.header {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: #b8b4b4;
}

.header .logo {
    max-width: 200px;
    height: auto;
}

/* =========================
   MENU
========================= */
.menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px 0;
    background-color: #f7f5f5;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.menu a {
    position: relative;
    text-decoration: none;
    color: #222;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #d1913e;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background-color: #d1913e;
    transition: width 0.4s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* =========================
   VIDEO KONTAINER
========================= */
.video-container {
    position: relative;
    width: 1100px;
    height: 650px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    background: black;
}

.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: contrast(105%) brightness(102%);
}

.bg-video.active {
    opacity: 1;
}

/* =========================
   O NAMA
========================= */
.about {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d1913e;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* =========================
   STATISTIKA
========================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 100px 0;
    text-align: center;
}

.stat-box h2 {
    font-size: 4rem;
    font-weight: bold;
    color: #d1913e;
}

.stat-box p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* =========================
   FADE-IN
========================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 25px;
    background-color: #f7f5f5;
    color: black;
    margin-top: 50px;
}
.footer-content {
    display: flexbox;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif; 
    color: #fff; 
    text-align: center;
    padding: 5px;
    background-color: #d1913e; 
    border-top: 3px solid #b88b3a; 
    box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    border-radius: 15px 15px 0 0; 
}

/* SIGNATURE */
.signature {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.signature a {
    color: #000; 
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.signature a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #000; 
    transition: width 0.3s ease;
}

.signature a:hover::after {
    width: 100%;
}

.signature a:hover {
    color: #fff;
    text-shadow: 0 0 8px #000;
}

.signature:hover {
    transform: translateY(-2px);
    opacity: 1;
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #222;
    transition: 0.3s ease;
}

/* X animacija */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =================================
   RESPONSIVE MENU
================================= */

@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }
        .footer-content {
        padding: 20px 15px;
    }
    .signature {
        font-size: 13px;
    }


    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: flex;
    }

    .video-container {
        width: 95%;
        height: 350px;
    }

    .stats {
        flex-direction: column;
        gap: 40px;
    }
}