/* GOOGLE FONTS - OPTIMIZED LOADING */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+HR&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

/* CSS RESET AND BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* ACCESSIBILITY - SKIP LINK */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #BFA14A;
    color: #1A1A1A;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* BASE BODY STYLES */
body {
    background: #1A1A1A;
    font-family: 'Inter', Arial, sans-serif;
    color: #BFA14A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-smoothing: grayscale;
}

/* LANGUAGE SWITCHER - OPTIMIZED */
.lang-switcher {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5px;
    gap: 0;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: #BFA14A;
    padding: 8px 6px;
    margin: 2px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-switcher button:not(:last-child)::after {
    content: '|';
    margin: 0 8px;
    color: #BFA14A;
    font-weight: normal;
    pointer-events: none;
}

.lang-switcher button:hover,
.lang-switcher button:focus,
.lang-switcher button.active {
    background: #BFA14A;
    color: #1A1A1A;
    box-shadow: 0 0 10px #BFA14A;
    outline: none;
}

.lang-switcher button:hover::after,
.lang-switcher button.active::after {
    color: #1A1A1A;
}

/* DIM OVERLAY - PERFORMANCE OPTIMIZED */
#dim-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 900;
    will-change: opacity;
}

#dim-overlay.visible {
    opacity: 0.75;
    pointer-events: auto;
}

/* LOGO STYLES - OPTIMIZED */
.logo-link {
    display: block;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
    border: none !important;
    background: transparent !important;
    animation: none !important;
    width: 100% !important;
    text-align: center;
    text-decoration: none;
}

.logo-link:hover,
.logo-link:focus {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    outline: none;
}

img.logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) saturate(100%) invert(82%) sepia(20%) saturate(1183%) hue-rotate(4deg) brightness(93%) contrast(87%);
    loading: eager;
}

/* HEADSHOT WRAPPER - OPTIMIZED */
.headshot-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 1rem auto;
    z-index: 10;
}

img.headshot {
    width: 100%;
    height: 100%;
    border: 4px solid #BFA14A;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    loading: eager;
}

/* PROFILE IMAGE LINK */
.headshot-link {
    display: block;
    padding: 0 !important;
    margin: 1rem auto 2rem auto !important;
    border: none !important;
    background: transparent !important;
    animation: none !important;
    width: 200px !important;
    height: 200px !important;
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    overflow: visible;
    float: none;
}

.headshot-link:hover,
.headshot-link:focus {
    transform: scale(1.05);
    outline: 2px solid #BFA14A;
}

/* TYPOGRAPHY - SEO OPTIMIZED WITH CROATIAN CHARACTER SUPPORT */
h1 {
    margin: 0.5rem 0;
    color: #BFA14A;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
    width: 100%;
    /* === IZMJENA: Cormorant Garamond je sada primarni font zbog "đ" === */
    font-family: 'Cormorant Garamond', 'Cinzel', 'Playfair Display', 'Marcellus', serif;
    font-weight: 700;
    text-transform: uppercase;
    font-display: swap;
}

/* SPECIFIC STYLE FOR "USLUGE MAĐIONIČARA" */
.services-title {
    /* === IZMJENA: Cormorant Garamond je sada primarni font zbog "đ" === */
    font-family: 'Cormorant Garamond', 'Cinzel', 'Playfair Display', 'Marcellus', serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #BFA14A;
    letter-spacing: 1px;
    line-height: 1.3;
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: normal;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-display: swap;
    line-height: 1.3;
}

.slogan {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 5px;
    font-weight: 500;
    line-height: 1.4;
    font-display: swap;
}

.slogan-part {
    display: block;
    color: #FFFFFF !important;
    font-size: 1.1em;
}

.slogan-fixed {
    display: block;
    margin-top: 8px;
    color: #BFA14A;
    font-size: 0.9em;
}

.master-level {
    font-weight: bold;
    color: #FFD700 !important;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFA500 !important;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

/* LINKS & BUTTONS - TOUCH FRIENDLY */
a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin: 0.5rem 0;
    text-decoration: none;
    background: transparent;
    color: #BFA14A;
    border: 2px solid #BFA14A;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    letter-spacing: 0.5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
}

.card-wrapper > a:not(#phone-link-text):not(.phone-number-link):not(.icon-group a):not(.logo-link):not(.two-button-row > a):hover,
.card-wrapper > a:not(#phone-link-text):not(.phone-number-link):not(.icon-group a):not(.logo-link):not(.two-button-row > a):focus,
.main-link-with-subtitle:hover,
.main-link-with-subtitle:focus {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 15px #BFA14A;
    transform: scale(1.05);
    outline: none;
}

.main-link-with-subtitle:hover,
.main-link-with-subtitle:focus {
    transform: scale(1.08);
}

.phone-number-link {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #BFA14A !important;
}

.phone-number-link:hover,
.phone-number-link:focus {
    transform: none;
    background: transparent !important;
    color: #BFA14A !important;
    box-shadow: none;
    outline: none;
}

.phone-wrapper {
    text-align: center;
    margin: 1rem 0;
    word-break: break-word;
}

/* PHONE LINK - OPTIMIZED */
#phone-link-text {
    border: 2px solid #FFFFFF !important;
    background-color: transparent;
    animation: subtle-smoke-effect 3s ease-in-out infinite !important;
    padding: 0.75rem;
    width: 100%;
    display: block;
    transition: none;
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.5px;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: 'Inter', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 700;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#phone-link-text:hover,
#phone-link-text:focus {
    background-color: transparent;
    color: #FFFFFF !important;
    transform: none;
    box-shadow: none;
    outline: 2px solid #BFA14A;
}

/* FIRE TEXT EFFECTS */
.fire-text {
    animation: fire-flicker 2s linear infinite;
    color: #fff !important;
    font-display: swap;
}

a.fire-text:hover,
a.fire-text:focus {
    background: transparent !important;
    color: #fff !important;
    box-shadow: 0 0 15px #BFA14A;
    outline: none;
}

/* MAIN LINK WITH SUBTITLE */
.main-link-with-subtitle {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.main-link-with-subtitle span {
    display: block;
    line-height: 1.4;
}

.main-link-text {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
}

.link-subtitle {
    font-size: clamp(0.65rem, 1.5vw, 0.7rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* TWO BUTTON ROW - RESPONSIVE */
.two-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0.5rem 0;
}

.two-button-row > a {
    flex-grow: 1;
    flex-basis: 0;
    width: auto;
    margin: 0;
    min-width: min(150px, 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ICON GROUPS - TOUCH OPTIMIZED */
.icon-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 1.5rem 0;
    width: 100%;
}

.icon-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    width: 100%;
}

.icon-group a {
    border: 2px solid #BFA14A;
    border-radius: 16px;
    width: clamp(70px, 20vw, 78px);
    height: clamp(70px, 20vw, 78px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 0.2rem;
    min-height: 70px;
    min-width: 70px;
}

#icon-row-1 a {
    flex-grow: 1;
    flex-basis: 45%;
    max-width: min(180px, 45%);
}

#icon-row-2 a {
    flex-grow: 1;
    flex-basis: 30%;
    max-width: min(100px, 30%);
}

.icon-group a:hover,
.icon-group a:focus {
    background: #BFA14A;
    color: #1A1A1A;
    box-shadow: 0 0 15px #BFA14A;
    transform: scale(1.1);
    outline: none;
}

.icon-group a i {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: -2px;
}

.icon-label {
    font-size: clamp(0.5rem, 1.5vw, 0.6rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    opacity: 1;
    transition: color 0.3s ease;
    word-break: break-word;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif;
}

#icon-row-1 .icon-label,
#icon-row-2 .icon-label {
    font-size: clamp(0.45rem, 1.2vw, 0.55rem);
}

.icon-spacing {
    margin-right: 8px;
}

/* SHARE SECTION */
.share-section {
    text-align: center;
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    border-top: none !important;
    border-bottom: none !important;
}

.share-title {
    color: #BFA14A;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: fire-flicker 2s linear infinite !important;
    font-display: swap;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 4vw, 30px);
    flex-wrap: wrap;
}

.share-btn {
    width: clamp(55px, 12vw, 70px);
    height: clamp(55px, 12vw, 70px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #BFA14A;
    background: transparent;
    color: #BFA14A;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    transition: all 0.3s ease;
    animation: smoke-pulse 3s ease-in-out infinite;
    text-decoration: none;
    min-height: 55px;
    min-width: 55px;
}

.share-btn:hover,
.share-btn:focus {
    background: #BFA14A;
    color: #1A1A1A;
    transform: scale(1.05);
    box-shadow: 0 0 15px #BFA14A;
    outline: none;
}

/* WHATSAPP SHARE BUTTON */
.share-btn.whatsapp-share {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    animation: green-pulse 2s ease-in-out infinite !important;
}

.share-btn.whatsapp-share:hover,
.share-btn.whatsapp-share:focus {
    background: #FFFFFF !important;
    color: #25D366 !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px #FFFFFF;
}

/* LINK SHARE BUTTON */
.share-btn.url-share {
    background: transparent !important;
    color: #BFA14A !important;
    border-color: #BFA14A !important;
    animation: pulse 2s infinite !important;
}

.share-btn.url-share:hover,
.share-btn.url-share:focus {
    background: #BFA14A !important;
    color: #1A1A1A !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px #BFA14A;
}

/* FOOTER STYLES */
.footer {
    margin-top: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    color: #BFA14A;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    position: relative;
    z-index: 10;
}

.footer img {
    width: min(100%, 400px);
    height: auto;
    margin-top: 1rem;
    filter: brightness(0) saturate(100%) invert(82%) sepia(20%) saturate(1183%) hue-rotate(4deg) brightness(93%) contrast(87%);
    display: block;
    margin-left: auto;
    margin-right: auto;
    loading: lazy;
}

/* CARD SYMBOLS - PERFORMANCE OPTIMIZED */
.card-symbol {
    position: absolute;
    font-size: 1.8rem;
    color: #BFA14A;
    pointer-events: none;
    animation: sparkle 1.2s ease-out forwards;
    z-index: 1000;
    user-select: none;
    will-change: transform, opacity;
}

/* === .snowflake STILOVI UKLONJENI === */

/* CARD WRAPPER - MAIN CONTAINER */
.card-wrapper {
    border: 3px solid #BFA14A;
    border-radius: 20px;
    padding: clamp(15px, 3vw, 20px);
    max-width: min(500px, 95vw);
    width: 100%;
    background: #1A1A1A !important;
    margin: 10px auto;
    position: relative;
    z-index: 901;
    overflow: hidden;
}

/* MAIN FOOTER */
footer {
    margin-top: 3rem;
    text-align: center;
    color: #BFA14A;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    background: #1A1A1A;
    padding: 1.5rem 0;
    font-family: 'Cormorant Garamond', serif;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* VCF BUTTON */
#vcf-download-link {
    display: none;
    position: relative;
    z-index: 10;
}

/* FIRE GLOW EFFECTS */
.fire-glow-name {
    animation: fire-flicker 2s linear infinite !important;
    display: block;
    padding: 0;
    border-radius: 0;
    margin: 5px 0 !important;
    text-shadow: 0 0 10px #fff, 0 0 20px #ffae42, 0 0 30px #ff8000 !important;
}

.fire-glow-button {
    background-color: #00A000 !important;
    color: #FFFFFF !important;
    animation: white-flicker 2s linear infinite !important;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff !important;
    border: 2px solid #FFFFFF !important;
    position: relative;
    z-index: 10;
}

/* === #christmas-button STILOVI UKLONJENI === */

/* FOOTER LINK STYLES */
footer a {
    display: inline;
    width: auto;
    text-align: inherit;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    background: transparent;
    border: none;
    animation: none;
    line-height: inherit;
    letter-spacing: inherit;
    min-height: auto;
}

footer a:hover,
footer a:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
    transform: none;
    outline: 1px solid #BFA14A;
}

/* SIGNATURE TEXT */
.footer div[data-key="sincerely"] {
    font-family: 'Playwrite HR', 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    position: relative;
    z-index: 10;
    animation: light-yellow-flicker 2.5s linear infinite !important;
    margin-bottom: 1rem;
    font-display: swap;
}

/* SMOKE EFFECT BUTTON */
.smoke-effect-button {
    animation: subtle-smoke-effect 3s ease-in-out infinite !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
    background: transparent !important;
    position: relative;
    z-index: 10;
}

.smoke-effect-button:hover,
.smoke-effect-button:focus {
    background: transparent !important;
    color: #FFFFFF !important;
    transform: none;
    box-shadow: none;
    outline: 2px solid #BFA14A;
}

/* ANIMATION KEYFRAMES - PERFORMANCE OPTIMIZED */
@keyframes pulse {
    0% { box-shadow: 0 0 10px #BFA14A; }
    50% { box-shadow: 0 0 20px #BFA14A; }
    100% { box-shadow: 0 0 10px #BFA14A; }
}

@keyframes pulse-strong {
    0% { box-shadow: 0 0 12px #BFA14A; }
    50% { box-shadow: 0 0 28px #BFA14A, 0 0 10px #BFA14A; }
    100% { box-shadow: 0 0 12px #BFA14A; }
}

@keyframes fire-flicker {
    0%, 24%, 100% { 
        text-shadow: 0 0 10px #fff, 0 0 20px #ffae42, 0 0 30px #ffae42, 0 0 40px #ff8000, 0 0 50px #ff8000; 
    }
    25%, 75% { 
        text-shadow: 0 0 12px #fff, 0 0 25px #ffc87f, 0 0 35px #ffc87f, 0 0 45px #ff8000, 0 0 55px #ff9000; 
    }
    50% { 
        text-shadow: 0 0 8px #fff, 0 0 18px #ffae42, 0 0 28px #ffae42, 0 0 38px #ff4500, 0 0 48px #ff4500; 
    }
}

@keyframes fire-flicker-mobile {
    0%, 100% { 
        text-shadow: 
            0 0 8px #fff,
            0 0 16px #ffae42,
            0 0 24px #ff8000,
            0 0 32px #ff4500;
    }
    25%, 75% { 
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #ffc87f,
            0 0 30px #ff8000,
            0 0 40px #ff9000;
    }
    50% { 
        text-shadow: 
            0 0 6px #fff,
            0 0 14px #ffae42,
            0 0 22px #ff4500,
            0 0 30px #ff4500;
    }
}

@keyframes fire-glow-card {
    0%, 100% {
        box-shadow: 
            0 0 25px #BFA14A,
            0 0 40px #ffae42,
            0 0 60px #ff8000;
        border-color: #ffae42;
    }
    25% {
        box-shadow: 
            0 0 30px #ffae42,
            0 0 50px #ff8000,
            0 0 70px #ff4500;
        border-color: #ff8000;
    }
    50% {
        box-shadow: 
            0 0 35px #ff8000,
            0 0 55px #ff4500,
            0 0 75px #BFA14A;
        border-color: #ff4500;
    }
    75% {
        box-shadow: 
            0 0 30px #ff4500,
            0 0 50px #BFA14A,
            0 0 70px #ffae42;
        border-color: #ffae42;
    }
}

@keyframes fire-glow-card-mobile {
    0%, 100% {
        box-shadow: 
            0 0 25px #BFA14A,
            0 0 45px #ffae42,
            0 0 65px #ff8000,
            0 0 85px #ff4500;
        border-color: #ffae42;
    }
    25% {
        box-shadow: 
            0 0 30px #ffae42,
            0 0 50px #ff8000,
            0 0 70px #ff4500,
            0 0 90px #BFA14A;
        border-color: #ff8000;
    }
    50% {
        box-shadow: 
            0 0 35px #ff8000,
            0 0 55px #ff4500,
            0 0 75px #BFA14A,
            0 0 95px #ffae42;
        border-color: #ff4500;
    }
    75% {
        box-shadow: 
            0 0 30px #ff4500,
            0 0 50px #BFA14A,
            0 0 70px #ffae42,
            0 0 90px #ff8000;
        border-color: #ffae42;
    }
}

@keyframes sparkle {
    0% { opacity: 1; transform: scale(1) translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: scale(1.5) translateY(-40px) rotate(25deg); }
}

/* === @keyframes fall UKLONJEN === */

@keyframes light-yellow-flicker {
    0%, 100% { 
        text-shadow: 0 0 8px #fff, 0 0 16px #BFA14A, 0 0 24px #BFA14A, 0 0 32px #ffae42; 
    }
    50% { 
        text-shadow: 0 0 10px #fff, 0 0 20px #BFA14A, 0 0 30px #ffae42, 0 0 40px #ffae42; 
    }
}

@keyframes smoke-pulse {
    0% {
        box-shadow: 0 0 10px #AAAAAA;
        border-color: #AAAAAA;
    }
    50% {
        box-shadow: 0 0 18px #FFFFFF, 0 0 10px #AAAAAA;
        border-color: #FFFFFF;
    }
    100% {
        box-shadow: 0 0 10px #AAAAAA;
        border-color: #AAAAAA;
    }
}

@keyframes white-flicker {
    0%, 100% { 
        text-shadow: 0 0 8px #fff, 0 0 16px #fff, 0 0 24px #e0e0e0; 
    }
    50% { 
        text-shadow: 0 0 12px #fff, 0 0 20px #fff, 0 0 30px #c0c0c0; 
    }
}

@keyframes green-pulse {
    0% { box-shadow: 0 0 10px #25D366; border-color: #FFFFFF; }
    50% { box-shadow: 0 0 20px #25D366, 0 0 10px #FFFFFF; border-color: #FFFFFF; }
    100% { box-shadow: 0 0 10px #25D366; border-color: #FFFFFF; }
}

@keyframes subtle-smoke-effect {
    0% {
        box-shadow: 
            0 0 8px #FFFFFF,
            0 0 12px #AAAAAA;
        border-color: #FFFFFF;
    }
    25% {
        box-shadow: 
            0 0 10px #FFFFFF,
            0 0 15px #CCCCCC;
        border-color: #CCCCCC;
    }
    50% {
        box-shadow: 
            0 0 12px #FFFFFF,
            0 0 18px #EEEEEE;
        border-color: #FFFFFF;
    }
    75% {
        box-shadow: 
            0 0 10px #FFFFFF,
            0 0 15px #CCCCCC;
        border-color: #CCCCCC;
    }
    100% {
        box-shadow: 
            0 0 8px #FFFFFF,
            0 0 12px #AAAAAA;
        border-color: #FFFFFF;
    }
}

/* MOBILE FIRE EFFECTS */
body.mobile-fire-effects .fire-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* RESPONSIVE DESIGN - MOBILE FIRST APPROACH */

/* Tablet and Desktop */
@media (min-width: 769px) {
    
    /* === NOVI DODATAK ZA SKRIVANJE GUMBA === */
    .hide-on-desktop {
        display: none !important;
    }
    /* === KRAJ DODATKA === */

    .card-wrapper {
        animation: fire-glow-card 3s ease-in-out infinite;
    }
    
    .headshot-link {
        float: left;
        margin: 1rem 0 2rem 0 !important;
    }
    
    h1.fire-text {
        clear: both;
        padding-top: 0;
        margin-top: 4.5rem;
    }
    
    .footer div[data-key="sincerely"] {
        text-align: left;
    }
    
    .footer img {
        margin-left: auto;
        margin-right: 0;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .card-wrapper {
        animation: fire-glow-card-mobile 3s ease-in-out infinite !important;
        margin: 15px;
        padding: 15px;
    }
    
    h1.fire-text {
        animation: fire-flicker-mobile 2s linear infinite !important;
        text-align: center !important;
    }
    
    .services-title {
        animation: fire-flicker-mobile 2s linear infinite !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .subtitle.fire-text {
        animation: fire-flicker-mobile 2s linear infinite !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer div[data-key="sincerely"] {
        text-align: center !important;
        animation: fire-flicker-mobile 2s linear infinite !important;
    }
    
    .footer img {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .headshot-link {
        float: none;
        margin: 1rem auto !important;
    }
    
    .two-button-row {
        flex-direction: column;
    }
    
    .two-button-row > a {
        min-width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .card-wrapper {
        margin: 10px;
        padding: 12px;
    }
    
    .icon-group a {
        width: 65px;
        height: 65px;
        min-height: 65px;
        min-width: 65px;
    }
    
    .icon-group a i {
        font-size: 1.3rem;
    }
    
    .icon-label {
        font-size: 0.45rem;
    }
    
    .share-btn {
        width: 50px;
        height: 50px;
        min-height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }
    
    .footer img {
        width: 280px;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .card-wrapper {
        margin: 8px;
        padding: 10px;
    }
    
    .icon-group a {
        width: 60px;
        height: 60px;
        min-height: 60px;
        min-width: 60px;
    }
    
    .icon-group a i {
        font-size: 1.1rem;
    }
    
    .icon-label {
        font-size: 0.4rem;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        min-height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
    
    .lang-switcher button {
        font-size: 0.8rem;
        padding: 6px 4px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img.logo,
    img.headshot,
    .footer img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .card-wrapper {
        border: 2px solid #000 !important;
        box-shadow: none !important;
        animation: none !important;
    }
    
    .fire-text {
        animation: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }
    
    a {
        border: 1px solid #000 !important;
        color: #000 !important;
        text-decoration: underline;
    }
    
    .lang-switcher,
    .share-section,
    .card-symbol {
        display: none !important;
    }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}

/* FOCUS VISIBLE POLYFILL */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

/* LOADING STATES */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #BFA14A;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ==============================================
   STIL ZA PODNOŽJE - PRIČA U BROJEVIMA (Ažurirano 3)
   ============================================== */

.footer-stats {
    margin-top: 10px; 
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* Naslov "Priča u brojevima:" - (Ovo je jedini <p> koji NIJE .fire-text) */
.footer-stats p:first-child {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    margin-bottom: 8px; /* Manji razmak od naslova do prvog linka */
}

/* SVI .fire-text elementi u ovom bloku (35 godina, 7000 korisnika, 8000 nastupa) */
.footer-stats p.fire-text {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    /* Veliki razmak između SVIH vatrenih redaka */
    margin-bottom: 15px; 
}

/* "35 GODINA ISKUSTVA" - najveći */
.footer-stats p:nth-child(2) { 
    font-size: 1.4em; 
}

/* "Više od 7000 zadovoljnih korisnika" - srednji */
.footer-stats p:nth-child(3) {
    font-size: 1.1em;
}

/* "Više od 8000 odrađenih nastupa" - srednji */
.footer-stats p:nth-child(4) {
    font-size: 1.1em;
}

/* Makni donju marginu sa zadnjeg elementa */
.footer-stats p.fire-text:last-child {
    margin-bottom: 0;
}

/* ==============================================
   STIL ZA PODNOŽJE - DODATNI KONTAKTI
   ============================================== */

/* === OVAJ DIO JE NEDOSTAJAO === */
.footer-contact-links {
    margin-top: 10px; 
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* === OVAJ DIO JE NEDOSTAJAO === */
/* Naslov "Dodatni načini komunikacije" */
.footer-contact-links p:first-child {
    /* Stil kopiran iz .footer-stats p:first-child */
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Stil za linkove (Threema, Telegram...) */
.footer-contact-links a.fire-text {
    /* Poništavanje default 'footer a' stila */
    display: block; 
    text-decoration: none;
    width: 100%;
    text-align: left;
    /* 'fire-text' klasa u HTML-u daje animaciju */

    /* Stil kopiran iz .footer-stats p:nth-child(2) ("35 GODINA ISKUSTVA") */
    font-size: 1.4em; 
    font-weight: 700;
    text-transform: uppercase; 
    line-height: 1.3;
    margin-bottom: 10px; /* Razmak između linkova */
}

/* Poništavanje hover/focus stila iz 'footer a' */
.footer-contact-links a.fire-text:hover,
.footer-contact-links a.fire-text:focus {
    transform: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    background: transparent;
    color: inherit; /* 'fire-text' animacija će upravljati bojom */
}
/* ==============================================
   STIL ZA PODNOŽJE - SREDNJI STUPAC (USLUGE)
   ============================================== */

.footer-services {
    margin-top: 10px; 
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* Naslov "Vrste Događaja:" */
.footer-services p:first-child {
    /* Stil kopiran iz .footer-stats p:first-child */
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Svi .fire-text elementi u srednjem stupcu */
.footer-services p.fire-text {
    /* Ujednačena, manja veličina (1.1em) zbog dužine teksta */
    font-size: 1.1em; 
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 15px; /* Razmak kao u lijevom stupcu */
}

/* Makni donju marginu sa zadnjeg elementa */
.footer-services p.fire-text:last-child {
    margin-bottom: 0;
}
/* ==============================================
   COOKIE CONSENT BANNER STILOVI (Verzija 2.0 - PopUp)
   ============================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 2rem; /* Udaljenost od dna */
    left: 2rem;  /* Udaljenost s lijeve strane */
    width: auto; /* Automatska širina */
    max-width: 450px; /* Maksimalna širina da ne bude preširok */
    
    background: #0D0D0D; /* Tamna pozadina */
    border: 2px solid #BFA14A; /* Zlatni rub oko cijelog prozorčića */
    border-radius: 10px; /* Zaobljeni rubovi za "prozorčić" */
    padding: 1.5rem; /* Unutarnji razmak */
    
    z-index: 1100; /* Mora biti iznad svega ostalog */
    display: none; /* JS će ovo promijeniti u 'flex' */
    
    flex-direction: column; /* Slaže tekst i gumbe okomito */
    gap: 1rem; /* Razmak između teksta i gumba */
    box-shadow: 0 0 25px rgba(191, 161, 74, 0.5); /* Sjena za "plutajući" efekt */
}

.cookie-consent-text {
    color: #FFFFFF;
    font-size: 1rem; /* Malo veći font teksta */
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #BFA14A; /* Zlatna boja za link */
    text-decoration: underline;
    font-weight: bold;
    /* Poništavanje stilova iz style.css za linkove */
    display: inline;
    width: auto;
    text-align: left;
    padding: 0;
    margin: 0;
    border: none;
    animation: none;
}

.cookie-consent-text a:hover {
    color: #FFFFFF;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    width: 100%; /* Gumb će zauzeti punu širinu pop-upa */
}

#cookie-accept-btn {
    background: transparent; /* PROZIRNA POZADINA */
    color: #BFA14A; /* ZLATNI TEKST */
    border: 2px solid #BFA14A; /* Zlatni rub */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem; /* POVEĆAN FONT GUMBA */
    width: 100%; /* Gumb zauzima cijelu dostupnu širinu */
    
    /* DODANO: Glow efekt (isto kao tvoj .fire-text) */
    animation: fire-flicker 2s linear infinite; 
}

#cookie-accept-btn:hover {
    background: #BFA14A; /* Na hover, postaje puni zlatni gumb */
    color: #0D0D0D; /* Na hover, tekst postaje taman */
    box-shadow: 0 0 15px #BFA14A;
    animation: none; /* Pauziramo 'glow' animaciju na hover */
}

/* Prilagodba za mobitele */
@media (max-width: 768px) {
    .cookie-consent-banner {
        /* Centriramo ga na mobitelu */
        left: 50%;
        transform: translateX(-50%);
        bottom: 1rem; /* Bliže dnu */
        width: 90vw; /* Zauzima 90% širine ekrana */
        max-width: 450px; 
        padding: 1.25rem;
    }
    
    .cookie-consent-text {
        font-size: 0.95rem; /* Vraćam manji font za mobitel */
        text-align: center; /* Bolje izgleda centrirano u pop-upu */
    }
}
/* ==============================================
   MAGIC CHAT WIDGET STILOVI
   ============================================== */

/* Glavni kontejner widgeta */
.magic-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050; /* Malo ispod cookie bannera (1100) */
    background: #0D0D0D;
    border-radius: 10px;
    padding: 1.5rem;
    width: 300px;
    
    /* Sakriven po defaultu */
    display: none;
    transform: scale(0);
    transform-origin: bottom right;
    
    /* NOVI DODATAK: VATRENI GLOW EFEKT */
    border: 3px solid #BFA14A; /* Potrebno da animacija radi */
    animation: fire-glow-card 3s ease-in-out infinite; /* Standardni desktop glow */
}

/* Klasa 'visible' koju dodaje JavaScript za animaciju */
.magic-chat-widget.visible {
    display: block; /* Važno: JS mijenja ovo, ne CSS media query */
    animation: magic-chat-zoom-in 0.5s ease-out forwards, fire-glow-card 3s ease-in-out infinite; /* Dodajemo i glow */
}

/* Animacija "Zoom open" */
@keyframes magic-chat-zoom-in {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Gumb za zatvaranje (X) */
.magic-chat-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #BFA14A;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}
.magic-chat-close:hover {
    color: #FFFFFF;
}

/* Naslov "Brzi Kontakt:" */
.magic-chat-widget p {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-right: 20px; /* Da ne ide ispod 'X' */
}

/* Svi gumbi */
.magic-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    text-decoration: none;
    color: #0D0D0D; /* Taman tekst */
    background: #BFA14A; /* Zlatna pozadina */
    border: 2px solid #BFA14A;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.magic-chat-btn i {
    margin-right: 10px; /* Razmak ikone od teksta */
}

/* Zlatni hover efekt (vatra) */
.magic-chat-btn:hover,
.magic-chat-btn.email-btn:hover,
.magic-chat-btn.call-btn:hover {
    background: transparent;
    color: #BFA14A;
    box-shadow: 0 0 15px #BFA14A;
    animation: fire-flicker 2s linear infinite;
}

/* Posebno za WhatsApp gumb (zeleni) */
.magic-chat-btn.wa-btn {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}
.magic-chat-btn.wa-btn:hover {
    background: transparent;
    color: #25D366;
    border-color: #25D366;
    box-shadow: 0 0 15px #25D366;
    animation: none; /* WhatsApp nema vatreni efekt */
}

/* --- LOGIKA PRIKAZA: DESKTOP vs MOBILE --- */

/* Na DESKTOPU (iznad 768px), sakrij mobilni widget */
@media (min-width: 769px) {
    .magic-chat-widget.magic-chat-mobile {
        display: none !important;
    }
}

/* Na MOBITELU (do 768px), sakrij desktop widget */
@media (max-width: 768px) {
    .magic-chat-widget.magic-chat-desktop {
        display: none !important;
    }
    
    /* Prilagodbe za mobitel */
    .magic-chat-widget {
        width: 90vw; /* Širi na mobitelu */
        max-width: 320px;
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
        
        /* Koristi mobilnu animaciju */
        animation: fire-glow-card-mobile 3s ease-in-out infinite; 
    }
    .magic-chat-widget.visible {
        /* Mora prebrisati fiksnu desktop animaciju */
        animation: magic-chat-zoom-in 0.5s ease-out forwards, fire-glow-card-mobile 3s ease-in-out infinite;
    }
    
    .magic-chat-btn {
        font-size: 1rem; /* Malo manji font gumba */
    }
}


/* ==============================================
   KONTAKT OBRAZAC STILOVI
   ============================================== */
        
.kontakt-form-section {
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    margin: 2rem auto;
    background: rgba(191, 161, 74, 0.08);
    border: 1px solid #BFA14A;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(191, 161, 74, 0.3);
}

#kontakt-forma h2,
#rezervacija-forma h2 { /* DODANO: Pravilo vrijedi i za rezervaciju */
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    color: #BFA14A;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
    min-width: 200px; /* Omogućuje redanje na manjim ekranima */
}

/* ==============================================
   !! OVDJE JE BIO PROBLEM (I SADA JE ISPRAVLJEN) !!
   Korištenjem > (direct child selector) osiguravamo da ovo pravilo
   utječe samo na .form-group koji su direktno u formi,
   a NE na one koji su unutar .form-row.
   ============================================== */
#kontakt-forma > .form-group:not(.form-submit),
#rezervacija-forma > .form-group:not(.form-submit) {
     flex-basis: 100%;
}
/* ==============================================
   KRAJ ISPRAVKA
   ============================================== */


/* A ovo je za grupe unutar .form-row */
.form-row .form-group {
    flex-basis: calc(50% - 0.5rem); /* 50% minus pola 'gap' */
}

/* AŽURIRANO: Stil vrijedi za obje forme */
#kontakt-forma label,
#rezervacija-forma label {
    display: block;
    margin-bottom: 0.5rem;
    color: #BFA14A;
    font-weight: bold;
    font-size: 1rem;
}

/* AŽURIRANO: Stil vrijedi za obje forme */
#kontakt-forma input[type="text"],
#kontakt-forma input[type="email"],
#kontakt-forma input[type="tel"],
#kontakt-forma input[type="date"],
#kontakt-forma textarea,
#rezervacija-forma input[type="text"],
#rezervacija-forma input[type="email"],
#rezervacija-forma input[type="tel"],
#rezervacija-forma input[type="date"],
#rezervacija-forma input[type="time"],
#rezervacija-forma select,
#rezervacija-forma textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #BFA14A;
    background: #0D0D0D;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* AŽURIRANO: Stil vrijedi za obje forme */
#kontakt-forma input[type="text"]:focus,
#kontakt-forma input[type="email"]:focus,
#kontakt-forma input[type="tel"]:focus,
#kontakt-forma input[type="date"]:focus,
#kontakt-forma textarea:focus,
#rezervacija-forma input[type="text"]:focus,
#rezervacija-forma input[type="email"]:focus,
#rezervacija-forma input[type="tel"]:focus,
#rezervacija-forma input[type="date"]:focus,
#rezervacija-forma input[type="time"]:focus,
#rezervacija-forma select:focus,
#rezervacija-forma textarea:focus {
    outline: none;
    border-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(191, 161, 74, 0.5);
}

/* Za 'date' input da se vidi kalendar */
/* AŽURIRANO: Stil vrijedi za obje forme */
#kontakt-forma input[type="date"]::-webkit-calendar-picker-indicator,
#rezervacija-forma input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}
/* DODANO: Stil za time input */
#rezervacija-forma input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* DODANO: Stil za select (dropdown) */
#rezervacija-forma select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23BFA14A" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em;
    padding-right: 2.5rem; /* Mjesto za strelicu */
}


/* Stil za captcha pitanje */
.captcha-question {
    font-style: italic;
    color: #FFFFFF !important; /* Istakni ga */
}

/* AŽURIRANO: Stil vrijedi za obje forme */
.form-group.form-submit {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
    flex-basis: 100% !important;
}

.cta-button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: #BFA14A;
    color: #0D0D0D;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid #BFA14A;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(191, 161, 74, 0.5);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.cta-button:hover,
.cta-button:focus {
    background: #0D0D0D;
    color: #BFA14A;
}

/* Stilovi za poruke o statusu */
.status-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.status-message.success {
    background: #0c4b33; /* Tamno zelena */
    color: #90ee90; /* Svijetlo zelena */
    border: 1px solid #90ee90;
}

.status-message.error {
    background: #6b0a1e; /* Tamno crvena */
    color: #ff9999; /* Svijetlo crvena */
    border: 1px solid #ff9999;
}


/* Responzivnost za formu */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        flex-basis: 100%;
    }

    .form-group {
        min-width: 100%;
    }

    .kontakt-form-section {
        padding: 1rem;
    }

    /* AŽURIRANO: Stil vrijedi za obje forme */
    #kontakt-forma h2,
    #rezervacija-forma h2 {
        font-size: 2rem;
    }
}

/* === KONTAKT STRANICA 2 STUPCA === */
@media (min-width: 992px) {
    .kontakt-wrapper {
        display: flex;
        justify-content: center;
        gap: 2rem;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
        align-items: flex-start; /* Poravnava ih po vrhu */
    }
    
    .kontakt-vizitka {
        flex: 0 1 500px; /* Ne raste, smanjuje se, baza 500px */
        margin: 0 !important; /* Poništava auto margine od .vizitka-container */
    }
    
    .kontakt-forma-wrap {
        flex: 0 1 800px; /* Ne raste, smanjuje se, baza 800px */
        margin: 0 !important; /* Poništava auto margine od .kontakt-form-section */
    }
}
/* ==============================================
   STIL ZA CHECKBOX PRIVATNOSTI
   ============================================== */

.form-group-checkbox {
    display: flex;
    align-items: flex-start; /* Poravnaj na vrh */
    gap: 10px;
    margin-bottom: 1.5rem;
}

/* Stil za sam checkbox */
.form-group-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Spriječi smanjivanje */
    margin-top: 5px;
    cursor: pointer;
}

/* Stil za labelu pored checkboxa */
.form-group-checkbox label {
    font-size: 0.9rem;
    font-weight: normal;
    color: #BFA14A;
    line-height: 1.5;
    text-align: left;
}
/* ==============================================
   EKSKLUZIVNI NATPIS - IZBAČENO/ISPRAVLJENO
   ============================================== */

/* Uklanjanje eksperimentalnih pozicioniranja s position: fixed */
.landing-hero {
    position: relative; 
}

/* Uklanjanje starog eksperimentalnog .exclusive-ribbon stila */
.exclusive-ribbon {
    display: none !important; 
}


/* ==============================================
   ELEGANTNI NATPIS ISPOD SLIKE - NOVO
   ============================================== */
.exclusive-title {
    /* Stil velikog rukopisnog naslova */
    font-family: 'Playwrite HR', serif; /* Rukopisni font */
    font-size: clamp(2rem, 4vw, 3rem); /* Veliki font */
    font-weight: 400; /* Lagan za eleganciju */
    line-height: 1.2;
    margin: 0.5rem auto 0.2rem auto; /* Pozicija ispod slike (headshot) */
    color: #FFD700; /* Svjetlija zlatna */
    text-shadow: 
        0 0 7px #FFA500,     /* Narančasti unutarnji sjaj */
        0 0 15px #FFD700,    /* Zlatni srednji sjaj */
        0 0 25px rgba(191, 161, 74, 0.7); /* Blijedi vanjski sjaj */
    text-align: center;
    width: 100%;
}

.master-title {
    /* Stil manjeg, Master Level dijela */
    font-family: 'Cinzel', serif; /* Čvrst font */
    font-size: clamp(0.7rem, 1.5vw, 1.1rem); /* Mala veličina */
    font-weight: 700;
    line-height: 1;
    margin: 0 auto 1.5rem auto; /* Razmak između glavnog naslova */
    color: #FFFFFF; /* Bijela baza */
    letter-spacing: 3px; /* Povećan razmak */
    text-shadow: 
        0 0 3px #FFFFFF,
        0 0 8px #FFD700;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* Prilagodba: Na mobitelu neka bude malo manji */
@media (max-width: 768px) {
    .exclusive-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem); 
    }
    .master-title {
        font-size: clamp(0.6rem, 1.5vw, 0.9rem); 
    }
}
/* ==============================================
   KRAJ ELEGANTNOG NATPISA
   ============================================== */

/* ==============================================
   CHRISTMAS POPUP STYLES
   ============================================== */

.christmas-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* Changed to none */
    align-items: center;
    justify-content: center;
    z-index: 1200; /* Higher than cookie banner */
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden; /* Osigurava da snijeg ne izlazi izvan okvira */
}

.christmas-popup.visible {
    display: flex; /* Changed to flex */
    opacity: 1;
}

.christmas-popup-content {
    background: #0D0D0D;
    border: 3px solid #BFA14A;
    border-radius: 10px;
    padding: 2.5rem 2rem 2rem 2rem;
    width: 90%;
    max-width: 500px;
    text-align: center;
    
    /* === IZMJENA: Dodan z-index da je iznad snijega === */
    position: relative; 
    z-index: 1202; 
    
    /* Fire glow animation */
    animation: fire-glow-card 3s ease-in-out infinite;
    
    /* Entry animation */
    transform: scale(0.7);
    transition: transform 0.4s ease;
}

.christmas-popup.visible .christmas-popup-content {
    transform: scale(1);
}

/* === POČETAK IZMJENE (Christmas Popup Title) === */
/* AŽURIRANO: Dodana 'light-yellow-flicker' animacija (kao "S poštovanjem") */
.christmas-popup-content h3 {
    font-family: 'Cormorant Garamond', serif; /* Standardni font za naslove */
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    color: #FFFFFF; /* Animacija najbolje radi na bijeloj boji */
    margin-bottom: 1rem;
    text-transform: none;
    animation: light-yellow-flicker 2.5s linear infinite; /* KAO "S POŠTOVANJEM" */
    text-shadow: 0 0 8px #fff, 0 0 16px #BFA14A, 0 0 24px #BFA14A, 0 0 32px #ffae42; /* Početni shadow */
    font-display: swap; 
}
/* === KRAJ IZMJENE === */


.christmas-popup-content p {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.christmas-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #BFA14A;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.3s ease;
    
    /* Initially hidden */
    visibility: hidden;
    opacity: 0;
}

.christmas-popup-close.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease, color 0.3s ease;
}

.christmas-popup-close:hover {
    color: #FFFFFF;
}

.christmas-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.christmas-popup-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    background: transparent;
    color: #BFA14A;
    border: 2px solid #BFA14A;
    border-radius: 8px;
    animation: pulse 2s infinite;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 700;
    transition: all 0.3s ease;
}

.christmas-popup-btn:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 15px #BFA14A;
    transform: scale(1.03);
}

.christmas-popup-btn.btn-primary {
    background: #BFA14A;
    color: #1A1A1A;
    animation: none; /* Primary button doesn't pulse */
}

.christmas-popup-btn.btn-primary:hover {
    background: transparent;
    color: #BFA14A;
    box-shadow: 0 0 15px #BFA14A;
    transform: scale(1.03);
}

/* Responsive for buttons on larger screens */
@media (min-width: 480px) {
    .christmas-popup-buttons {
        flex-direction: row;
    }
}

/* Responsive for the popup on small screens */
@media (max-width: 480px) {
    .christmas-popup-content {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        width: 95%;
    }
    
    .christmas-popup-content h3 {
        font-size: 1.8rem;
    }
    
    .christmas-popup-content p {
        font-size: 1rem;
    }
}

/* ==============================================
   SNOWFALL EFFECT (NOVO)
   ============================================== */

.snowflakes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1201; /* Iznad overlay-a, ali ispod .christmas-popup-content */
}

.snowflake {
  color: #FFFFFF;
  font-size: 1.2em; /* Veličina pahulje */
  font-family: Arial, sans-serif; /* Fallback */
  text-shadow: 0 0 3px #FFFFFF; /* Lagani sjaj */
  position: absolute;
  top: -10%;
  user-select: none;
  animation: snowfall-animation 10s linear infinite;
}

/* Keyframes za padanje snijega (s vrludanjem) */
@keyframes snowfall-animation {
  0% { 
    transform: translateY(0) translateX(0vw); 
    opacity: 1;
  }
  20% { 
    transform: translateY(20vh) translateX(2vw); 
  }
  40% { 
    transform: translateY(40vh) translateX(-2vw); 
  }
  60% { 
    transform: translateY(60vh) translateX(2vw); 
  }
  80% { 
    transform: translateY(80vh) translateX(-2vw); 
  }
  100% { 
    transform: translateY(105vh) translateX(0vw); 
    opacity: 0;
  }
}

/* Keyframes za alternativnu putanju (vrludanje u suprotnom smjeru) */
@keyframes snowfall-animation-alt {
  0% { 
    transform: translateY(0) translateX(0vw); 
    opacity: 1;
  }
  20% { 
    transform: translateY(20vh) translateX(-2vw); 
  }
  40% { 
    transform: translateY(40vh) translateX(2vw); 
  }
  60% { 
    transform: translateY(60vh) translateX(-2vw); 
  }
  80% { 
    transform: translateY(80vh) translateX(2vw); 
  }
  100% { 
    transform: translateY(105vh) translateX(0vw); 
    opacity: 0;
  }
}

/* Različite pozicije, trajanja i kašnjenja */
.snowflakes-container .snowflake:nth-of-type(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.snowflakes-container .snowflake:nth-of-type(2) { left: 20%; animation-duration: 8s; animation-delay: -3s; font-size: 0.8em; animation-name: snowfall-animation-alt; }
.snowflakes-container .snowflake:nth-of-type(3) { left: 30%; animation-duration: 10s; animation-delay: -5s; }
.snowflakes-container .snowflake:nth-of-type(4) { left: 40%; animation-duration: 7s; animation-delay: -1s; font-size: 0.9em; animation-name: snowfall-animation-alt; }
.snowflakes-container .snowflake:nth-of-type(5) { left: 50%; animation-duration: 9s; animation-delay: -2s; }
.snowflakes-container .snowflake:nth-of-type(6) { left: 60%; animation-duration: 11s; animation-delay: -4s; font-size: 1.1em; animation-name: snowfall-animation-alt; }
.snowflakes-container .snowflake:nth-of-type(7) { left: 70%; animation-duration: 13s; animation-delay: -1.5s; }
.snowflakes-container .snowflake:nth-of-type(8) { left: 80%; animation-duration: 7s; animation-delay: -6s; font-size: 0.8em; animation-name: snowfall-animation-alt; }
.snowflakes-container .snowflake:nth-of-type(9) { left: 90%; animation-duration: 10s; animation-delay: -0.5s; }
}