/**
 * PintaSplet - Glavni slogovnik (CSS)
 * 
 * Barvna shema:
 * - Modra #00A2E8 (C1) - Primarna barva
 * - Oranžna #FF7F27 (C2) - Sekundarna barva
 * - Svetlo modra #99D9EA
 * - Svetlo oranžna #FFC90E
 */

/* ==========================================================================
   Splošne nastavitve
   ========================================================================== */

:root {
    --color-primary-blue: #00A2E8;
    --color-secondary-orange: #FF7F27;
    --color-light-blue: #99D9EA;
    --color-light-orange: #FFB969;
    
    --primary-blue-rgb: 0, 162, 232;
    --secondary-orange-rgb: 255, 127, 39;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-primary-blue);
    background-color: #f8f9fa;
}

/* ==========================================================================
   Glava in navigacija
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.brand-pinta {
    color: var(--color-primary-blue);
}

.brand-splet {
    color: var(--color-secondary-orange);
}

/* Navigacijska povezava */
.nav-link {
    font-weight: 500;
    padding: 0.5rem 0.5rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.btn.btn-primary-custom.btn-contact.ms-2 {
    margin-left: 50px !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary-blue) !important;
}

.nav-link.active {
    color: var(--color-secondary-orange) !important;
}

/* Dropdown meni */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--color-light-blue);
    color: #333;
}

/* ==========================================================================
   Gumbi
   ========================================================================== */

.btn-primary-custom {
    background-color: var(--color-secondary-orange);
    border-color: var(--color-secondary-orange);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: #e66a1f;
    border-color: #e66a1f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 127, 39, 0.4);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

/* Language Switcher Styles */
.language-switcher a.language-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-switcher a.language-link:hover,
.language-switcher a.language-link.active {
    background-color: var(--color-light-blue);
    color: #fff !important;
}

.flag-icon {
    font-size: 1.25rem;
    margin-right: 4px;
}

.lang-text {
    font-size: 0.75rem;
}

/* Gumb za kontakt */
.btn-contact {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .btn-contact {
        margin-top: 1rem;
        width: 100%;
    }
}

/* ==========================================================================
   Sekcije in komponente
   ========================================================================== */

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-secondary-orange);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* ==========================================================================
   Paketi (Pricing cards)
   ========================================================================== */

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary-blue);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Priporočeno';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary-orange);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card .card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
}

.pricing-card .price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.fw {
    width:100%;
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-secondary-orange);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* ==========================================================================
   Storitve (Service boxes)
   ========================================================================== */

.service-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-icon.blue {
    background-color: var(--color-light-blue);
    color: var(--color-primary-blue);
}

.service-icon.orange {
    background-color: #ffe4cc;
    color: var(--color-secondary-orange);
}

/* ==========================================================================
   Noga (Footer)
   ========================================================================== */

.site-footer {
    background-color: #00A2E8;
    color: white;
}

.site-footer h5,
.site-footer p,
.site-footer li,
.site-footer .small {
    color: white !important;
}

.site-footer a.footer-link {
    color: white !important;
    text-decoration: none;
}
.footer-link:hover,
.footer-link:focus {
    color: var(--color-secondary-orange) !important;
    padding-left: 5px;
}

/* ==========================================================================
   Obrazci
   ========================================================================== */

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 162, 232, 0.25);
}

/* ==========================================================================
   Hero sekcija
   ========================================================================== */

.hero-section {
    background-color: #DBF7FF;
    padding-top: 6rem;
    padding-bottom: 4rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Bootstrap prilagoditve
   ========================================================================== */

.container {
    max-width: 1200px;
}

.bg-primary-custom {
    background-color: var(--color-primary-blue) !important;
}

.bg-light-orange {
    background-color: var(--color-light-orange) !important;
}

.text-primary-custom {
    color: var(--color-primary-blue) !important;
}

/* Obojestranska poravnava besedila za strani s politiko in pogoji - VSE strani razen hero section */
.legal-pages p:not(.hero-section *),
.hero-section + section p.text-muted,
.hero-section ~ * p.text-muted {
    text-align: justify;
}

p.text-muted,
.pogoji-politika-content p {
    /* Privzeto poravnava - override v nadaljevanju za vsebino */
}

/* Vsebina znotraj card-body (legal pages) */
.card-body p.text-muted {
    text-align: justify !important;
}

.border-primary-custom {
    border-color: var(--color-primary-blue) !important;
}

/* Ikone znotraj gumbov */
.btn .bi {
    margin-right: 0.5rem;
}

/* ==========================================================================
   Animacije
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ==========================================================================
   Responsive prilagoditve
   ========================================================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        padding-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

/* Language Switcher Responsive */
@media (max-width: 991px) {
    .language-switcher.d-none.d-lg-flex {
        display: none !important;
    }
}
