/* ==========================================
   1. OSNOVNE NASTAVITVE & RESET
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. GLAVA IN NAVIGACIJA (HEADER & NAV)
   ========================================== */
.header {
    background-color: #ffffff;
    border-bottom: 2px solid #e9ecef;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #2e5b30;
}

/* ==========================================
   3. HERO SEKCIJA
   ========================================== */
.hero {
    background-color: #2e5b30;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==========================================
   4. PRODUKTI
   ========================================== */
.main-content {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2e5b30;
    font-size: 28px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #2e5b30;
    font-size: 20px;
}

.product-info p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

/* ==========================================
   5. GUMBI
   ========================================== */
.btn {
    display: inline-block;
    background-color: #2e5b30;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1e3d20;
}

/* ==========================================
   6. KONTAKT & OBRAZEC
   ========================================== */
.contact-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: #2e5b30;
    margin-bottom: 15px;
    font-size: 28px;
}

.contact-info p {
    color: #6c757d;
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 15px;
}

.info-item strong {
    color: #333333;
    display: block;
    margin-bottom: 2px;
}

.info-item p {
    margin-bottom: 0;
    color: #2e5b30;
    font-weight: 500;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #2e5b30;
    font-size: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e5b30;
}

/* PORAVNAVA KLICNE KODE IN TELEFONA V ISTI VRSTICI */
.phone-input-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    width: 100%;
}

.phone-input-group select.country-code-select {
    width: 115px !important; /* Majhen del na levi strani */
    flex-shrink: 0;
}

.phone-input-group input[type="tel"] {
    flex: 1 !important; /* Zasede preostali večji del vrstice */
    width: auto !important;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
}

/* ==========================================
   7. FOOTER
   ========================================== */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* ==========================================
   8. PRILAGODITVE ZA MOBILNE NAPRAVE (RESPONSIVE)
   ========================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo-img {
        height: 75px;
        margin: 0 auto;
    }

    .nav ul {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .nav a {
        font-size: 14px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }
}