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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, 
        #0a1a3a 0%, 
        #1e4a8c 50%, 
        #2563eb 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Jednostavan animirani background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(135, 206, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.08) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Logo s elegantnim efektom */
.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.logo-ring {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #87ceeb, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.3);
    position: relative;
    padding: 8px;
    transition: all 0.3s ease;
}

.logo-ring:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(135, 206, 235, 0.5);
}

.logo-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: linear-gradient(135deg, #1e4a8c, #0f2c5c);
    border-radius: 50%;
    z-index: 1;
}

.logo-ring img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(135, 206, 235, 0.6));
}

/* Glavni naslov */
.main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffffff, #87ceeb, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(135, 206, 235, 0.3);
    letter-spacing: 1px;
}

.title-underline {
    height: 4px;
    background: linear-gradient(90deg, transparent, #87ceeb, transparent);
    border-radius: 2px;
    margin: 0 auto;
    width: 250px;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
}

/* Glass morphism kartice */
.glass-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Service kartice */
.service-card {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(135,206,235,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(135,206,235,0.4);
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #87ceeb, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.5);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

/* Kontakt linkovi */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.contact-link:hover {
    transform: scale(1.02);
    color: #87ceeb;
}

.contact-info {
    background: rgba(135,206,235,0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(135,206,235,0.3);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(135,206,235,0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.3);
}

/* CTA button */
.cta-button {
    background: linear-gradient(45deg, #87ceeb, #2563eb);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.5);
}

/* Grid layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Text efekti */
.text-glow {
    text-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
}

.border-glow {
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title { 
        font-size: 2.8rem !important; 
    }
    
    .logo-ring { 
        width: 100px !important; 
        height: 100px !important; 
    }
    
    .logo-ring img { 
        width: 70px !important; 
        height: 70px !important; 
    }
    
    .service-icon { 
        width: 60px !important; 
        height: 60px !important; 
    }
    
    .service-icon i { 
        font-size: 1.5rem !important; 
    }
    
    .glass-card { 
        padding: 25px 20px !important; 
    }
    
    .service-card { 
        padding: 20px !important; 
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .title-underline {
        width: 200px !important;
    }
}

@media (max-width: 480px) {
    .main-title { 
        font-size: 2.2rem !important; 
    }
    
    .logo-ring { 
        width: 80px !important; 
        height: 80px !important; 
    }
    
    .logo-ring img { 
        width: 55px !important; 
        height: 55px !important; 
    }
    
    .title-underline {
        width: 150px !important;
    }
    
    .container {
        padding: 15px;
    }
}

/* Jednostavne animacije */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(135, 206, 235, 0.3);
    border-radius: 50%;
    border-top-color: #87ceeb;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
