:root {
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8529;
    --dark-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    /* CSS Scroll Snap pre plynuly prechod po sekciach */
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.container {
    width: 100%;
    height: 100vh;
}

.section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    animation: slideDown 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    pointer-events: none; /* Let clicks pass through empty areas */
}

.navbar > * {
    pointer-events: auto; /* Enable clicks on links */
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gold);
    transition: all 0.4s ease;
    opacity: 0.85;
}

.nav-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.gold-icon {
    color: var(--gold);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.nav-item:hover .gold-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.phone-number {
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 1px;
    background: linear-gradient(to right, #f3e5ab, #d4af37, #aa8529);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

/* SECTION 1 */
.hero-section {
    background-image: url('heroimage.jpg?v=2');
    background-attachment: fixed; /* Creates a slight parallax effect combined with scroll snap */
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Darkening gradient to make white text perfectly readable without losing the luxury feel */
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.85) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.slogan {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: 300;
    letter-spacing: 2px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.8));
    position: relative;
    max-width: 90vw;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
    pointer-events: none;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* SECTION 2 */
.proof-section {
    background-image: url('section2_img.png?v=2');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/* Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
        justify-content: center;
        gap: 2rem;
    }
    .phone-number {
        font-size: 1rem;
    }
}
