:root {
  --gold: #dac550;
  --gold2: #b8a440;
  --gold3: #f0d960;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Lobster';
    src: url('../fonts/Lobster/Lobster-Regular.ttf') format('truetype');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito';
    overflow-x: hidden;
    width: 100%;
}

h1, h2{
    font-family: "Lobster";
}

.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5.5rem;
    height: 5.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
        box-shadow: 
        0 4px 20px rgba(218, 197, 80, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    
    svg {
        width: 2.4rem;
        height: 2.4rem;
        transition: transform 0.2s ease;
    }
    
    &:hover {
        background: linear-gradient(135deg, var(--gold3), var(--gold));
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 8px 25px rgba(218, 197, 80, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.3);
        
        svg {
            transform: translateY(-2px);
        }
    }
    
    &:active {
        transform: translateY(0) scale(0.95);
        transition: transform 0.1s ease;
    }
    
    &.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    
    &.visible.pulse {
        animation: backToTopPulse 0.6s ease-out;
    }
}

.back-to-top.square {
    border-radius: 12px;
    width: 5rem;
    height: 5rem;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    .header-content {
        display: flex;
        align-items: center;
        
        & img {
            height: 6rem;
            width: auto;
        }
        
        & h1 {
            padding-left: 2rem;
            font-size: 4rem;
        }
    }
}

nav {
    display: flex;
    gap: 2rem;
    
    & a {
        color: white;
        text-decoration: none;
        font-size: 1.6rem;
        padding: 1rem 1.5rem;
        border-radius: 0.5rem;
        transition: background-color 0.3s ease;
        
        &:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
    }
}

main {
    padding-top: 0;
    
    & .banner {
        position: relative;
        display: block;
        
        & img {
            width: 100%;
            max-height: 60vh;
            display: block;
            object-fit: cover;
        }
    }
    
    & p {
        font-size: 1.6rem;
        padding: 2rem;
    }
    
    & section {
        padding: 4rem 2rem;
        margin: 0;
        
        & h2 {
            font-size: 4rem;
            margin-bottom: 2rem;
            color: #666;
        }
        
        & p {
            font-size: 1.6rem;
            line-height: 1.6;
            color: #333;
        }
    }

    & .floating_text {
        position: absolute;
        top: 30%;
        left: 60%;
        max-width: 60%;
        
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 4rem;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1);    
        transform: translateY(0);
        transition: all 0.3s ease;
        
        &:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2);
        }
        
        & h2 {
            margin: 0 0 1rem 0;
            padding: 0;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            font-size: 2.4rem;
            text-align: center;
        }
        
        & p {
            margin: 0;
            padding: 0;
            color: white;
            text-align: center;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
            
            & i {
                display: block;
                margin-bottom: 1rem;
                font-size: 1.4rem;
                opacity: 0.9;
            }
        }
        
        & .phone-link {
            text-decoration: none;
            color: inherit;
            display: inline-block;
            transition: transform 0.2s ease;
            
            &:link, &:visited, &:hover, &:active {
                text-decoration: none;
                color: inherit;
            }
            
            &:hover {
                transform: scale(1.05);
            }
            
            & span {
                padding: 1rem 2rem;
                background: linear-gradient(135deg, var(--gold), var(--gold2));
                border-radius: 25px;
                font-weight: bold;
                font-size: 1.8rem;
                box-shadow: 
                    0 4px 15px rgba(218, 197, 80, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
                transition: all 0.2s ease;
                display: inline-block;
            }
            
            &:hover span {
                background: linear-gradient(135deg, var(--gold3), var(--gold));
                box-shadow: 
                    0 6px 20px rgba(218, 197, 80, 0.6),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
            }
            
            &:active span {
                transform: translateY(1px);
            }
        }

    }

    & .big_text{
        left: 10%;
        max-width: 40%;
    }

    .black_segment {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 6rem 0;
        position: relative;
        background: #222;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gold);
            border-radius: 2px;
        }

        .section-inner {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        .content-left {
            flex: 1;
            min-width: 300px;

            h2 {
                color: white;
                font-size: 3.5rem;
                margin-left: 2rem;
                margin-bottom: 2rem;
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
                text-align: left;
            }

            p {
                color: #e0e0e0;
                text-align: left;
                font-size: 1.8rem;
                line-height: 1.6;
            }

            #locatie-address::before {
                content: "📍";
                display: inline-block;
                margin-right: 0.5rem;
                font-size: 2rem;
            }
        }

        .map_container {
            flex: 1;
            padding-right:2rem;

            iframe {
                width: 100%;
                height: 30rem;
                border: none;
                border-radius: 10px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }
        }
    }
/* hier */
    #prijs {
        padding: 6rem 2rem;
        background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    
        h2 {
            text-align: center;
            font-size: 4rem;
            margin-bottom: 4rem;
            color: #333;
            position: relative;
            
            &::after {
                content: '';
                display: block;
                width: 80px;
                height: 3px;
                background: var(--gold);
                margin: 1rem auto;
                border-radius: 2px;
            }
        }
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 3rem;
        max-width: 1500px;
        margin: 0 auto;
    }

    .pricing-category {
        background: white;
        border-radius: 15px;
        padding: 3rem 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--gold), var(--gold3), var(--gold));
        }
        
        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }
        
        h3 {
            font-size: 2.4rem;
            color: #333;
            text-align: center;
            margin-bottom: 2.5rem;
            font-weight: 600;
            position: relative;
            
            .category-icon {
                width: 2.6rem;
                height: 2.6rem;
                display: inline-flex;
                justify-content: center;
                align-items: center;
            }
        }
    }

    .price-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .price-item {
        display: flex;
        align-items: baseline;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;

        &:last-child {
            border-bottom: solid 1px white;
        }
        
        &:hover {
            background: rgba(218, 197, 80, 0.05);
            margin: 0 -1rem;
            padding: 1rem;
            border-radius: 8px;
            border-bottom: 1px solid transparent;
        }
        
        .service {
            font-size: 1.5rem;
            color: #333;
            font-weight: 400;
            flex-shrink: 0;
        }

        .special{
            text-align: center;
            color: teal;
            font-weight: 800;
        }
        
        .dots {
            flex-grow: 1;
            height: 1px;
            background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
            background-size: 8px 1px;
            background-repeat: repeat-x;
            margin: 0 1rem;
            position: relative;
            top: -0.5rem;
        }
        
        .price {
            font-size: 1.6rem;
            color: var(--gold);
            font-weight: 700;
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            flex-shrink: 0;
        }
    }
    
}

#beauty-corner{
    background-color: #222;
    display: flex;
    flex-direction: row;
    padding: 6rem 2rem;
}

#price2-grid{
    grid-template-columns: 1fr 1fr;
    max-width: 750px;
    padding-right: 2rem;
    gap: 3rem;
}

#hours2-list{
    flex: 1.5;
}

#beauty-corner{
    object-fit: cover;
    object-position: 70% 100%;
}

#team2-side{
    position: relative;
    right: 8.25%;

    .team-content{
        width: 90%;
        margin: 0 auto;
    }
}

/*Team + Openingstijden */
.combined-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
    
    .section-container {
        display: flex;
        gap: 10rem;
        max-width: 1500px;
        margin: 0 auto;
        align-items: flex-start;
    }
}

.team-side {
    flex: 1;
    min-width: 350px;

    h2 {
        font-size: 3.5rem;
        margin-bottom: 4rem;
        color: #333;
        text-align: center;

        &::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: var(--gold);
            margin: 1rem auto;
            border-radius: 2px;
        }
    }

    .team-content {
        background: white;
        border-radius: 15px;
        padding: 3.25rem 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 2.5rem;
        align-items: flex-start;
    }

    .team-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        
        .member-photo {
            width: 32rem;
            height: 30rem;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(218, 197, 80, 0.3);
            margin-bottom: 1rem;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 15px;
            }
        }
    }

    .team-description {
        flex: 1;
        display: flex;
        flex-direction: column;

        h3{
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #333;
            text-align: left;
            padding-left: 2rem;
        }
        
        p {
            font-size: 1.5rem;
            line-height: 1.6;
            color: #666;
            text-align: left;
            margin: 0;
        }
    }
}

.hours-side {
    flex: 1;
    min-width: 350px;
    
    h2 {
        font-size: 3.5rem;
        margin-bottom: 4rem;
        color: #333;
        text-align: center;
        
        &::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: var(--gold);
            margin: 1rem auto;
            border-radius: 2px;
        }
    }
    
    .hours-list {
        background: white;
        border-radius: 15px;
        padding: 3rem 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        margin-bottom: 2rem;
    }
    
    .hour-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
        
        &:last-child {
            border-bottom: solid 1px white;
        }
        
        &:hover {
            background: rgba(218, 197, 80, 0.05);
            margin: 0 -1.5rem;
            padding: 1.2rem 1.5rem;
            border-radius: 8px;
            border-bottom: 1px solid transparent;
        }
        
        .day {
            font-size: 1.5rem;
            font-weight: 500;
            color: #333;
        }
        
        .time {
            font-size: 1.5rem;
            color: #666;
            font-weight: 600;
        }

        .special{
            color: var(--gold);
        }
        
        &.closed {
            .day, .time {
                color: #999;
            }
            
            .time {
                font-style: italic;
            }
        }
    }
    
    .current-status {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.4rem;
        color: #666;
        padding-left: 1rem;
        
        .status-indicator {
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background: #dc3545;
            
            &.open {
                background: #28a745;
            }
        }
    }
}

.directions-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 1rem;
    
    &:link, &:visited, &:hover, &:active {
        text-decoration: none;
        color: inherit;
    }
    
    &:hover {
        transform: scale(1.05);
    }
    
    & span {
        padding: 1rem 2rem;
        background: linear-gradient(135deg, var(--gold), var(--gold2));
        border-radius: 25px;
        color: #000;
        font-weight: bold;
        font-size: 1.6rem;
        box-shadow: 
            0 4px 15px rgba(218, 197, 80, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.2s ease;
        display: inline-block;
    }
    
    &:hover span {
        background: linear-gradient(135deg, var(--gold3), var(--gold));
        box-shadow: 
            0 6px 20px rgba(218, 197, 80, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    &:active span {
        transform: translateY(1px);
    }
}

#reviews {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
}

#reviews h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 4rem;
    color: #333;
    position: relative;
}

#reviews h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.review-slideshow-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.review-slides {
    position: relative;
    min-height: 220px;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(15px);
    box-sizing: border-box;
}

.review-card.active {
    opacity: 1;
    transform: translateY(0);
}

.review-card blockquote {
    margin: 0;
    text-align: center;
}

.review-card p {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    color: #333;
}

.review-card cite {
    font-size: 1.5rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

.slideshow-dots {
    text-align: center;
    margin-top: 2rem;
}

.slideshow-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slideshow-dots .dot.active,
.slideshow-dots .dot:hover {
    background-color: var(--gold);
    transform: scale(1.1);
}

@media (max-width: 1400px) {
    .big_text{
        left: 3% !important;
        max-width:55% !important;
        padding: 2rem !important;
    }
}

@media (max-width: 1024px) {
    .combined-section .section-container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .team-side, .hours-side {
        margin: 0 auto;
        
        h2 {
            text-align: center;
            
            &::after {
                margin: 1rem auto;
            }
        }
    }
}

@media (max-width: 900px) {
    header {
        position: fixed;
        height: auto;
        flex-direction: column;
        padding: 1rem;
        
        .header-content {
            width: 100%;
            justify-content: center;
            
            img {
                height: 4rem;
            }
            
            h1 {
                font-size: 2.4rem;
                padding-left: 1rem;
            }
        }
    }
    
    nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: .5rem;
        
        a {
            font-size: 1.25rem;
            padding: 1rem .5rem;
        }
    }

    main .banner {
        img {
            width: auto;
            max-height: 100rem;
        }
    }
    
    .floating_text {
        padding: 2rem;
        top: 65% !important;
        left: 20% !important;
        max-width: 60% !important;
        width: 60%;

        h2 {
            font-size: 2rem;
        }
        
        p {
            font-size: 1.4rem;
        }
        
        .phone-link span {
            font-size: 1.6rem;
            padding: 0.8rem 1.6rem;
        }
    }
    
    .big_text {
        top: 12% !important;
        left: 5% !important;
        max-width: 90% !important;
        width: auto;
    }

    #prijs{
        padding: 2rem 1rem !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0;
        width: 95%;
    }
    
    .pricing-category {
        padding: 2rem 1.5rem !important;
        
        h3 {
            font-size: 2rem;
            margin-bottom: 1rem !important;
        }
        
        .price-item {
            .service {
                font-size: 1.4rem;
            }
            
            .price {
                font-size: 1.4rem;
            }
        }
    }

    #beauty-corner{
        flex-direction: column-reverse;
        padding: 2rem 1rem !important;
    }

    #price2-grid{
        padding-right: 0 !important;
    }

    #team2-side{
        margin-top: 2rem;
        position: inherit;
        padding-bottom: 5rem !important;

        & .team-content{
            width: 100%;
        }
    }

    #hour2-list{
        width: 100%;
    }

    .black_segment {
        padding: 2rem 0 !important;
        
        .section-inner {
            flex-direction: column;
            padding: 0 1rem !important;
            gap: 3rem;
        }
        
        .content-left {
            min-width: auto;
            width: 100%;
            text-align: center;
            
            h2 {
                font-size: 2.8rem;
                margin-left: 0 !important;
                text-align: center !important;
                margin-bottom: 2rem;
            }
            
            p {
                text-align: center;
                margin-bottom: 2rem;
            }
            
            .directions-link {
                display: flex;
                flex-direction: row;
                justify-content: center;
                margin: 0;
            }
        }
        
        .map_container {
            min-width: auto;
            width: 90%;
            margin: 0 auto;
            
            iframe {
                height: 25rem;
            }
        }
    }

    .combined-section {
        padding: 2rem 1rem;
    }
    
    .team-side, .hours-side {
        margin: 0 auto;
        width: 95%;

        h2 {
            font-size: 2.8rem;
        }
        
        .team-content, .hours-list {
            padding: 2rem;
            flex-direction: column;
        }
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        
        .member-photo {
            width: 100% !important;
            height: auto !important;

            & img{
                width: 100% !important;
            }
            
        }
    }

    .team-description{
        & h3{
            padding-left: 1rem !important;
        }

        & p{
            padding: 1rem !important;
        }
    }

    #reviews{
        padding: 2rem 2rem !important;
    }

    .review-slides{
        min-height: 190px !important;
    }

    .review-card{
        padding: 2rem !important;
    }

}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }
    
    main section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 3rem !important;
    }
    
    .back-to-top {
        right: 1.5rem;
        bottom: 1.5rem;
        width: 4.5rem;
        height: 4.5rem;
    }

    .combined-section {
        .section-container {
            padding: 0 1rem;
        }
        
        .team-side,
        .hours-side {
            min-width: 100%;
            
            .team-content,
            .hours-list {
                padding: 2rem 1.5rem;
            }
        }
    }
    
    .hour-item {
        font-size: 1.4rem;
    }

        .black_segment {
        .section-inner {
            padding: 0 0.5rem !important;
        }
        
        .content-left {
            h2 {
                font-size: 2.4rem;
            }
            
            p {
                font-size: 1.6rem;
            }
        }
        
        .map_container {
            padding-right: 0 !important;
            min-width: 100px;
            max-width: 95%;
            width: 95%;
            
            iframe {
                height: 20rem;
            }
        }
    }
}

@keyframes backToTopPulse {
    0% {
        box-shadow: 
            0 4px 20px rgba(218, 197, 80, 0.3),
            0 2px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(218, 197, 80, 0.6),
            0 2px 10px rgba(0, 0, 0, 0.2),
            0 0 0 10px rgba(218, 197, 80, 0.2);
    }
    100% {
        box-shadow: 
            0 4px 20px rgba(218, 197, 80, 0.3),
            0 2px 10px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(218, 197, 80, 0);
    }
}
