/* --- VLASIC PORTAL MODERN STYLE --- */
:root {
    --primary-color: #0f4c81;
    --primary-hover: #0a355c;
    --accent-color: #25D366;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Hero Baner */
.vlasic-hero-pro {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 20px 80px;
    text-align: center;
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
}
.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}
.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-content h1 {
    font-size: 2.8rem;
    margin: 15px 0;
    font-weight: 800;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

/* Pretraga u Hero sekciji */
.hero-search-box {
    background: var(--white);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    flex-wrap: wrap;
}
.search-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0 12px;
    border-radius: 8px;
}
.search-field input {
    border: none;
    background: transparent;
    padding: 12px 8px;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
    color: var(--text-dark);
}
.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover {
    background: var(--primary-hover);
}

/* Glavni Grid */
.vlasic-main {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
}
.section-title-wrap {
    text-align: center;
    margin-bottom: 35px;
}
.section-title-wrap h2 {
    font-size: 2rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.section-title-wrap p {
    color: var(--text-muted);
}
.vlasic-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* Kartice */
.pro-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}
.pro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.12);
}
.pro-card-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.image-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
}
.pro-badge-zone {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pro-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--white);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.pro-price-tag span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pro-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pro-title {
    margin: 0 0 12px;
    font-size: 1.3rem;
}
.pro-title a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.2s;
}
.pro-title a:hover {
    color: var(--primary-color);
}
.pro-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.spec-item {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}
.pro-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Dugmad na dnu kartice */
.pro-card-actions {
    display: flex;
    gap: 10px;
}
.btn-more {
    flex: 1;
    text-align: center;
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-more:hover {
    background: #e2e8f0;
}
.btn-wa {
    flex: 1;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-wa:hover {
    background: #1eb956;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-search-box { flex-direction: column; }
    .search-btn { width: 100%; }
}