/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header stilovi */
.header {
    padding: 2rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container {
    max-width: 550px;
    margin: 0 auto;
}

.logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.content-wrapper {
    text-align: center;
    max-width: 550px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Construction animation */
.construction-icon {
    position: relative;
    height: 80px;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.gear {
    position: absolute;
    border: 4px solid #667eea;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gear::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #764ba2;
    border-radius: 50%;
    border-style: dashed;
}

.gear1 {
    width: 60px;
    height: 60px;
    animation: rotate 3s linear infinite;
}

.gear2 {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    animation: rotate-reverse 2s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Contact section */
.contact-section {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contact-section h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.email-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.email-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

/* Responzivni dizajn */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .logo-container {
        max-width: 450px;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .email-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0.5rem;
    }
    
    .logo-container {
        max-width: 300px;
    }
    
    .content-wrapper {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .construction-icon {
        height: 60px;
        margin: 1.5rem 0;
    }
    
    .gear1 {
        width: 45px;
        height: 45px;
    }
    
    .gear2 {
        width: 30px;
        height: 30px;
        margin-left: 20px;
    }
    
    .email-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .contact-section h2 {
        font-size: 1.3rem;
    }
}

/* Landscape orijentacija na mobilnim uređajima */
@media (max-height: 500px) and (orientation: landscape) {
    .main-content {
        padding: 1rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .construction-icon {
        height: 40px;
        margin: 1rem 0;
    }
}

/* Hover efekti za desktop */
@media (hover: hover) {
    .content-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gear1, .gear2 {
        animation: none;
    }
    
    .logo:hover {
        transform: none;
    }
    
    .email-link:hover {
        transform: none;
    }
    
    .content-wrapper:hover {
        transform: none;
    }
}

