/* ==========================================================================
   public.css - dark tema za public (Bootstrap) stranice.
   Ucitava se uz home.css u layouts/public.blade.php.
   Mobile-first; nadjacava Bootstrap defaulte za tamni izgled.
   ========================================================================== */

/* Page heading -------------------------------------------------------------- */
.page-head {
    margin-bottom: 2.5rem;
}

.page-title {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.page-sub {
    color: #9ca3af;
}

.back-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #fff;
}

/* Generic card (artists / producers / news list) ---------------------------- */
.y-card {
    display: block;
    height: 100%;
    background: #0d0d0d;
    border: 1px solid #1c1c1c;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.y-card:hover {
    border-color: #3a3a3a;
    transform: translateY(-4px);
    color: #fff;
}

.y-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #161616;
    display: block;
}

.y-card-img--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2.5rem;
}

.y-card-body {
    padding: 1.25rem;
}

.y-card-title {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.y-card-meta {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.y-card-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* News list (horizontalna kartica) ------------------------------------------ */
.y-card--row {
    display: flex;
    flex-direction: column;
}

.y-card--row .y-card-img {
    height: 220px;
}

@media (min-width: 768px) {
    .y-card--row {
        flex-direction: row;
    }
    .y-card--row .y-card-img {
        width: 38%;
        height: auto;
        min-height: 230px;
    }
    .y-card--row .y-card-body {
        width: 62%;
        padding: 1.75rem;
    }
}

/* Thumbs grid (releases / portfolio) ---------------------------------------- */
.y-thumb {
    display: block;
    text-decoration: none;
    color: #fff;
}

.y-thumb-img {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.y-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.y-thumb:hover .y-thumb-img img {
    transform: scale(1.06);
}

.y-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.y-thumb:hover .y-thumb-overlay {
    opacity: 1;
}

.y-thumb-title {
    font-family: "Oswald", sans-serif;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Offering cards (usluge / konzultacije - redizajn) ------------------------- */
.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.offer-card {
    background: #0d0d0d;
    border: 1px solid #1c1c1c;
    border-left: 3px solid #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
    border-color: #3a3a3a;
    border-left-color: #fff;
    transform: translateX(4px);
}

.offer-name {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.offer-name i {
    color: #9ca3af;
    font-size: 0.95rem;
}

.offer-desc {
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
    white-space: pre-line;
}

/* Show pages ---------------------------------------------------------------- */
.y-title {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: #fff;
}

.y-sub {
    color: #9ca3af;
}

.y-prose {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
}

.y-media {
    border-radius: 14px;
    overflow: hidden;
    background: #161616;
}

.y-media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.y-media--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 4rem;
    min-height: 320px;
}

/* Producer kontakt (mail / phone / instagram) ------------------------------- */
.producer-contact {
    margin-bottom: 1.5rem;
}

.producer-contact li {
    margin-bottom: 1rem;
}

.producer-contact li:last-child {
    margin-bottom: 0;
}

.producer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.producer-contact a:hover {
    color: #fff;
}

.producer-contact i {
    width: 1.25rem;
    text-align: center;
    color: #9ca3af;
}

/* Buttons ------------------------------------------------------------------- */
.btn-yomado {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

.btn-yomado:hover {
    background: #cbd5e1;
    color: #000;
}

.btn-yomado-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

.btn-yomado-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Dark form controls (book forma) ------------------------------------------- */
.form-control,
.form-select {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    color: #fff;
}

.form-control:focus,
.form-select:focus {
    background: #0d0d0d;
    color: #fff;
    border-color: #666;
    box-shadow: none;
}

.form-control::placeholder {
    color: #6b7280;
}

.form-select option {
    background: #0d0d0d;
    color: #fff;
}

.form-label {
    color: #e5e7eb;
}

.form-text {
    color: #9ca3af;
}

.form-check-input {
    background-color: #0d0d0d;
    border-color: #444;
}

.form-check-input:checked {
    background-color: #fff;
    border-color: #fff;
}

.form-check-label {
    color: #cbd5e1;
}

.offerings-box {
    background: #0d0d0d !important;
    border-color: #2a2a2a !important;
}

/* Pagination ---------------------------------------------------------------- */
.pagination .page-link {
    background: #0d0d0d;
    border-color: #2a2a2a;
    color: #cbd5e1;
}

.pagination .page-item.active .page-link {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.pagination .page-link:hover {
    background: #1c1c1c;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: #0d0d0d;
    border-color: #1c1c1c;
    color: #555;
}
