:root {
    --primary-red: #e31e24;
    --primary-black: #1a1a1a;
    --primary-white: #ffffff;
    --gray-light: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
}

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

/* Header & Navigation */
header {
    background: var(--primary-white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-white);
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-red);
    color: var(--primary-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--primary-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.section-title .subtitle {
    font-size: 1.2rem;
    color: var(--primary-black);
    opacity: 0.8;
}

.section-subtitle {
    text-align: center;
    margin: 6rem 0 3rem;
    position: relative;
}

.section-subtitle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.section-subtitle h3 {
    display: inline-block;
    background: var(--primary-white);
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 2.2rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}

/* Product Highlight */
.product-highlight {
    position: relative;
    margin-bottom: 2rem;
    background: var(--primary-white);
    border-radius: 15px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.products-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .products-row {
        grid-template-columns: 1fr;
    }
}

.product-highlight .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.product-highlight:hover .bg-image {
    transform: scale(1.05);
}

.product-highlight .content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
    transform: translateY(0); /* Višje kot prej - prej je bilo translateY(70%) */
}

.product-highlight:hover .content-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.4) 100%);
}

.product-highlight .content-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.product-highlight .content-overlay p {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.product-highlight .content-overlay {
    padding-bottom: 2rem;
    text-align: center;
}

.product-highlight:hover .content-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.2) 100%);
}

.btn-light {
    display: inline-block;
    background-color: white;
    color: var(--primary-red);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.product-highlight .btn-light {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    margin-top: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.feature-item .btn-light {
    opacity: 1;
    transform: translateY(0);
    background-color: var(--primary-red);
    color: white;
}

.product-highlight:hover .btn-light {
    opacity: 1;
    transform: translateY(0);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modal Image View */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 5px 50px rgba(0,0,0,0.3);
    animation: modalOpen 0.4s ease-out;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.modal-info {
    padding: 30px;
}

.modal-info h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-info p {
    color: var(--primary-black);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-info .technical-specs {
    margin-top: 25px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    max-height: none;
    overflow: visible;
}

.modal-info .technical-specs h4 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-info .specs-list {
    list-style: none;
    padding: 0;
}

.modal-info .specs-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modal-info .specs-list li::before {
    content: '\2022';  /* Unicode for bullet */
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #333;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

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

/* Make sure modals work on mobile too */

/* Enlarged Image View */
.enlarged-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.enlarged-image-container.active {
    opacity: 1;
    visibility: visible;
}

.enlarged-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-enlarged-image {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.2s ease;
}

.close-enlarged-image:hover {
    transform: scale(1.2);
}

.modal-image {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.modal-image:hover {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info h3 {
        font-size: 1.7rem;
    }
}

.specs-list li strong {
color: var(--primary-black);
}

/* Product Subsection */
.product-subsection {
margin-top: 4rem;
padding: 2rem;
background-color: #f9f9f9;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.product-subsection h3 {
text-align: center;
color: var(--primary-red);
font-size: 2rem;
margin-bottom: 2rem;
position: relative;
padding-bottom: 15px;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.product-subsection h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

/* Smart Control */
.smart-control {
    margin-top: 4rem;
    text-align: center;
}

.smart-control h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.smart-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    padding: 10px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.feature-item h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #555;
    margin-bottom: 1.5rem;
}

.feature-item .features-list {
    text-align: left;
    margin-bottom: 1.5rem;
}

.feature-item .btn {
    margin-top: auto;
    align-self: center;
    transition: all 0.3s ease;
    width: 180px;
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    display: block;
    text-align: center;
    cursor: pointer;
}

/* Color Options */
.color-options {
    margin-top: 4rem;
    text-align: center;
}

.color-options h3 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.color-item {
    padding: 1.5rem;
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.color-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.color-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.color-sample {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.color-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.color-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.white {
    background-color: #FFFFFF;
}

.wood-golden-oak {
    background: linear-gradient(45deg, #C6923B, #DFB26B);
    background-size: 100% 100%;
    position: relative;
}

.wood-golden-oak:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-oak.png') repeat;
    opacity: 0.4;
    border-radius: 6px;
}

.wood-walnut {
    background: linear-gradient(45deg, #5D3A1A, #8B5A2B);
    background-size: 100% 100%;
    position: relative;
}

.wood-walnut:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-walnut.png') repeat;
    opacity: 0.3;
    border-radius: 6px;
}

.anthracite {
    background-color: #383838;
}

.color-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
    color: #555;
}

.color-options .btn {
    display: block;
    margin: 2rem auto 0;
    width: 200px;
    opacity: 1;
    transform: translateY(0);
    background-color: var(--primary-red);
    color: white;
}

/* Styles for the color chart in modal */
.color-chart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 30px;
}

.color-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    margin-bottom: 15px;
}

.color-preview {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.color-preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.color-preview-image:hover {
    transform: scale(1.05);
}

.color-box span {
    display: block;
    font-size: 0.85rem;
    color: #555;
}

/* Additional color styles */
.cream {
    background-color: #F5F5DC;
}

.black {
    background-color: #000000;
}

.silver {
    background: linear-gradient(45deg, #C0C0C0, #E8E8E8);
}

.dark-brown {
    background-color: #3E2723;
}

.dark-green {
    background-color: #1B5E20;
}

.wood-mahogany {
    background: linear-gradient(45deg, #4E2B1D, #7D4427);
    position: relative;
}

.wood-mahogany:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-mahogany.png') repeat;
    opacity: 0.3;
    border-radius: 6px;
}

.wood-cherry {
    background: linear-gradient(45deg, #841617, #B22222);
    position: relative;
}

.wood-cherry:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-cherry.png') repeat;
    opacity: 0.3;
    border-radius: 6px;
}

.wood-dark-oak {
    background: linear-gradient(45deg, #3E2723, #4E342E);
    position: relative;
}

.wood-dark-oak:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-oak.png') repeat;
    opacity: 0.2;
    border-radius: 6px;
}

.wood-winchester {
    background: linear-gradient(45deg, #8B4513, #CD853F);
    position: relative;
}

.wood-winchester:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/texture-oak.png') repeat;
    opacity: 0.3;
    border-radius: 6px;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .product-highlight {
        flex-direction: column;
        padding: 1rem;
    }

    .product-highlight.reverse {
        flex-direction: column;
    }

    .highlight-image {
        max-width: 100%;
    }

    .highlight-content h3 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-item {
        padding: 1rem;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {

    height: 250px;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.product-info p {
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.features-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.bg-light {
    background-color: var(--gray-light);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-red);
    color: var(--primary-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background: var(--primary-black);
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-column h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-column p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-red);
}

.footer-column:last-child p {
    text-align: justify;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-company-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company-info h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-company-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        margin-top: 1rem;
    }
}

/* slider falcon */
.image-compare-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  aspect-ratio: 16/9; /* ali po potrebi */
}

.image-compare-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
}

.image-compare-left {
  z-index: 1;
  clip-path: inset(0 50% 0 0); /* levo polovico */
}

.image-compare-right {
  z-index: 2;
  clip-path: inset(0 0 0 50%); /* desno polovico */
}


.image-compare-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  font-size: 14px;
  font-family: sans-serif;
  z-index: 4;
}
.image-compare-label.left {
  left: 10px;
}
.image-compare-label.right {
  right: 10px;
}
.image-compare-wrapper {
  max-width: 90vw;     /* prilagodiš širino, da ni preširoko na mobilcih */
  max-height: 80vh;    /* omeji višino, da ni preveliko */
  position: relative;
  aspect-ratio: 16 / 9; /* ohrani razmerje slik */
  box-shadow: 0 0 15px rgba(0,0,0,0.2); /* malo efekta, ni nujno */
  background: #000;    /* za lep kontrast slikam */
  user-select: none;
  -webkit-user-drag: none;
}
.image-compare-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 100%;
  background: #fff;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  cursor: ew-resize;
  z-index: 3;
  /* odstranjeno flex, ker ne rabimo */
}

/* puščica levo */
.image-compare-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;       /* malo odmaknjena levo od črte */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #fff;
  filter: drop-shadow(1px 0 0 black);
  cursor: pointer;
}

/* puščica desno */
.image-compare-slider::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;      /* malo odmaknjena desno od črte */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  filter: drop-shadow(-1px 0 0 black);
  cursor: pointer;
}