/* Globalmix Landing Page Styles */
/* Modern AI/Tech Design */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --hero-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --contact-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --text-gradient: linear-gradient(135deg, #64b5f6, #42a5f5, #00bcd4);
    --shadow-light: 0 10px 30px rgba(102, 126, 234, 0.3);
    --shadow-hover: 0 15px 40px rgba(102, 126, 234, 0.4);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--primary-gradient);
    margin: 0;
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 48, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(13, 110, 253, 0.4) 0%, transparent 50%),
        var(--hero-gradient),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(0, 255, 255, 0.03) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(0, 255, 255, 0.03) 100px
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.4rem;
    color: #e3f2fd;
    font-weight: 400;
    line-height: 1.6;
}

/* MODERN CARDS */
.brand-card, .service-card {
    border-radius: var(--border-radius);
    padding: 2.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: none;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.brand-card::before, .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.brand-card:hover, .service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.service-card i {
    background: linear-gradient(135deg, var(--icon-color), var(--icon-color-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card:nth-child(1) { --icon-color: #2196F3; --icon-color-light: #64B5F6; }
.service-card:nth-child(2) { --icon-color: #FF9800; --icon-color-light: #FFB74D; }
.service-card:nth-child(3) { --icon-color: #4CAF50; --icon-color-light: #81C784; }
.service-card:nth-child(4) { --icon-color: #F44336; --icon-color-light: #EF5350; }

/* ENHANCED BUTTONS */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* SECTION BACKGROUNDS */
#o-nama, #kontakt {
    background: var(--contact-gradient);
}

#brendovi {
    background: var(--secondary-gradient);
}

#usluge {
    background: var(--primary-gradient);
    color: white;
}

#usluge h2 {
    color: white;
}

#usluge .service-card {
    color: #333;
}

#usluge .service-card h5 {
    color: #333;
}

/* MODERN CONTACT FORM */
.contact-form {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    padding: 3rem;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

.form-success {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: none;
}

.form-error {
    background: linear-gradient(135deg, #F44336, #EF5350);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: none;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-gradient);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* FOOTER */
footer {
    background: var(--hero-gradient);
    color: #e3f2fd;
}

/* Override Bootstrap text-muted for better footer readability */
footer .text-muted,
footer small.text-muted,
small.text-muted {
    --bs-text-opacity: 1;
    color: rgba(255, 255, 255, 0.75) !important;
}

/* FLOATING ANIMATION */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content > div {
    animation: float 6s ease-in-out infinite;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .btn-primary, .btn-outline-light {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }
}