/* ==================== CORE VARIABLES ==================== */
:root {
    --color-accent: #D4AF37; /* Muted Gold */
    --color-primary-cta: #FBBF24; /* Amber Gold za dugmad */
    --color-navy: #0F172A; /* Teget pozadina */
    --color-card: #1E293B; /* Boja kartica */
    --color-text: #F8FAFC; /* Bijela/Svijetlo siva */
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-navy);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== ANIMATIONS ==================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25);
}

/* Smooth fade-in for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.6s ease-in;
}

/* ==================== HERO SECTION ==================== */
.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

/* ==================== MOBILE MOCKUP ==================== */
.mobile-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 45px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 
                0 0 0 4px #1E293B,
                inset 0 0 20px rgba(212, 175, 55, 0.1);
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #F1F5F9 0%, #E2E8F0 100%);
    border-radius: 35px;
    overflow-y: auto;
    scrollbar-width: none;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.mobile-screen::-webkit-scrollbar { display: none; }

/* ==================== MATERIAL VISUALS ==================== */
.material-box {
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* ==================== RESPONSIVE FORM FIXES ==================== */
.contact-form-grid {
    width: 100%;
}

.contact-form-grid input,
.contact-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .contact-form-grid .grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-form-grid input[type="email"],
    .contact-form-grid input[type="tel"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
