/* ============================================
   ŠTEFANČIĆ KLIMA UREĐAJI - Main Stylesheet
   Modern, Dynamic, Responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1a5ab8;
    --primary-dark: #0e3d7a;
    --primary-light: #2d7de0;
    --secondary: #00bcd4;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --dark-light: #364151;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --gray-lighter: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-light);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    color: var(--white);
}

.snowflake-spinner {
    font-size: 48px;
    animation: spinSnow 1.5s linear infinite;
}

.preloader-inner p {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes spinSnow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a, .top-bar span {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar i {
    margin-right: 6px;
    color: var(--secondary);
}

.top-bar .fab.fa-facebook-f {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0;
    transition: var(--transition);
}

.top-bar .fab.fa-facebook-f:hover {
    background: #1877f2;
    color: white;
}

/* --- Header / Navigation --- */
#header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 75px;
    width: auto;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#header.scrolled .logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: rgba(26,90,184,0.06);
}

.nav-menu > li > a .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-xl) !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding-top: 6px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.06);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--dark-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown li a:hover {
    background: rgba(26,90,184,0.06);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown-divider {
    height: 1px;
    margin: 6px 12px;
    background: rgba(0,0,0,0.1);
}

/* Mega dropdown - brand with series submenu */
.dropdown .has-sub {
    position: relative;
}

.dropdown .has-sub > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown .has-sub > a .fa-chevron-right {
    font-size: 10px;
    opacity: 0.5;
    transition: var(--transition);
}

.dropdown .has-sub:hover > a .fa-chevron-right {
    opacity: 1;
    transform: translateX(2px);
}

.dropdown .sub-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 101;
    border: 1px solid rgba(0,0,0,0.06);
}

.dropdown .has-sub:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown .sub-header {
    padding: 6px 16px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 4px;
}

.sub-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--dark-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sub-dropdown li a:hover {
    background: rgba(26,90,184,0.06);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown .sub-dropdown::-webkit-scrollbar {
    width: 4px;
}

.dropdown .sub-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,90,184,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 30%, #1a5ab8 60%, #2d7de0 100%);
    overflow: hidden;
    padding: 100px 0 120px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/toshiba-seiya-classic-2-prostor.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    opacity: 0.25;
    transform: scale(1.05);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    color: rgba(255,255,255,0.15);
    animation: floatParticle linear infinite;
    font-size: 20px;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: #fbbf24;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #06b6d4, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    display: inline;
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

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

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,90,184,0.08);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Brands Section --- */
.brands-section {
    padding: 80px 0;
    background: var(--white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-logo-wrap {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-wrap img {
    max-height: 50px;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}

.brand-card:hover .brand-logo-wrap img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brand-card h3 {
    font-size: 16px;
    font-weight: 700;
}

.brand-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.brand-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26,90,184,0.08);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
}

/* --- Product Slider Section --- */
/* === Hero Slider (full-width at top) === */
.hero-slider-section {
    position: relative;
    margin-top: 0;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    position: relative;
    height: 75vh;
    min-height: 450px;
    max-height: 700px;
    overflow: hidden;
    background: #0a1628;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(26,90,184,0.4) 50%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-slide-content {
    max-width: 600px;
    color: #fff;
    animation: fadeInUp 0.8s ease;
}

.hero-slide-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.hero-slide-content .hero-badge i {
    color: #fbbf24;
}

.hero-slide-content h2 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-slide-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-slide-content .btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-slide-content .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26,90,184,0.4);
}

.hero-slide-content .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,90,184,0.5);
}

/* Stats bar below hero slider */
.hero-stats-bar {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
    padding: 24px 0;
}

.hero-stats-bar .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0;
    border: none;
    animation: none;
}

.hero-stats-bar .stat-number {
    color: #fff;
}

.hero-stats-bar .stat-label {
    color: rgba(255,255,255,0.6);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slide {
        height: 55vh;
        min-height: 350px;
    }
    .hero-slide-overlay {
        padding: 0 5%;
    }
    .hero-slide-content h2 {
        font-size: 28px;
    }
    .hero-slide-content p {
        font-size: 15px;
    }
    .hero-slide-content .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .hero-stats-bar .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* --- Services Section --- */
.services-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-light);
}

.service-features li i {
    color: var(--success);
    font-size: 12px;
}

/* --- Heat Pump Section --- */
.heatpump-section {
    padding: 80px 0;
    background: var(--white);
}

.heatpump-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.heatpump-content .section-tag {
    margin-bottom: 16px;
}

.heatpump-content h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-bottom: 16px;
}

.heatpump-content > p {
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.8;
}

.heatpump-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.hp-type {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-lighter);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hp-type:hover {
    background: rgba(26,90,184,0.06);
    transform: translateX(5px);
}

.hp-type i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 2px;
    min-width: 28px;
}

.hp-type h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.hp-type p {
    font-size: 14px;
    color: var(--gray);
}

.heatpump-image {
    position: relative;
}

.heatpump-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hp-badge {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hp-badge span {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.hp-badge small {
    font-size: 12px;
    opacity: 0.85;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
}

.about-img-secondary img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-experience-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.exp-number {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    text-align: left;
    line-height: 1.3;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-specialties {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.specialty {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-light);
}

.specialty i {
    color: var(--success);
    font-size: 18px;
}

.about-owner {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.owner-info strong {
    color: var(--dark);
    font-size: 16px;
}

.owner-info small {
    color: var(--gray);
}

/* --- Authorized Service Banner --- */
.auth-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0;
    overflow: hidden;
}

.auth-content {
    text-align: center;
    color: var(--white);
}

.auth-content h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.auth-content h3 i {
    color: #fbbf24;
    margin-right: 8px;
}

.auth-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.auth-brands span {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.auth-brands span:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* --- Tips Section --- */
.tips-section {
    padding: 80px 0;
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.tip-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tip-icon {
    width: 50px;
    height: 50px;
    background: rgba(26,90,184,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.tip-card:hover .tip-icon {
    background: var(--primary);
    color: var(--white);
}

.tip-card h3 {
    font-size: 18px;
}

.tip-card p {
    font-size: 14px;
    color: var(--gray);
    flex-grow: 1;
}

.tip-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tip-card:hover .tip-link i {
    transform: translateX(4px);
}

.tip-link i {
    transition: var(--transition);
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(26,90,184,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 15px;
    color: var(--dark);
}

.contact-item a {
    color: var(--primary);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-light);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-main);
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: var(--gray-lighter);
    color: var(--dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26,90,184,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 12px;
}

.form-note i {
    color: var(--success);
    margin-right: 4px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    position: relative;
    padding-top: 40px;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 40px 0;
}

.footer-logo {
    margin-bottom: 16px;
    filter: brightness(2);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #1877f2;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 17px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--secondary);
    min-width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

/* --- AI Chatbox --- */
.chatbox {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

/* --- Klimatiko Character Area --- */
.klimatiko-area {
    position: absolute;
    right: 70px;
    bottom: -24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    animation: klimatikoEntrance 0.8s ease 2s both;
}

@keyframes klimatikoEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Speech Bubble */
.klimatiko-bubble {
    background: var(--white);
    color: var(--dark);
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    max-width: 240px;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    animation: bubblePop 0.5s ease 3s both;
    opacity: 0;
    border: 2px solid rgba(26,90,184,0.1);
}

.klimatiko-bubble strong {
    color: var(--primary);
}

.klimatiko-bubble-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-right: 2px solid rgba(26,90,184,0.1);
    border-bottom: 2px solid rgba(26,90,184,0.1);
}

@keyframes bubblePop {
    0% { opacity: 0; transform: scale(0.7) translateY(10px); }
    60% { opacity: 1; transform: scale(1.03) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Klimatiko Character */
.klimatiko-character {
    width: 180px;
    height: 220px;
    position: relative;
    animation: klimatikoIdle 4s ease-in-out infinite;
}

.klimatiko-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

@keyframes klimatikoIdle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Hide Klimatiko when chat is open */
.chatbox.chat-open .klimatiko-area {
    animation: klimatikoExit 0.3s ease forwards;
}

@keyframes klimatikoExit {
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
}

/* Chat Toggle Button */
.chatbox-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26,90,184,0.4);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.chatbox-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(26,90,184,0.5);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Klimatiko avatar in chat header */
.klimatiko-avatar {
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.klimatiko-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    transform: scale(1.3);
}

/* Klimatiko avatar in messages */
.klimatiko-msg-avatar {
    background: #e8f0fe;
    overflow: hidden;
}

.klimatiko-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.4);
}

.chatbox-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.chatbox-window.open {
    display: flex;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbox-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Bot message avatar (small, next to messages) */
.bot-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 4px;
    border: 2px solid var(--primary);
    background: #e8f0fe;
}

.bot-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-header-info h4 {
    color: var(--white);
    font-size: 15px;
}

.chat-status {
    font-size: 12px;
    opacity: 0.85;
}

.chat-status i {
    font-size: 8px;
    color: #34d399;
    margin-right: 4px;
}

.chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255,255,255,0.25);
}

.chatbox-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    gap: 8px;
    max-width: 90%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.6;
}

.chat-message.bot .message-content {
    background: var(--gray-lighter);
    color: var(--dark-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.quick-reply {
    padding: 6px 14px;
    font-size: 13px;
    font-family: var(--font-main);
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.quick-reply:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26,90,184,0.04);
}

.chatbox-input {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    gap: 8px;
}

.chatbox-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.chatbox-input input:focus {
    border-color: var(--primary);
}

.chatbox-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbox-input button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- Scroll Animations --- */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .heatpump-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu > li > a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: var(--gray-lighter);
        border-radius: var(--radius-sm);
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown .sub-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        display: none;
        background: rgba(26,90,184,0.04);
        border-radius: var(--radius-sm);
        max-height: none;
    }

    .dropdown .has-sub.open .sub-dropdown {
        display: block;
    }

    .hero {
        min-height: 70vh;
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
    }

    .about-experience-badge {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        display: inline-flex;
    }

    .chatbox-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 68px;
        max-height: 70vh;
    }

    .klimatiko-character {
        width: 130px;
        height: 160px;
    }

    .klimatiko-bubble {
        max-width: 190px;
        font-size: 12px;
        padding: 10px 14px;
    }

    .klimatiko-area {
        right: 65px;
    }

    .tips-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .brand-card {
        padding: 20px 14px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .klimatiko-character {
        width: 100px;
        height: 130px;
    }

    .klimatiko-bubble {
        max-width: 160px;
        font-size: 11.5px;
    }

    .klimatiko-area {
        right: 60px;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .auth-brands span {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* ============================================
   AKTUALNO / NEWS SECTION
   ============================================ */

.news-section {
    padding: 80px 0;
    background: var(--gray-lighter);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card.pinned {
    border: 2px solid var(--primary);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f0f4f8;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image .news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.6);
}

.news-card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-badge.akcija {
    background: #fef3c7;
    color: #b45309;
}

.news-badge.novost {
    background: #dbeafe;
    color: #1d4ed8;
}

.news-badge.sezona {
    background: #d1fae5;
    color: #047857;
}

.news-badge.obavijest {
    background: #f3e8ff;
    color: #7c3aed;
}

.news-badge.pinned-badge {
    background: var(--primary);
    color: white;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-summary {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.news-card-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.news-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.news-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 50px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card-image {
        height: 150px;
    }

    .news-card-body {
        padding: 16px 18px 20px;
    }
}

@media (max-width: 480px) {
    .news-card-title {
        font-size: 1rem;
    }

    .news-card-summary {
        font-size: 0.85rem;
    }
}
