/* Header portal symbols */
.header-portals {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-portal-link {
    font-size: 1.6rem;
    color: var(--color-dark, #0d0d0d);
    text-decoration: none;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    transition: opacity 0.2s ease;
}
.header-portal-link:hover { opacity: 0.5; }

/* Hero roles */
.hero-roles {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.hero-role {
    font-family: var(--font-primary, 'Syne', sans-serif);
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-light, #888);
    text-transform: uppercase;
}

.main-content {
    --hero-display-size: clamp(3rem, 12vw, 10rem);
    --portal-symbol-size: clamp(3rem, 12vw, 10rem);
}
.hero-title {
    font-size: var(--hero-display-size);
}
.portal-symbols-section {
    --portal-symbol-size: clamp(3rem, 12vw, 10rem);
    align-items: flex-start;
}
.portal-symbol {
    font-size: var(--portal-symbol-size);
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--portal-symbol-size);
    height: var(--portal-symbol-size);
    line-height: 1;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .main-content,
    .portal-symbols-section {
        --portal-symbol-size: clamp(3.5rem, 34vw, 10rem);
    }
}

/* Hero photo banner */
.hero-banner {
    width: min(105%, 920px);
    max-width: 100%;
    margin: 0.75rem auto 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center 35%;
}
@media (max-width: 768px) {
    .hero-banner-img {
        aspect-ratio: 16 / 10;
        object-position: center 30%;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 5%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.site-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    color: var(--color-dark);
    letter-spacing: 0.05em;
    line-height: 1;
    transition: all 0.3s ease;
}

.site-title:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

.subtitle {
    display: block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin: 0.4rem 0;
    letter-spacing: 0.15em;
}

/* ============================================
   LANGUAGE NAVIGATION 
   ============================================ */

.language-nav {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    background: var(--color-light-grey);
    padding: 0.3rem;
    border-radius: 0;

}

.lang-btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 0;
}

.lang-btn:hover:not(.active) {
    color: var(--color-dark);
    background-color: var(--color-white);
    border-color: var(--color-border);
    transform: translateY(-1px);
}

.lang-btn.active {
    color: var(--color-white);
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

/* ============================================
   HERO SECTION 
   ============================================ */

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 5% 0.75rem;
    text-align: center;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: var(--hero-display-size, clamp(3rem, 12vw, 10rem));
    color: var(--color-dark);
    letter-spacing: 0.02em;
    line-height: 0.95;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-light);
    letter-spacing: 0.3em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.portal-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    overflow: hidden;
    height: 80vh;
    max-width: 1600px;
    position: relative;
}

.portal-banner {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* EfekatÑˆÐ¸Ñ€enja na hover */
.portal-grid:hover .portal-banner:not(:hover) {
    flex: 0.3;
}

.portal-banner:hover {
    flex: 1.7;
}

.portal-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    filter: grayscale(0.3) brightness(0.7);
}

.portal-banner:hover .portal-bg {
    transform: scale(1.15);
    filter: grayscale(0) brightness(1);
}

/* Overlay s gradiÑ˜entom */
.portal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    transition: opacity 0.8s ease;
}

.portal-banner:hover::before {
    opacity: 0.5;
}

/* Vertikalni divider */
.portal-grid::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 2px;
    /* background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    ); */
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.8s ease;
}

.portal-grid:hover::after {
    opacity: 0;
}

.portal-title {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    padding: 3rem;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 7rem);
    color: var(--color-white);
    letter-spacing: 0.02em;
    writing-mode: horizontal-tb;
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.portal-banner:not(:hover) .portal-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-content: center;
    align-items: center;
    font-size: clamp(2rem, 4vw, 5rem);
}

/* Subtitle koji se pojavljuje */
.portal-title::after {
    content: attr(data-subtitle);
    display: block;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.portal-banner:hover .portal-title::after {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 2rem;
    }

    .portal-banner {
        height: 60vh;
    }

    .portal-banner:not(:hover) .portal-title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* ============================================
   LANGUAGE NAVIGATION - RESPONSIVE
   ============================================ */

.language-nav {
    position: relative;
}

/* Desktop view - inline buttons */
.lang-buttons-desktop {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    background: var(--color-light-grey);
    padding: 0.3rem;
    border-radius: 0;
  
}

.lang-btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.lang-btn:hover:not(.active) {
    color: var(--color-dark);
    background-color: var(--color-white);
    border-color: var(--color-border);
    transform: translateY(-1px);
}

.lang-btn.active {
    color: var(--color-white);
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

/* Mobile dropdown - hidden by default */
.lang-dropdown-mobile {
    display: none;
}

/* ============================================
   MOBILE DROPDOWN STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Hide desktop buttons */
    .lang-buttons-desktop {
        display: none;
    }
    
    /* Show mobile dropdown */
    .lang-dropdown-mobile {
        display: block;
        position: relative;
    }
    
    
    .hero-section {
    padding: 2.75rem 5% 0.5rem;
}
    
    .lang-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.7rem 1.2rem;
        background: var(--color-light-grey);
        border: 1px solid var(--color-border);
        border-radius: 0;
        font-family: var(--font-primary);
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--color-dark);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .lang-dropdown-toggle:hover {
        background: var(--color-white);
}
    
    .lang-dropdown-toggle svg {
        transition: transform 0.3s ease;
    }
    
    .lang-dropdown-toggle.active svg {
        transform: rotate(180deg);
    }
    
    .lang-dropdown-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: 0;
min-width: 150px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    
    .lang-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .lang-dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 1.2rem;
        font-family: var(--font-primary);
        font-weight: 500;
        font-size: 0.9rem;
        color: var(--color-text);
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--color-border);
    }
    
    .lang-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .lang-dropdown-item:hover {
        background: var(--color-light-grey);
        color: var(--color-dark);
    }
    
    .lang-dropdown-item.active {
        background: var(--color-dark);
        color: var(--color-white);
        font-weight: 600;
    }
    
    .lang-dropdown-item.active .lang-check {
        opacity: 1;
    }
    
    .lang-check {
        width: 16px;
        height: 16px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
      .header-portal-link:nth-child(2) {
        transform: translateY(-0.05em);
    }
}

@media (max-width: 480px) {
    .lang-dropdown-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .lang-dropdown-menu {
        min-width: 130px;
    }
    
    .lang-dropdown-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}







/* O MENI / About */
.about-section-home { padding: 2.5rem 2rem; background: #fafafa; }
.about-container-home { max-width: 960px; margin: 0 auto; display: flex; gap: 2rem; align-items: flex-start; }
.about-image-wrap { flex-shrink: 0; }
.about-portrait { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 4px solid #111;
}
.about-text-wrap { flex: 1; }
.about-heading { font-size: 1.1rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #111; margin-bottom: 1rem; text-align: center; width: 100%; }
.about-bio { font-size: 1rem; line-height: 1.8; color: #444; white-space: pre-line; text-align: justify; hyphens: auto; margin-bottom: 0; }
@media (max-width: 640px) {
    .about-container-home { flex-direction: column; align-items: center; text-align: center; }
    .about-portrait { width: 160px; height: 160px; }
}

.lang-dropdown-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Homepage shows — same cards as Glazba page */
.shows-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}
.show-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease;
}
.show-card:hover {
    border-color: #d4d4d4;
}
.show-card-date {
    flex: 0 0 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    border-right: 1px solid #eee;
    background: #fafafa;
    text-align: center;
}
.show-card-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #0d0d0d;
    letter-spacing: -0.02em;
}
.show-card-month {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.25rem;
}
.show-card-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid #e8e8e8;
    width: 100%;
}
.show-card-body {
    flex: 1;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.show-card-title {
    font-family: var(--font-primary, 'Syne', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #0d0d0d;
    line-height: 1.35;
}
.show-card-venue {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .shows-list { gap: 0.65rem; }
    .show-card-date {
        flex: 0 0 4.75rem;
        padding: 0.85rem 0.5rem;
    }
    .show-card-day { font-size: 1.45rem; }
    .show-card-body { padding: 0.9rem 1rem; }
    .show-card-title { font-size: 0.95rem; }
    .show-card-venue { font-size: 0.82rem; }
}

/* Unified content width on welcome page — matches VIJESTI block */
.main-content .news-grid-main,
.main-content .shows-list,
.main-content .player-compact,
.main-content .empty-player-message,
.main-content .streaming-links,
.main-content .brevo-newsletter-wrap {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.main-content .brevo-newsletter-section {
    padding: 2.5rem 5%;
}
