/* Sharper Hero Slider Styles - Enkel och pålitlig version */

/* Grundläggande container-stil */
.sharper-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Slider container */
.sharper-hero-slider-container {
    position: relative;
    width: 100%;
    height: 800px; /* Fast höjd */
    overflow: hidden;
}

/* Slides container */
.sharper-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individuell slide */
.sharper-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    overflow: hidden;
}

/* Aktiv slide */
.sharper-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Bakgrundsbild */
.sharper-hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Mörk gradient över bilden */
.sharper-hero-slide-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

/* Innehåll i sliden */
.sharper-hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 5% 80px 2.5%; /* Padding i botten för att lyfta från kanten */
    margin: 0;
    align-self: flex-start; /* Placera till vänster */
}

/* Överrubrik */
.sharper-hero-overline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Huvudrubrik */
.sharper-hero-title {
    font-size: 6rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-top: 20px;
}

/* Knappar */
.sharper-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sharper-hero-button {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
    font-size: 14px;
    border-radius: 0; /* Kantiga knappar för barbershop-stil */
}

.sharper-hero-button-primary {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.sharper-hero-button-primary:hover {
    background-color: transparent;
    color: #fff;
}

.sharper-hero-button-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.sharper-hero-button-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* Pagination bullets */
.sharper-hero-pagination {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

/* Bullets som avlånga streck */
.sharper-bullet {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sharper-bullet.active {
    background: #fff;
    width: 40px;
}

/* Admin placeholder */
.sharper-hero-slider-placeholder {
    padding: 40px;
    background: #f0f0f0;
    text-align: center;
    border: 1px dashed #ccc;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sharper-hero-slider-container {
        height: 700px;
    }

    .sharper-hero-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .sharper-hero-title {
        font-size: 48px;
    }

    .sharper-hero-slider-container {
        height: 600px;
    }

    .sharper-hero-slide-content {
        max-width: 450px;
        padding-bottom: 60px;
    }

    .sharper-hero-pagination {
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .sharper-hero-title {
        font-size: 45px;
        margin-bottom: 20px;
        letter-spacing: 0;
    }
    .sharper-hero-overline{
        font-size: 9px;
    }

    .sharper-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .sharper-hero-slider-container {
        height: 500px;
    }

    .sharper-hero-slide-content {
        max-width: 100%;
        padding: 0 20px 60px 20px;
    }

    .sharper-hero-button {
        width: 70%;
        min-width: auto;
        padding: 10px 15px;
    }

    .sharper-hero-pagination {
        bottom: 20px;
        right: 20px;
    }

    .sharper-bullet {
        width: 20px;
        height: 2px;
        margin: 0 3px;
    }

    .sharper-bullet.active {
        width: 30px;
    }
}
