/* Navbar */
#id-navbar {
    background-color: #6f42c1;
}

.text-purple {
    color: #6f42c1;
}

.bg-purple {
    background-color: #6f42c1;
}

/* Custom purple button */
.btn-purple {
    background-color: #6f42c1;
    color: white;
}

.btn-purple:hover {
    background-color: #5a32a3;
    color: white;
}

.btn-outline-purple {
    border-color: #6f42c1;
    color: #6f42c1;
}

.btn-outline-purple:hover {
    background-color: #6f42c1;
    color: white;
}

/* Hero Section */
.hero-section {
    background: url('../img/bol-u-vratu.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 58px;
    /* To account for fixed navbar */
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for better text contrast */
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3b71ca;
}





/* Custom tab styling */
#metodaTabs .nav-link {
    transition: all 0.3s;
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    padding: 1rem;
}

#metodaTabs .nav-link.active {
    background-color: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

#metodaTabs .nav-link i {
    transition: all 0.3s;
}

#metodaTabs .nav-link.active i {
    color: #6f42c1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #metodaTabs .nav-item {
        margin-bottom: 0.5rem;
    }
}


/* Testimonial Carousel Customizations */
#id-iskustva .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #6f42c1;
}

#id-iskustva .carousel-control-prev,
#id-iskustva .carousel-control-next {
    width: 5%;
    color: #6f42c1;
}

#id-iskustva .carousel-control-prev-icon,
#id-iskustva .carousel-control-next-icon {
    filter: invert(35%) sepia(55%) saturate(1510%) hue-rotate(230deg) brightness(90%) contrast(85%);
}

.testimonial .card {
    border: none;
    border-radius: 10px;
}


/* Custom Carousel Transition */
#id-iskustva .carousel-item {
    transition: transform 1s ease-in-out;
    /* Slower transition */
}

#id-iskustva .carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

#id-iskustva .carousel-fade .carousel-item.active {
    opacity: 1;
}

#id-iskustva .carousel-fade .carousel-item-next.carousel-item-start,
#id-iskustva .carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

#id-iskustva .carousel-fade .active.carousel-item-start,
#id-iskustva .carousel-fade .active.carousel-item-end {
    opacity: 0;
}



/* Pricing Cards */
.pricing-card {
    transition: all 0.3s;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
        min-height: 500px;
    }

    .hero-section .col-lg-6 img {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar active state */
.navbar .nav-item .nav-link.active {
    color: #3b71ca;
    font-weight: 500;
}

/* Contact Section Styles */
#id-kontakt .form-outline .form-control:focus~.form-label,
#id-kontakt .form-outline .form-control.active~.form-label {
    transform: translateY(-1.5rem) scale(0.8);
    background-color: white;
    padding: 0 0.5rem;
    margin-left: 0.5rem;
    color: #6f42c1;
}

#id-kontakt .form-outline .form-control:focus,
#id-kontakt .form-outline .form-control.active {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

#id-kontakt .form-outline {
    position: relative;
}