/* Optimizovane CSS varijable */
:root {
    --primary-color: #F8E600;
    --secondary-color: #6c757d;
    --accent-color: #F8E600;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --transition: transform 0.3s ease, box-shadow 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Optimizovani base stilovi */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background: #000;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

/* Optimizacija slika */
img {
    max-width: 100%;
    height: auto;
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimizacija animacija */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimizacija renderinga */
.hardware-accelerated {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimizacija carousel-a */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    height: auto;
    padding-bottom: 35%;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    margin: 0 5px;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.header.scrolled {
    background: #fff;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 110px;
    width: auto;
    transition: var(--transition);
    filter: brightness(1.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
    color: #333;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    margin-top: 76px;
    width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-indicators {
    z-index: 15;
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

/* Sections */
.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Section Border Animation */
.section-border-animation {
    position: relative;
    overflow: hidden;
}

.section-border-animation::before,
.section-border-animation::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
}

.section-border-animation::before {
    top: 0;
    left: 0;
}

.section-border-animation::after {
    bottom: 0;
    right: 0;
}

.section-border-animation:hover::before,
.section-border-animation:hover::after {
    width: 100%;
}

.section-border-animation .border-left,
.section-border-animation .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.section-border-animation .border-left {
    top: 0;
    left: 0;
}

.section-border-animation .border-right {
    bottom: 0;
    right: 0;
}

.section-border-animation:hover .border-left,
.section-border-animation:hover .border-right {
    height: 100%;
}

/* Product Cards */
.products {
    background: #000000;
    position: relative;
    padding: 2rem 0;
}

.products .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin: 0 -1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.products .row::-webkit-scrollbar {
    display: none;
}

.products .col {
    flex: 0 0 300px;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.product-card {
    width: 100%;
    min-width: 280px;
    margin-right: 1rem;
}

.products .carousel-item {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.products .carousel-item.active,
.products .carousel-item-next,
.products .carousel-item-prev {
    display: block;
}

.products .carousel-control-prev,
.products .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(248, 230, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
    left: 0;
    right: 0;
}

.products .carousel-control-prev {
    left: 0;
}

.products .carousel-control-next {
    right: 0;
}

.products .carousel-control-prev:hover,
.products .carousel-control-next:hover {
    background: var(--primary-color);
    color: #000000;
    opacity: 1;
}

.products .carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--primary-color);
    margin: 0 4px;
    cursor: pointer;
}

.products .carousel-indicators button.active {
    background-color: var(--primary-color);
}

.products .section-title {
    color: #fff;
}

.products .section-title strong {
    color: var(--primary-color);
}

.product-card {
    background: #000000;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    color: #fff;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.product-card::before {
    top: 0;
    left: 0;
}

.product-card::after {
    bottom: 0;
    right: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(248, 230, 0, 0.2);
}

.product-card:hover::before,
.product-card:hover::after {
    width: 100%;
}

.product-card .border-left,
.product-card .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.product-card .border-left {
    top: 0;
    left: 0;
}

.product-card .border-right {
    bottom: 0;
    right: 0;
}

.product-card:hover .border-left,
.product-card:hover .border-right {
    height: 100%;
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.product-description {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-card .btn-primary {
    background-color: transparent !important;
    color: #F8E600 !important;
    border: 2px solid #F8E600 !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.product-card .btn-primary::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #F8E600 !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.product-card .btn-primary:hover {
    color: #000000 !important;
    border-color: #F8E600 !important;
}

.product-card .btn-primary:hover::before {
    width: 100%;
}

.product-card .btn-primary:active {
    box-shadow: none !important;
}

.product-card .btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 230, 0, 0.25) !important;
    background-color: #F8E600 !important;
    color: #000000 !important;
}

/* Feature Cards */
.features {
    background: var(--primary-color);
    position: relative;
    padding: 4rem 0;
}

.features .section-title {
    color: #000000;
}

.features .section-title strong {
    color: #000000;
}

.feature-card {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
}

.feature-card::before,
.feature-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.feature-card::before {
    top: 0;
    left: 0;
}

.feature-card::after {
    bottom: 0;
    right: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before,
.feature-card:hover::after {
    width: 100%;
}

.feature-card .border-animation {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
    z-index: 1;
}

.feature-card .border-left,
.feature-card .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.feature-card .border-left {
    top: 0;
    left: 0;
}

.feature-card .border-right {
    bottom: 0;
    right: 0;
}

.feature-card:hover .border-animation {
    height: 100%;
}

.feature-icon {
    width: 39px;
    height: 39px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
    transform: rotate(45deg);
}

.feature-icon i {
    font-size: 1.1rem;
    color: #000000;
    transition: all 0.4s ease;
    transform: rotate(-45deg);
}

.feature-card:hover .feature-icon {
    background: #000000;
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 0 15px rgba(248, 230, 0, 0.3);
}

.feature-card:hover .feature-icon i {
    color: var(--primary-color);
    transform: rotate(-45deg) scale(1.1);
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-content p {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(248, 230, 0, 0.9), rgba(248, 230, 0, 0.9)), url('../assets/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
    padding: 4rem 0;
}

.btn-primary {
    background-color: transparent !important;
    color: #F8E600 !important;
    border: 2px solid #F8E600 !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #F8E600 !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #000000 !important;
    border-color: #F8E600 !important;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:active {
    box-shadow: none !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 230, 0, 0.25) !important;
    background-color: #F8E600 !important;
    color: #000000 !important;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
}

.footer-logo {
    width: 50%;
    height: auto;
    margin-bottom: 1rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in {
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-caption {
        padding: 1.3rem;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption h2 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #000000;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .products .col {
        flex: 0 0 280px;
    }

    .products .product-image {
        height: 250px;
    }

    .products .product-content {
        padding: 2rem;
    }

    .products .carousel-control-prev,
    .products .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .products .carousel-indicators {
        bottom: -30px;
    }

    .products .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .navbar-brand img {
        height: 90px;
    }

    .carousel-item {
        padding-bottom: 45%;
    }
}

@media (max-width: 767.98px) {
    .products .col {
        flex: 0 0 260px;
    }

    .products .product-image {
        height: 200px;
    }

    .products .product-content {
        padding: 1rem;
    }

    .products .carousel-control-prev,
    .products .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .navbar-brand img {
        height: 70px;
    }

    .carousel-item {
        padding-bottom: 55%;
    }
}

@media (max-width: 575.98px) {
    .products .col {
        flex: 0 0 240px;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .cta,
    .video-wrapper {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: #000000 !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.intro::before,
.intro::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    animation: drawBorder 10s forwards;
}

.intro::before {
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
}

.intro::after {
    bottom: 0;
    right: 0;
    width: 0;
    height: 5px;
}

.intro .border-left,
.intro .border-right {
    position: absolute;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    animation: drawVerticalBorder 10s forwards;
}

.intro .border-left {
    top: 0;
    left: 0;
}

.intro .border-right {
    bottom: 0;
    right: 0;
}

@keyframes drawBorder {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes drawVerticalBorder {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.intro .logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.intro .logo-container img {
    width: 280px;
    /* 30% manje od originalne širine od 400px */
    height: auto;
    margin-bottom: 2rem;
}

.intro .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    text-align: justify;
    margin-bottom: 2rem;
}

.intro .video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.intro .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991.98px) {
    .intro .logo-container img {
        width: 240px;
    }

    .intro .intro-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .intro .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .intro .logo-container img {
        width: 200px;
    }
}

/* MotionCore Section */
.motion-core {
    background: #000000;
    color: #fff;
}

.motion-core .section-title {
    color: #fff;
}

.motion-core .section-title strong {
    color: var(--primary-color);
}

.motion-core .feature-list li {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.motion-core .video-wrapper {
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

/* Dark Theme */
body {
    background-color: #000000;
    color: #ffffff;
}

.bg-black {
    background-color: #000000 !important;
}

.bg-dark {
    background-color: #121212 !important;
}

/* Product Grid Section */
.products-grid {
    position: relative;
    background: #000000;
    padding: 4rem 0;
}

.products-grid .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.products-grid .product-card {
    background-color: transparent;
    border: none;
}

.products-grid .product-card::before,
.products-grid .product-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.products-grid .product-card::before {
    top: 0;
    left: 0;
}

.products-grid .product-card::after {
    bottom: 0;
    right: 0;
}

.products-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(248, 230, 0, 0.2);
}

.products-grid .product-card:hover::before,
.products-grid .product-card:hover::after {
    width: 100%;
}

.products-grid .product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    background: #000000;
}

.products-grid .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.08);
}

.products-grid .product-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.products-grid .product-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.products-grid .product-description {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.products-grid .product-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.products-grid .btn-primary {
    background-color: transparent !important;
    color: #F8E600 !important;
    border: 2px solid #F8E600 !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.products-grid .btn-primary::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #F8E600 !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.products-grid .btn-primary:hover {
    color: #000000 !important;
    border-color: #F8E600 !important;
}

.products-grid .btn-primary:hover::before {
    width: 100%;
}

@media (max-width: 991.98px) {
    .products-grid {
        padding: 3rem 0;
    }

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

    .products-grid .product-content {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .products-grid {
        padding: 2rem 0;
    }

    .products-grid .row {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .products-grid .product-content {
        padding: 1rem;
    }

    .products-grid .product-content h3 {
        font-size: 1.1rem;
    }

    .products-grid .product-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* Instant Fit Section */
.instant-fit-section {
    padding: 4rem 0;
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.instant-fit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(248, 230, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.instant-fit {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.instant-fit.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.instant-fit-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(248, 230, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.instant-fit-content::before,
.instant-fit-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    transition: all 0.6s ease;
}

.instant-fit-content::before {
    top: -100px;
    left: -100px;
}

.instant-fit-content::after {
    bottom: -100px;
    right: -100px;
}

.instant-fit-content:hover::before {
    transform: scale(1.2);
    opacity: 0.15;
}

.instant-fit-content:hover::after {
    transform: scale(1.2);
    opacity: 0.15;
}

.instant-fit-title {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.instant-fit-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.instant-fit-description {
    color: #fff;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    .instant-fit-section {
        padding: 3rem 0;
    }

    .instant-fit-content {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .instant-fit-section {
        padding: 2rem 0;
    }

    .instant-fit-content {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .instant-fit-title {
        margin-bottom: 1.5rem;
    }

    .instant-fit-description {
        margin-bottom: 1.5rem;
    }
}

/* Tablet Breakpoint */
@media (max-width: 991.98px) {
    .product-slide-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image-section,
    .product-info-section {
        grid-column: span 12;
    }

    .product-image-section {
        aspect-ratio: 16/9;
    }

    .product-info-section {
        padding: 1.5rem;
    }

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

    #productCarousel .carousel-control-prev {
        left: 1rem;
    }

    #productCarousel .carousel-control-next {
        right: 1rem;
    }
}

/* Mobile Breakpoint */
@media (max-width: 767.98px) {
    .product-carousel-section {
        padding: 2rem 0;
    }

    .product-image-section {
        aspect-ratio: 3/2;
    }

    .product-image-container {
        padding: 1rem;
    }

    .product-info-section {
        padding: 1.25rem;
    }

    .product-features ul {
        grid-template-columns: 1fr;
    }

    .instant-fit-content {
        padding: 1.5rem;
    }

    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 575.98px) {
    .product-carousel-section {
        padding: 1.5rem 0;
    }

    .product-image-section {
        aspect-ratio: 1/1;
    }

    .product-info-section {
        padding: 1rem;
    }

    .instant-fit-content {
        padding: 1rem;
    }
}

/* Product Details Section */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.divider-line {
    height: 2px;
    background-color: #f8e600;
    flex-grow: 1;
    max-width: 100px;
    margin: 0 1rem;
}

.small-divider {
    height: 2px;
    width: 50px;
    margin: 0 auto;
}

.product-detail-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.product-title {
    color: #f8e600;
    font-weight: 600;
}

.product-detail-image {
    min-height: 300px;
    background-color: #000;
    overflow: hidden;
}

.product-detail-image img {
    transition: transform 0.6s ease;
}

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

.specs-title {
    color: #f8e600;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: "•";
    color: #f8e600;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

@media (max-width: 991.98px) {
    .product-detail-image {
        min-height: 250px;
    }
}

@media (max-width: 767.98px) {
    .product-detail-image {
        min-height: 200px;
    }

    .product-detail-card .order-lg-1,
    .product-detail-card .order-lg-2 {
        order: 0;
    }
}

/* Contact Page Styles */
.contact-hero {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    margin-bottom: 4rem !important;
}

.contact-form-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.contact-form-card::before,
.contact-form-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.contact-form-card::before {
    top: 0;
    left: 0;
}

.contact-form-card::after {
    bottom: 0;
    right: 0;
}

.contact-form-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

.contact-form-card:hover::before,
.contact-form-card:hover::after {
    width: 100%;
}

.contact-form-card .border-left {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
    top: 0;
    left: 0;
}

.contact-form-card:hover .border-left {
    height: 100%;
}

.location-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
}

/* Form Styles */
.form-control,
.form-select {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(248, 230, 0, 0.25);
    color: #fff !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
    background-color: #000;
    color: #fff;
}

/* News Page Styles */
.news-hero {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/news-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    margin-bottom: 4rem !important;
}

.featured-post {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-post::before,
.featured-post::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.featured-post::before {
    top: 0;
    left: 0;
}

.featured-post::after {
    bottom: 0;
    right: 0;
}

.featured-post:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

.featured-post:hover::before,
.featured-post:hover::after {
    width: 100%;
}

.featured-post .border-animation {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
    z-index: 1;
}

.featured-post .border-left,
.featured-post .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.featured-post .border-left {
    top: 0;
    left: 0;
}

.featured-post .border-right {
    bottom: 0;
    right: 0;
}

.featured-post:hover .border-animation {
    height: 100%;
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.blog-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card::before,
.blog-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.blog-card::before {
    top: 0;
    left: 0;
}

.blog-card::after {
    bottom: 0;
    right: 0;
}

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

.blog-card:hover::before,
.blog-card:hover::after {
    width: 100%;
}

.blog-card .border-animation {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
    z-index: 1;
}

.blog-card .border-left,
.blog-card .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.blog-card .border-left {
    top: 0;
    left: 0;
}

.blog-card .border-right {
    bottom: 0;
    right: 0;
}

.blog-card:hover .border-animation {
    height: 100%;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-content {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 1));
}

.post-meta {
    font-size: 0.9rem;
}

.newsletter-section {
    background: linear-gradient(145deg, #121212, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-section::before,
.newsletter-section::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.newsletter-section::before {
    top: 0;
    left: 0;
}

.newsletter-section::after {
    bottom: 0;
    right: 0;
}

.newsletter-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

.newsletter-section:hover::before,
.newsletter-section:hover::after {
    width: 100%;
}

.newsletter-section .border-animation {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
    z-index: 1;
}

.newsletter-section .border-left,
.newsletter-section .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.newsletter-section .border-left {
    top: 0;
    left: 0;
}

.newsletter-section .border-right {
    bottom: 0;
    right: 0;
}

.newsletter-section:hover .border-animation {
    height: 100%;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.5rem;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Product Detail Page */
.product-detail-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-detail-wrapper::before,
.product-detail-wrapper::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.product-detail-wrapper::before {
    top: 0;
    left: 0;
}

.product-detail-wrapper::after {
    bottom: 0;
    right: 0;
}

.product-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-image-wrapper img {
    max-width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.product-image-wrapper:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color) !important;
    margin-bottom: 2rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.9);
}

.product-features .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features .feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

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

@media (max-width: 991.98px) {
    .product-info {
        padding: 1.5rem;
    }

    .product-image-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .product-info {
        padding: 1rem;
    }

    .product-image-wrapper {
        padding: 1rem;
    }
}

/* Location About Section */
.location-about {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 2rem;
    margin-bottom: 2rem;
}

.location-about::before,
.location-about::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.location-about::before {
    top: 0;
    left: 0;
}

.location-about::after {
    bottom: 0;
    right: 0;
}

.location-about:hover::before,
.location-about:hover::after {
    width: 100%;
}

.location-about .border-left,
.location-about .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.location-about .border-left {
    top: 0;
    left: 0;
}

.location-about .border-right {
    bottom: 0;
    right: 0;
}

.location-about:hover .border-left,
.location-about:hover .border-right {
    height: 100%;
}

/* Location Section */
.location-section {
    border: 2px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
}

.location-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.location-list-item {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.location-list-item::before,
.location-list-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
    z-index: 1;
}

.location-list-item::before {
    top: 0;
    left: 0;
}

.location-list-item::after {
    bottom: 0;
    right: 0;
}

.location-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(248, 230, 0, 0.1);
}

.location-list-item:hover::before,
.location-list-item:hover::after {
    width: 100%;
}

.location-list-item .border-left,
.location-list-item .border-right {
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.6s ease;
}

.location-list-item .border-left {
    top: 0;
    left: 0;
}

.location-list-item .border-right {
    bottom: 0;
    right: 0;
}

.location-list-item:hover .border-left,
.location-list-item:hover .border-right {
    height: 100%;
}

@media (max-width: 767.98px) {
    .location-list {
        grid-template-columns: 1fr;
    }

    .location-section {
        padding: 1.5rem;
    }

    .location-list-item {
        padding: 1rem;
    }
}

/* EUHA Image */
img[src*="EUHA-2023"] {
    max-width: 100%;
    width: auto;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.euha-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

/* Optimize animations */
.animate {
    will-change: transform, opacity;
}

/* Lazy loading images */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* About Page Styles */
.about-hero {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.about-hero::before,
.about-hero::after {
    content: '';
    position: absolute;
    width: 0;
    height: 5px;
    background-color: var(--primary-color);
    animation: drawBorder 10s forwards;
    z-index: 1;
}

.about-hero::before {
    top: 0;
    left: 0;
}

.about-hero::after {
    bottom: 0;
    right: 0;
}

.about-image-container {
    background: #121212;
    border: 1px solid rgba(248, 230, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-image-container:hover {
    box-shadow: 0 10px 30px rgba(248, 230, 0, 0.2);
    transform: translateY(-5px);
}

.about-values {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(248, 230, 0, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.value-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-values:hover .value-icon {
    transform: scale(1.2);
}

.location-header {
    border-bottom: 1px solid rgba(248, 230, 0, 0.1);
}

/* Caption box styling */
.caption-box {
    border: 2px solid #F8E600 !important;
    padding: 15px 25px !important;
    display: inline-block !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    max-width: 90%;
}

.caption-box h5 {
    margin: 0;
    color: #F8E600;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Pozicioniranje caption boxova */
.carousel-caption {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50%;
    bottom: 15% !important;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.caption-center {
    justify-content: center;
}

/* Responsive Carousel */
@media (max-width: 991px) {
    .carousel-item {
        padding-bottom: 45%;
    }

    .caption-box h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        padding-bottom: 55%;
    }

    .caption-box {
        padding: 10px 15px !important;
        max-width: 85%;
    }

    .caption-box h5 {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        padding-bottom: 70%;
    }

    .caption-box {
        padding: 8px 12px !important;
        max-width: 90%;
    }

    .caption-box h5 {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: #F8E600;
    font-weight: 600;
    z-index: 99;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #F8E600;
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    background-color: #F8E600;
    color: #000000;
    transform: translateY(-5px);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* Desktop verzija */
@media (min-width: 768px) {
    .back-to-top {
        bottom: 5%;
        right: 5%;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
    }

    .back-to-top i {
        margin-right: 0;
        font-size: 1.25rem;
    }
}

/* Mobilna verzija */
@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 16px;
        padding: 0;
    }

    .back-to-top i {
        margin-right: 0;
    }
}

/* Ukloni sve gradijente koji zaklanjaju kartice */
.products .row::after {
    display: none !important;
}

/* Standardni stil strelica */
.scroll-arrow {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #F8E600;
    color: #F8E600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 20;
    transform: translateY(-50%);
}

.scroll-arrow i {
    font-size: 18px;
}

.scroll-arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    border-color: #F8E600;
    box-shadow: 0 0 15px rgba(248, 230, 0, 0.5);
}

/* Pozicioniranje strelica sa strane umesto preko kartica */
.scroll-left {
    left: 10%;
    top: 50%;
}

.scroll-right {
    right: 10%;
    top: 50%;
}

/* Pozicioniranje strelica na sredinu kartica po visini */
.scroll-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    width: 100%;
}

/* Responzivni dizajn strelica */
@media (max-width: 1725px) {
    .scroll-left {
        left: 5%;
    }

    .scroll-right {
        right: 5%;
    }
}

@media (max-width: 999.98px) {
    .scroll-arrow {
        display: none !important;
    }

    /* Indikator za navigaciju "prevuci u stranu" */
    .products .row::after {
        content: "← prevuci u stranu →";
        display: block !important;
        text-align: center;
        width: 100%;
        color: rgba(248, 230, 0, 0.7);
        font-size: 14px;
        padding: 10px 0;
        font-style: italic;
        letter-spacing: 1px;
        animation: fadeInOut 2s infinite;
        position: absolute;
        bottom: -30px;
        left: 0;
    }

    @keyframes fadeInOut {
        0% {
            opacity: 0.3;
        }

        50% {
            opacity: 1;
        }

        100% {
            opacity: 0.3;
        }
    }
}

@media (max-width: 767.98px) {
    .scroll-arrow {
        width: 36px;
        height: 36px;
    }

    .scroll-arrow i {
        font-size: 14px;
    }

    .scroll-left {
        left: 5%;
    }

    .scroll-right {
        right: 5%;
    }
}

@media (max-width: 575.98px) {
    .scroll-arrow {
        width: 32px;
        height: 32px;
    }

    .scroll-arrow i {
        font-size: 12px;
    }
}

/* Dodajemo margine kontejneru sa karticama da bi strelice bile vidljive */
.products .row {
    margin-left: 30px;
    margin-right: 30px;
}

@media (max-width: 767.98px) {
    .products .row {
        margin-left: 25px;
        margin-right: 25px;
    }
}

@media (max-width: 575.98px) {
    .products .row {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* CTA Button hover effect */
.btn-warning:hover {
    background-color: #000000 !important;
    color: #F8E600 !important;
    border-color: #F8E600 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(248, 230, 0, 0.3);
}

.cta .btn-warning {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.cta .btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    transition: width 0.4s ease;
}

.cta .btn-warning:hover::before {
    width: 100%;
}

.cta .btn-warning:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(248, 230, 0, 0.2);
}