/* ==========================================================================
   Buttons Styles
   ========================================================================== */

/**
 * Ta datoteka vsebuje stile za vse ponovno uporabljive gumbe na spletni strani.
 *
 * 1. Osnovni stil za gumbe (.btn)
 * 2. Različice gumbov (.btn-primary, .btn-primary-orange, .btn-secondary)
 * 3. Gumbi z ikonami (.social-icon-btn)
 * 4. Posebni gumbi (.play-button)
 * 5. Stili za gumbe na mobilnih napravah
 */

/* 1. Osnovni stil za gumbe */

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap; /* KLJUČNA SPREMEMBA: Prepreči prelamljanje besedila */
    transition: transform 0.15s ease, box-shadow 0.15s ease,
                background-color 0.15s ease, border-color 0.15s ease;
}

/* Interaction: subtle lift on hover, press-down on click */
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); }
.btn:focus-visible { outline: 2px solid #2D738C; outline-offset: 2px; }

/* 2. Različice gumbov */

.btn-primary {
    background-color: #2D738C;
    color: #FFFFFF;
    border-color: #2D738C;
}
.btn-primary:hover { background-color: #255E73; border-color: #255E73; }

.btn-primary-orange {
    background: #FA7850;
    color: #FFFFFF;
    padding: 16px 28px;
    font-size: 18px;
    line-height: 28px;
}
.btn-primary-orange:hover { background: #E8663F; }

.btn-secondary {
    background-color: #FFFFFF;
    color: #344054;
    border: 1px solid #D0D5DD;
}
.btn-secondary:hover { background-color: #F9FAFB; border-color: #98A2B3; color: #101828; }

/* 3. Gumbi z ikonami */

.social-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    color: #98A2B3;
    font-size: 18px;
    text-decoration: none;
}

/* 4. Posebni gumbi */

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.56);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 5px;
}


/* ==========================================================================
   Mobile Buttons Styles
   ========================================================================== */

@media (max-width: 768px) {

    .btn-primary-orange {
        width: auto;
        padding: 16px 28px;
        border-radius: 12px;
        font-size: 16px;
    }

    .play-button {
        width: 42px;
        height: 42px;
    }

    .play-button::after {
        border-left-width: 14px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

}