/* =========================
   GOOGLE FONTS
   Cormorant Garamond – display (elegantna, serifna, asocira na pozivnice)
   Lato – body (čitljiv, moderan, neutralan)
========================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* =========================
   DESIGN TOKENS
========================= */
:root {
    --gold:        #d9b06f;
    --gold-light:  #e8c98a;
    --gold-dark:   #b8903f;
    --bg:          #07111c;
    --bg-mid:      #0d1b2a;
    --bg-card:     rgba(255,255,255,.03);
    --border:      rgba(217,176,111,.22);
    --text:        #e8e0d5;
    --text-muted:  #9ba8b5;
    --free:        #22c55e;
    --busy:        #ef4444;
    --radius:      4px;
    --transition:  .35s cubic-bezier(.4,0,.2,1);
}

/* =========================
   RESET / GLOBAL
========================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   SCROLL REVEAL
   Dodaj klasu .reveal na elemente u JS-u
========================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--transition), transform .7s var(--transition);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =========================
   HEADER
========================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5,10,18,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99;
    padding: 16px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: padding var(--transition), background var(--transition);
}

header.scrolled {
    padding: 10px 7%;
    background: rgba(4,9,16,.98);
}

.logo {
    color: var(--gold);
    font-size: 26px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1;
}

.logo span {
    display: block;
    color: var(--text-muted);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 3px;
}

nav a {
    margin-left: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: color var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* =========================
   BUTTON
========================= */
.btn {
    background: transparent;
    color: var(--gold);
    padding: 12px 28px;
    display: inline-block;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--bg);
    box-shadow: 0 0 20px rgba(217,176,111,.3);
}

.btn:hover::before {
    transform: scaleX(1);
}

.disabled-btn {
    opacity: .4;
    cursor: not-allowed;
}

/* =========================
   HERO
   Signature: zlatna dekorativna crta ispod naslova
========================= */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(100deg, var(--bg) 0%, rgba(7,17,28,.96) 45%, rgba(7,17,28,.2) 100%),
        url('../images/hero.jpeg') right center / 65% auto no-repeat;
    padding: 160px 7% 100px;
    display: flex;
    align-items: center;
}

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

.small-title {
    display: inline-block;
    letter-spacing: 4px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217,176,111,.35);
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 88px;
    font-weight: 700;
    line-height: .88;
    letter-spacing: 6px;
    color: #fff;
    margin: 0 0 8px;
    /* Signature element: zlatni gradient na slovima */
    background: linear-gradient(135deg, #fff 40%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* zlatna dekorativna crta ispod naslova */
.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-top: 18px;
}

.hero h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gold);
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    margin: 16px 0 20px;
    letter-spacing: .5px;
}

.hero p {
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0 36px;
    padding: 20px;
    border: 1px solid var(--border);
    background: rgba(13,27,42,.6);
    backdrop-filter: blur(4px);
    max-width: 420px;
}

.hero-stat img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.hero-stat strong {
    color: var(--gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.hero-stat span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    display: block;
    margin: 4px 0 2px;
}

.hero-stat small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 300;
}

/* =========================
   SECTIONS – shared
========================= */
section {
    padding: 90px 7%;
}

section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
    line-height: 1;
}

/* suptilna crta ispod h2 */
section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-top: 14px;
    opacity: .6;
}

.section-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.section-label {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* =========================
   TWO-COL
========================= */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* =========================
   CARD
========================= */
.card {
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 30px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
    border-color: rgba(217,176,111,.5);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gold);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.75;
}

/* =========================
   SERVICES
========================= */
.services {
    padding: 70px 7%;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, transparent 100%);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-top: 18px;
    transition: transform .5s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

/* =========================
   ABOUT
========================= */
.about {
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.15), transparent);
}

.about .two-col img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border: 1px solid var(--border);
    filter: grayscale(15%);
    transition: filter .5s ease;
}

.about .two-col img:hover {
    filter: grayscale(0%);
}

/* =========================
   SONGS / YOUTUBE
========================= */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.youtube-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 22px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.youtube-card:hover {
    border-color: rgba(217,176,111,.5);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.youtube-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gold);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    text-align: center;
    letter-spacing: .5px;
}

.youtube-card iframe {
    width: 100%;
    height: 270px;
    border: none;
    border-radius: 3px;
    display: block;
}

/* =========================
   GALLERY
========================= */
#galerija h2 {
    margin-bottom: 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border: 1px solid rgba(217,176,111,.12);
    cursor: pointer;
    transition: transform .4s ease, filter .4s ease, border-color .4s ease;
    filter: brightness(.9) saturate(.9);
}

.gallery img:hover {
    transform: scale(1.04);
    filter: brightness(1.05) saturate(1.1);
    border-color: var(--border);
    z-index: 2;
    position: relative;
}

/* =========================
   LIGHTBOX
========================= */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 80px rgba(0,0,0,.8);
}

.close {
    position: absolute;
    top: 22px;
    right: 30px;
    font-size: 44px;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}
.close:hover { color: var(--gold); }

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color var(--transition);
}
.prev:hover, .next:hover { color: var(--gold); }
.prev { left: 10px; }
.next { right: 10px; }

/* =========================
   CALENDAR
========================= */
.calendar-box {
    background: rgba(13,27,42,.7);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar-header h3 {
    margin: 0;
    color: var(--gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: 600;
}

.calendar-header a,
.calendar-header > button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.calendar-header a:hover,
.calendar-header > button:hover {
    background: var(--gold);
    color: var(--bg);
}

.calendar-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-select select {
    background: var(--bg-mid);
    color: var(--text);
    border: 1px solid rgba(217,176,111,.3);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    font-family: 'Lato', Arial, sans-serif;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition);
}

.calendar-select select:focus {
    border-color: var(--gold);
}

.calendar-select button {
    background: var(--gold-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    width: auto;
    height: auto;
    border-radius: 6px;
}

.calendar-select button:hover {
    background: var(--gold);
    color: var(--bg);
}

.calendar-days-name {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.calendar-days-name span {
    text-align: center;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.day {
    min-height: 70px;
    padding: 10px 6px;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    font-weight: 700;
    font-size: 14px;
    cursor: default;
}

.day:not(.empty):not(.busy):hover {
    transform: translateY(-2px);
    border-color: rgba(217,176,111,.4);
}

.day small {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

.day.empty {
    background: transparent;
    border: none;
    pointer-events: none;
}

.day.free {
    background: rgba(34,197,94,.1);
    color: var(--free);
    border: 1px solid rgba(34,197,94,.3);
    cursor: pointer;
}

.day.free:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(34,197,94,.2);
    border-color: var(--free);
}

.day.busy {
    background: rgba(239,68,68,.08);
    color: var(--busy);
    border: 1px solid rgba(239,68,68,.25);
    cursor: not-allowed;
    opacity: .8;
}

.day.today {
    border: 2px solid var(--gold);
    box-shadow: 0 0 14px rgba(217,176,111,.35);
}

/* legenda */
.legend {
    display: flex;
    gap: 28px;
    margin: 24px 0;
}

.legend span {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.legend b {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 9px;
    display: inline-block;
    flex-shrink: 0;
}

.green { background: var(--free); }
.red   { background: var(--busy); }

/* =========================
   RESERVATION FORM
========================= */
.reservation-card {
    max-width: 100%;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: var(--bg-mid);
    border: 1px solid rgba(217,176,111,.25);
    border-bottom: 1px solid rgba(217,176,111,.4);
    color: var(--text);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

form input::placeholder,
form textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: var(--gold);
    background: rgba(13,27,42,.9);
}

form select option {
    background: var(--bg-mid);
    color: var(--text);
}

/* =========================
   CONTACT
========================= */
.contact-box {
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 32px;
    max-width: 100%;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 300;
}
.contact-link{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}

.contact-link img{
    width:24px;
    height:24px;
}
/* =========================
   FOOTER
========================= */
footer {
    padding: 40px 7%;
    background: #020709;
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .5px;
    border-top: 1px solid rgba(217,176,111,.1);
}


/* =========================
   RESPONSIVE – tablet  ≤ 950px
========================= */
@media (max-width: 950px) {
    header {
        position: relative;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        padding: 10px 0 4px;
        border-top: 1px solid var(--border);
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        margin: 0;
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    nav a::after { display: none; }

    nav .btn {
        display: inline-block;
        margin-top: 12px;
    }

    .hero {
        padding: 100px 7% 80px;
        background:
            linear-gradient(180deg, rgba(7,17,28,.97) 0%, rgba(7,17,28,.82) 100%),
            url('../images/hero.jpeg') center top / cover no-repeat;
        min-height: auto;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: 4px;
    }

    .hero h3 {
        font-size: 19px;
    }

    section h2 {
        font-size: 34px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about .two-col img {
        height: 340px;
        order: -1;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery img {
        height: 240px;
    }

    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .youtube-card iframe {
        height: 230px;
    }

    .calendar {
        gap: 4px;
    }

    .calendar-days-name {
        gap: 4px;
    }

    .day {
        min-height: 52px;
        padding: 6px 4px;
        font-size: 13px;
        border-radius: 6px;
    }

    .day small {
        display: none;
    }

    .calendar-header h3 {
        font-size: 17px;
    }
}

/* =========================
   RESPONSIVE – mobile  ≤ 600px
========================= */
@media (max-width: 600px) {
    section {
        padding: 60px 5%;
    }

    .hero {
        padding: 90px 5% 60px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: 3px;
    }

    .hero h3 {
        font-size: 17px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-stat {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .about-image {
        height: auto !important;
        object-fit: contain !important;
    }
    .hero-stat strong {
        font-size: 36px;
    }

    section h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .gallery img {
        height: 160px;
    }

    #lightbox img {
        max-width: 100%;
        max-height: 100vh;
    }

    .prev, .next {
        font-size: 40px;
        padding: 10px;
    }

    .close {
        font-size: 36px;
        top: 14px;
        right: 16px;
    }

    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-select {
        flex-wrap: wrap;
    }

    .legend {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-box {
        padding: 16px;
    }

    .day {
        min-height: 42px;
        font-size: 12px;
    }
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
