/* ==================== GLOBAL STYLES ==================== */
:root {
    /* Unija Brand Colors - Crvena paleta sa loga */
    --primary-color: #DC143C;
    --primary-dark: #B0002A;
    --primary-light: #FF1744;
    --secondary-color: #902923;
    --secondary-light: #A22C29;
    --success-color: #10b981;
    --danger-color: #C62828;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('../img/web/Unija-banner-1.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.85) 0%, rgba(144, 41, 35, 0.85) 100%);
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: white;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ==================== BUTTONS ==================== */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==================== STATISTICS SECTION ==================== */
.statistics-section {
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 5rem 0;
}

.section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== PRICING SECTION ==================== */
.pricing-preview-section,
.pricing-section {
    padding: 5rem 0;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-name {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.author-position,
.author-company {
    font-size: 0.9rem;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.service-card-body {
    padding: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-price {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 5rem 0;
}

.about-icon {
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color) !important;
    background-image: url('../img/web/Footer/footer.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    color: #ffffff !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 41, 55, 0.95);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.footer h5,
.footer h4,
.footer h3,
.footer h2,
.footer h1 {
    color: #ffffff !important;
}

.footer p,
.footer li,
.footer span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ==================== SMOOTH SCROLL ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== UTILITY CLASSES ==================== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}
