/* ============================================
   MUZIKA ČAČAK - Modern CSS 2026
   Global Reset + Layout + Navbar + Hero
   ============================================ */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #060912;
    --bg-secondary: #0c1220;
    --bg-card: rgba(255, 255, 255, 0.04);
    --gold: #c9a84c;
    --gold-light: #e8c66a;
    --gold-dark: #9a7830;
    --text-primary: #f0f4ff;
    --text-secondary: #8892a4;
    --border: rgba(201, 168, 76, 0.2);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --top-bar-h: 38px;
    --navbar-h: 68px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Rubik", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: linear-gradient(90deg, #070b14, #0c1220);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: var(--top-bar-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-secondary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-phone .phone-icon {
    width: 22px;
    height: 22px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    animation: ring 3s ease-in-out infinite;
}

@keyframes ring {
    0%, 90%, 100% { transform: rotate(0deg); }
    92% { transform: rotate(-15deg); }
    96% { transform: rotate(15deg); }
    98% { transform: rotate(-10deg); }
}

.top-bar-phone a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.top-bar-phone a:hover {
    color: #fff;
}

.top-bar-label {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
    padding: 0 4px;
}

.top-bar-social a:hover {
    color: var(--gold);
}

.top-bar-cta {
    background: var(--gold);
    color: #000;
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
}

.top-bar-cta:hover {
    background: var(--gold-light);
    transform: scale(1.04);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: var(--top-bar-h);
    width: 100%;
    background: rgba(6, 9, 18, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: var(--navbar-h);
    z-index: 1000;
    transition: background 0.4s;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

/* ---- NAV LINKS ---- */
.nav-links {
    display: flex;
    gap: 4px;
    flex-direction: row;
    align-items: center;
    list-style: none;
}

.nav-links > li > a,
.nav-links > a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 13px;
    border-radius: 8px;
    transition: color 0.3s, background 0.3s;
    display: block;
    white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > a:hover {
    color: var(--text-primary);
    background: var(--glass);
}

.bold-nav,
.nav-links .active {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown > a {
    display: flex !important;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 13px;
    border-radius: 8px;
    transition: color 0.3s, background 0.3s;
    cursor: pointer;
    user-select: none;
}

.nav-dropdown > a:hover {
    color: var(--text-primary);
    background: var(--glass);
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    list-style: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(255,255,255,0.08);
    border-top: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    border-radius: 8px;
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(201, 168, 76, 0.1) !important;
    color: var(--gold-light) !important;
}

.dropdown-menu .dd-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Call button in nav */
.nav-call-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    color: #000 !important;
    padding: 9px 20px !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
    transition: transform 0.2s, box-shadow 0.2s !important;
    white-space: nowrap;
    margin-left: 8px;
}

.nav-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201, 168, 76, 0.55) !important;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    color: #000 !important;
}

/* Mobile hamburger */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    user-select: none;
}

.menu-icon:hover {
    background: var(--glass);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(to bottom, rgba(6,9,18,0.65) 0%, rgba(6,9,18,0.88) 100%),
        url("../images/klavijatura.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    padding-top: calc(var(--top-bar-h) + var(--navbar-h) + 20px);
}

.hero-content {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--gold-light);
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Phone Display */
.hero-phone-block {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 28px auto;
    padding: 18px 36px;
    background: rgba(201, 168, 76, 0.1);
    border: 1.5px solid rgba(201, 168, 76, 0.4);
    border-radius: 60px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.hero-phone-block:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: rgba(201, 168, 76, 0.7);
    transform: scale(1.03);
}

.hero-phone-block .ph-icon {
    font-size: 1.4rem;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.hero-phone-block .ph-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 1px;
    text-decoration: none;
}

.hero-phone-block .ph-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    display: block;
    text-align: left;
}

.hero-phone-block a {
    text-decoration: none;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 22px rgba(201, 168, 76, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(201, 168, 76, 0.65);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold);
}

/* ---- FLOATING CALL BUTTON ---- */
.call-button {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000 !important;
    font-weight: 800;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    box-shadow: 0 4px 22px rgba(201, 168, 76, 0.55);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 500;
    animation: call-pulse 2.5s ease-in-out infinite;
}

@keyframes call-pulse {
    0%, 100% { box-shadow: 0 4px 22px rgba(201, 168, 76, 0.55); }
    50% { box-shadow: 0 4px 38px rgba(201, 168, 76, 0.85), 0 0 0 10px rgba(201, 168, 76, 0.08); }
}

.call-button:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 168, 76, 0.75);
    animation: none;
}

.call-text {
    display: inline;
}

/* ---- CALENDAR (keep existing functionality) ---- */
.calendar-button {
    position: fixed;
    bottom: 90px;
    right: 28px;
    background: rgba(15, 28, 65, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 20px;
    padding: 12px 13px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, transform 0.3s;
    z-index: 500;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-button:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}

.calendar-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.calendar-panel.show {
    right: 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e3a8a;
    color: #fff;
    padding: 16px 20px;
}

.calendar-header h3 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.calendar-container {
    flex: 1;
    padding: 20px;
    background: #0a0d18;
    color: #fff;
    overflow-y: auto;
}

.calendar {
    background: #111827;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--gold);
}

.calendar-nav h4 {
    font-size: 1rem;
    font-weight: 700;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 4px 8px;
}

.nav-btn:hover { color: var(--gold-light); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-size: 0.85rem;
}

.calendar-grid div {
    padding: 9px 0;
    border-radius: 6px;
    transition: background 0.2s;
}

.calendar-grid .day-name {
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.calendar-grid .today {
    background: #1e3a8a;
    color: white;
    font-weight: 700;
}

.calendar-grid div:not(.day-name):hover {
    background: rgba(201, 168, 76, 0.12);
    cursor: pointer;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 4px;
}

.close-btn:hover { transform: rotate(90deg); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
    .top-bar-right { display: none; }
}

@media (max-width: 768px) {
    :root {
        --top-bar-h: 36px;
        --navbar-h: 62px;
    }

    .top-bar {
        padding: 0 16px;
        font-size: 0.78rem;
    }

    .top-bar-label { display: none; }

    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(6, 9, 18, 0.99);
        backdrop-filter: blur(24px);
        flex-direction: column;
        gap: 2px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.38s ease, opacity 0.3s ease, padding 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
        align-items: flex-start;
        z-index: 998;
    }

    .nav-links.show {
        max-height: calc(100dvh - var(--top-bar-h) - var(--navbar-h) - 2px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        opacity: 1;
        padding: 10px 12px 16px;
    }

    .nav-links > li,
    .nav-links > li > a,
    .nav-links > a {
        width: 100%;
        text-align: left;
    }

    .nav-links > li > a,
    .nav-links > a {
        padding: 11px 14px;
        font-size: 0.95rem;
    }

    .nav-dropdown > a {
        width: 100%;
        padding: 11px 14px;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255,255,255,0.04);
        border: none;
        border-radius: 10px;
        padding: 4px 8px;
        margin: 4px 0;
        box-shadow: none;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu::before { display: none; }

    .nav-call-btn {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    .menu-icon { display: block; }

    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }
    .hero-phone-block { padding: 14px 22px; }
    .hero-phone-block .ph-number { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .call-text { display: none; }
    .call-button {
        padding: 14px 16px;
        bottom: 20px;
        right: 20px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    .calendar-button {
        bottom: 84px;
        right: 20px;
    }
    .calendar-panel {
        width: 100%;
        right: -100%;
    }
    .calendar-panel.show { right: 0; }
}

/* ---- BOOTSTRAP ICONS SIZING ---- */
.dd-icon i,
.about-icon i,
.contact-icon i {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.phone-icon i,
.ph-icon i {
    line-height: 1;
    font-size: 0.85em;
}

.menu-icon i {
    font-size: 1.4rem;
    pointer-events: none;
}

/* ---- DROPDOWN DIVIDER ---- */
.dd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 8px;
    pointer-events: none;
}

/* ---- BREADCRUMB ---- */
.breadcrumb-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    margin-top: calc(var(--top-bar-h) + var(--navbar-h));
    font-size: 0.85rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: var(--gold);
}

.breadcrumb-list li:last-child {
    color: var(--gold-light);
    font-weight: 500;
}

.bc-sep {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* ---- CITY LINKS LIST ---- */
.city-links-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-links-list li a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: var(--bg-card);
}

.city-links-list li a:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.08);
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
    background: rgba(201, 168, 76, 0.07);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
}

.highlight-box h3 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 8px;
}

.highlight-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ---- SECTION CONTENT ---- */
.section-content h2 {
    font-size: 1.5rem;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.section-content ul {
    margin: 12px 0 16px 20px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.section-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.75;
}

/* ---- CTA BLOCK ---- */
.cta-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0 0;
    text-align: center;
}

.cta-block h3 {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-block p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cta-block .phone-link {
    display: inline-block;
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 16px;
}

/* ---- FAQ ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--gold-light); }

.faq-arrow {
    transition: transform 0.3s;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }
