/* 
   AISzymanski - Professional Custom Styling
   Ten plik zawiera niestandardowe style dla przycisków, kalkulatora ROI, cieni oraz animacji.
*/

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Subtelny beżowy cień o niskim kontraście */
.premium-shadow {
    box-shadow: 0 10px 30px -15px rgba(114, 90, 57, 0.15);
}

/* Customowy suwak do kalkulatora ROI */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #d2b48c;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #725a39;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background-color: #5b4526;
}

/* Efekt płynnego wypełnienia przycisków przy najechaniu */
.btn-fill-hover {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-fill-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

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

/* Wariant podstawowy (Primary variant fill) */
.btn-fill-primary::before {
    background-color: #5b4526; /* Ciemniejsza wersja podstawowego #725a39 */
}

.btn-fill-primary:hover {
    color: #ffffff;
}

/* Wariant drugorzędny (Secondary variant fill) */
.btn-fill-secondary::before {
    background-color: #d2b48c; /* Beżowy kolor marki */
}

.btn-fill-secondary:hover {
    color: #281801;
    border-color: #d2b48c;
}

/* Wariant nagłówkowy (Header variant fill) */
.btn-fill-container::before {
    background-color: #725a39; /* Główny kolor marki */
}

.btn-fill-container:hover {
    color: #ffffff;
}

/* Efekt przejścia światła przy najechaniu (Button highlight) */
.btn-highlight {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-highlight:hover::after {
    left: 100%;
}

.btn-secondary-highlight:hover {
    background-color: #eceef4;
}

/* Płynne animacje pojawiania się sekcji (Intersection Observer) */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Wsparcie dla menu mobilnego */
.mobile-menu-open {
    overflow: hidden;
}

/* Sticky navbar styling */
nav.sticky-nav {
    background-color: rgba(248, 249, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px -10px rgba(114, 90, 57, 0.1);
    height: 3.5rem !important; /* Zmniejszona wysokość po scrollu dla elegancji */
}
