﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    /*outline: 1px solid red;*/
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.top-header,
.sub-header {
    flex-shrink: 0;
}

.top-header {
    background: #FFA500;
    width: 100%;
}

/* ===== ZAJEDNIČKI CONTAINER ===== */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .header-container img {
        height: 40px;
        margin: 5px;
    }

/* ===== BIJELA TRAKA ===== */
.sub-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.company-title {
    font-weight: bold;
    font-size: 18px;
}

.contact-info {
    display: flex;
    gap: 25px;
    font-size: 16px;
}

    .contact-info span {
        white-space: nowrap;
    }

/* ===== HERO ===== */
.hero-section {
    background: #f6b800;
    /* Ubaci sliku gume */
    background-image: url('/images/products/trails-removebg-preview.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 40px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    max-width
}

/* ===== LOGIN BOX ===== */
.login-box {
    background: rgba(255, 200, 0, 0.95);
    padding: 40px;
    border: 8px solid #f08c00;
    width: 100%;
    max-width: 550px;
}

/* ===== FORM ===== */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .form-row label {
        width: 180px;
        font-weight: bold;
        font-size: 20px;
    }

    .form-row input {
        flex: 1;
        padding: 10px;
        border: 1px solid #999;
        font-size: 16px;
    }

.button-row {
    text-align: right;
}

button {
    background: #f08c00;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 18px;
    cursor: pointer;
}

    button:hover {
        background: #d97700;
    }

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    flex-wrap: wrap;
}

    .links a {
        color: #000;
        font-weight: bold;
        text-decoration: underline;
        margin-top: 10px;
    }

.brand-section {
    margin-top: 40px;
    width: 100%;
}

.brand-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

    .brand-container img {
        height: 40px;
        object-fit: contain;
        transition: 0.3s ease;
    }

        .brand-container img:hover {
            transform: scale(1.05);
        }

/* ========================= */
/* 📱 TABLET */
@media (max-width: 992px) {

    .form-row label {
        width: 150px;
        font-size: 18px;
    }

    .login-box {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        margin-top: 5px;
    }
}

/* 📱 MOBITEL */
@media (max-width: 600px) {

    .hero-section {
        align-items: flex-start; /* makne centriranje */
        /*padding-top: 20px;*/ /* manji razmak gore */
    }

    .login-box {
        margin-top: 10px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

        .form-row label {
            width: 100%;
            margin-bottom: 5px;
            font-size: 16px;
        }

    .button-row {
        text-align: center;
    }

    button {
        width: 100%;
    }

    .links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand-container {
        gap: 30px;
    }

        .brand-container img {
            height: 45px;
        }
}

a {
    text-decoration: none;
    color: #000;
}
