/* style.css */

/* Osnovni slogi */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { line-height: 1.6; color: #333; scroll-behavior: smooth; }

/* Navigacija */
nav {
    background: rgba(0, 31, 63, 0.9);
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav a { color: white; text-decoration: none; font-weight: bold; }

/* Hero sekcija */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 25px; }

.btn {
    background: #0077be;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
}
.btn:hover { background: #00aaff; }

/* Kartice za tečaje */
.services { padding: 80px 5%; text-align: center; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Kontaktna vizitka sekcija */
.contact-card-section {
    padding: 100px 5%;
    background: #eef2f3;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.v-card {
    flex: 1;
    background: linear-gradient(135deg, #001f3f 0%, #0077be 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 15px;
    object-fit: cover;
}

.v-card-header h3 { margin-bottom: 5px; font-size: 1.5rem; }
.v-card-body { text-align: left; width: 100%; margin: 20px 0; }
.v-card-body p { margin-bottom: 10px; font-size: 0.95rem; }

.social-links { margin-top: 20px; }
.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.contact-form-side {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h2 { margin-bottom: 20px; color: #001f3f; }
form { display: flex; flex-direction: column; }
input, textarea { padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; }

/* polja, e-pošto in textarea */
input[type="text"], 
input[type="email"], 
textarea,
select {
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;   
    box-sizing: border-box; 
}

footer { background: #001f3f; color: white; text-align: center; padding: 20px; }

/* Mobilna prilagoditev */
@media (max-width: 768px) {
    .contact-container { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
}