* {
    font-family: 'Lato', sans-serif;    
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 300px;
    background-color: black;
    margin: 0;
    overflow-x: hidden;
}

ul {
    padding: 0;
    margin: 0;
}

button:hover {
    cursor: pointer;
}


/* -------------------- REUSED COMPONENTS -------------------- */
.content-title {
    font-size: 2.5rem;
    width: fit-content;
    margin: 0 auto 0.5rem;
}

.section-gradient-1 {
    background-image: linear-gradient(#D9C666, #F2EBC9);
}

.section-gradient-2 {
    background-image: linear-gradient(#F2EBC9, #D9C666);
}

.section-gradient-1, .section-gradient-2 {
    height: 2rem;
}


/* -------------------- NAVBAR -------------------- */
.navbar {
    display: flex;
    width: 90%;
    height: clamp(3rem, 7svh, 4rem);
    justify-content: start;
    align-items: center;
    margin: 0 auto;
    color: #D9C666;
}

.brand-logo {
    height: 1.5rem;
    width: 100%;
}

.hamburger-button {
    position: absolute;
    right: calc(5vw - 2px);
    background-color: transparent;
    border: 2px solid #D9C666;
    z-index: 1000;
    aspect-ratio: 1;
    color: #D9C666;
}

.open-nav, .close-nav {
    text-align: center;
}

.open-nav {
    padding: 0 1px;
}

.close-nav {
    padding: 0 2.25px;
}

.primary-navigation {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    inset: 0 0 0 60%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(0.25rem);
    -webkit-backdrop-filter: blur(0.25rem);
    padding: calc(7vh + 1rem) 0 1rem;
    z-index: 100;
    height: fit-content;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    list-style-type: none;
}

.primary-navigation[data-visible="true"] {
    transform: translateX(0%);
}

.nav-item {
    padding: 1rem 0;
}

.nav-link {
    color: #D9C666;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
    text-decoration: none;
    /* border: 2px solid #D9C666; */
}

.nav-link:hover {
    border-radius: 5px;
    box-shadow: 0 0 0 2px #D9C666;
}


/* -------------------- LANDING PAGE -------------------- */
.hero-container {
    position: relative;
    height: max(93svh, 40rem);
    margin: auto;
}

.hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 90%;
    left: calc(5% - 2px); /* -2px to account for border */
    bottom: 3%;
    background-color: rgba(0, 0, 0, 0.9);
    border: 2px solid #D9C666;
}

.hero-text-1, .hero-text-2 {
    color: #D9C666;
    font-size: 0.9em;
    text-align: center;
    padding: 0 1rem;
}

.hero-text-1 {
    margin-bottom: 2px;
}

.hero-text-2 {
    margin-top: 2px;
}


/* -------------------- SERVICES -------------------- */
#services {
    display: flex;
    flex-direction: column;
    background-color: #F2EBC9;
}

#service-menu {
    font-size: 0.9rem;
    width: 90%;
    margin: 0 auto;
    border: 2px solid black;
}

.service-btn-ladies, .service-btn-gents-juniors {
    color: black;
    font-size: 1.1em;
    border: 2px solid black;
    padding: 0.3em 0.6em;
    margin: 0.25em 0 0.5em 0.25em;
    background-color: lightgray;
}

.service-tabs button:hover {
    box-shadow: 2px 2px 0px 0px black;
}

.active-tab {
    background-color: #D9C666;
    font-weight: bold;
}

.service-item, .service-item-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item {
    background-color: #D9C666;
}

.service-category {
    padding: 0.5rem;
    margin-top: 1rem;
}

.line-break {
    width: 60%;
    margin-top: 1em;
}

.service-name, .service-price {
    padding: 0.5rem;
    font-weight: bold;
}

.disclaimer {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.disclaimer-icon {
    padding: 0.2rem 0.4rem 0 0.5rem;
}

.disclaimer-text {
    font-size: 0.8em;
    padding-right: 0.5rem;
}

.service-photo-container {
    display: none;
    height: inherit;
    width: 50%;
    border-left: solid 2px black;
}

.service-photo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* -------------------- GALLERY -------------------- */
#gallery {
    display: flex;
    flex-direction: column;
    background-color: #D9C666;
}

#gallery-carousel {
    display: flex;
    position: relative;
    font-size: 0; /* used to remove whitespace between images */
    width: 90%;
    border: solid 2px black;
    margin: 0 auto;
    background-color: black;
}

#gallery-carousel picture {
    display: none;
    width: min(100%, 400px);
    margin: 0 auto;
}

#gallery-carousel img {
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
}

#gallery-carousel picture[class="active-img"] {
    display: block;
    animation-name: fadeIn;
    animation-duration: 2s;
}

@keyframes fadeIn {
    from {opacity: 0.7}
    to {opacity: 1}
}

.prev-btn, .next-btn {
    display: none;
    z-index: 20;
    border: none;
    height: inherit;
    background-color: black;
    width: calc((100% - min(100%, 400px)) / 2);
    color: #D9C666;
}

.prev-btn {
    border-right: 2px solid #D9C666;
}

.next-btn {
    right: 0%;
    border-left: 2px solid #D9C666;
}

#dots {
    display: flex;
    position: absolute;
    bottom: 0%;
    justify-content: center;
    z-index: 10;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#dots .dot {
    display: inline-block;
    width: 10px;
    aspect-ratio: 1;
    margin: 10px;
    background-color: grey;
    border-radius: 50%;
    cursor: pointer;
}

#dots .active-dot {
    background-color: white;
}


/* -------------------- FAQ -------------------- */
#faq {
    display: flex;
    flex-direction: column;
    background-color: #F2EBC9;
    /* min-height: 70vh; */
}

.accordion {
    font-size: 0.9rem;
    background-color: #F2EBC9;
    width: 90%;
    margin: 0 auto;
    border: 2px solid black;
}

.accordion .faq-box {
    position: relative;
    margin-bottom: 10px;
}

.accordion .faq-box:last-child {
    margin-bottom: 0;
}

.accordion .faq-box .question {
    position: relative;
    font-weight: bold;
    padding: 10px 1rem;
    background-color: black;
    color: #D9C666;
    cursor: pointer;
}

.accordion .faq-box .question::before {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion .faq-box.active-faq .question::before {
    content: "-";
    top: calc(50% - 2px);
    right: 18px;
    font-size: 2rem;
}

.accordion .faq-box .answer {
    position: relative;
    padding: 0 1rem;
    height: 0;
    overflow: hidden;
    transition: 0.5s;
    overflow-y: auto;
}

.accordion .faq-box.active-faq .answer {
    height: auto;
    padding: 10px 1rem;
}


/* -------------------- CONTACT -------------------- */
#contact {
    display: flex;
    flex-direction: column;
    background-color: #D9C666;
}

.contact-box {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    width: 90%;
    margin: 0 auto;
    border: 2px solid black;
}

.contact-info {
    list-style-type: none;
}

.contact-info, .contact-map {
    width: 100%;
}

.contact-item, .contact-item-alt {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.opening-times, .opening-times-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.contact-item-alt, .opening-times-alt {
    background-color: #F2EBC9;
}

.opening-day, .opening-time, .contact-icon {
    padding: 0.5rem;
}

.current-day {
    border-top: 2px dashed black;
    border-bottom: 2px dashed black;
}

.contact-map {
    height: 35vh;
    border: none;
    border-top: 2px solid black;
}


/* -------------------- FOOTER -------------------- */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    height: 7svh;
    margin: 0 auto;
    color: #D9C666;
}

.copyright {
    font-size: 1rem;
}

.social-icons {
    display: flex;
    align-items: center;
}

.footer-icon, .facebook-icon, .instagram-icon {
    color: #D9C666;
    text-decoration: none;
}

.facebook-icon {
    margin-right: 0.5rem;
}


/* CSS rules for small viewports, 360px to 575px */
@media only screen and (min-width: 360px) and (max-width: 575px) {
    /* -------------------- REUSED COMPONENTS -------------------- */
    .content-title {
        font-size: 3rem;
        margin: 0 auto 1rem;
    }


    /* -------------------- NAVBAR -------------------- */
    .brand-logo {
        height: 2rem;
    }

    .primary-navigation {
        inset: 0 0 0 70%;
    }


    /* -------------------- LANDING PAGE -------------------- */
    .hero-text-1, .hero-text-2 {
        font-size: 1em;
        padding: 0 1rem;
    }
    
    .hero-text-1 {
        margin-bottom: 5px;
    }
    
    .hero-text-2 {
        margin-top: 5px;
    }


    /* -------------------- SERVICES -------------------- */
    #service-menu {
        font-size: 1rem;
        width: 90%;
    }

    .service-category {
        padding: 0.5rem;
        margin-top: 1rem;
    }

    .service-name, .service-price {
        padding: 0.5rem;
    }

    .disclaimer {
        margin-top: 1rem;
    }

    .disclaimer-icon {
        padding: 0.4rem 0.5rem 0 0.5rem;
    }

    .disclaimer-text {
        font-size: 1rem;
        padding-right: 0.5rem;
    }


    /* -------------------- FAQ -------------------- */
    .accordion {
        font-size: 1rem;
    }


    /* -------------------- CONTACT -------------------- */
    .contact-box {
        font-size: 1rem;
    }

    .contact-info, .contact-map {
        width: 100%;
    }

    .contact-map {
        height: 35vh;
    }

    .opening-day, .opening-time, .contact-icon {
        padding: 0.5rem 0.3rem 0.5rem 0.5rem;
    }


    /* -------------------- FOOTER -------------------- */
    .footer {
        padding: 1rem 0;
        height: auto;
    }
    
    .copyright {
        font-size: 1rem;
    }
}


/* CSS rules for medium viewports, 576px to 767px */
@media only screen and (min-width: 576px) and (max-width: 767px) {
    /* -------------------- REUSED COMPONENTS -------------------- */
    .content-title {
        font-size: 3.5em;
        margin: 0 auto 1.5rem;
    }

    .section-gradient-1, .section-gradient-2 {
        height: 4rem;
    }


    /* -------------------- NAVBAR -------------------- */
    .navbar {
        width: 90%;
        justify-content: space-between;
    }

    .brand-logo {
        height: 2rem;
        width: 100%;
    }

    .hamburger-button {
        display: none;
    }

    .primary-navigation {
        position: static;
        flex-direction: row;
        transform: translateX(0%);
        padding: 0;
    }

    .nav-item {
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem;
        margin: 0 0.5rem;
        font-size: 1.1rem;
    }


    /* -------------------- LANDING PAGE -------------------- */
    .hero-text-1, .hero-text-2 {
        font-size: 1.1em;
        padding: 0 1rem;
    }
    
    .hero-text-1 {
        margin-bottom: 5px;
    }
    
    .hero-text-2 {
        margin-top: 5px;
    }


    /* -------------------- SERVICES -------------------- */
    .service-container {
        width: 90%;
        display: flex;
        border: solid 2px black;
        margin: 0 auto;
    }

    #service-menu {
        width: 50%;
        border: none;
    }

    .service-name, .service-price, .service-category {
        padding: 0.5rem;
    }
    
    .service-category {
        margin-top: 1rem;
    }

    .disclaimer {
        margin: 1rem 0;
    }

    .disclaimer-text {
        padding-right: 0.5rem;
    }

    .service-photo-container {
        display: flex;
    }


    /* -------------------- GALLERY -------------------- */
    .prev-btn, .next-btn {
        display: block;
        width: calc((100% - min(100%, 400px)) / 2);
    }

    #gallery-carousel button i {
        font-size: 2rem;
    }


    /* -------------------- FAQ -------------------- */
    .accordion {
        font-size: 1rem;
    }


    /* -------------------- CONTACT -------------------- */
    .contact-box {
        display: flex;
        flex-direction: row;
        width: 90%;
        margin: 0 auto;
        font-size: 1em;
    }

    .contact-info, .contact-map {
        width: 50%;
    }

    .contact-map {
        height: inherit;
        border-left: 2px solid black;
        border-top: none;
    }

    .opening-day, .contact-icon {
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .contact-info-text {
        padding: 0.5rem;
    }
    
    .opening-time {
        padding: 0.5rem 1rem 0.5rem 0;
    }


    /* -------------------- FOOTER -------------------- */
    .footer {
        padding: 1rem 0;
        height: auto;
    }
    
    .copyright {
        font-size: 1.2rem;
    }

    .footer-icon, .facebook-icon, .instagram-icon {
        font-size: 1.2rem;
    }

    .facebook-icon {
        margin-right: 0.75rem;
    }
}


/* CSS rules for large viewports, 768px to 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* -------------------- REUSED COMPONENTS -------------------- */
    .content-title {
        font-size: 3.5em;
        margin: 0 auto 2rem;
    }

    .section-gradient-1, .section-gradient-2 {
        height: 4rem;
    }


    /* -------------------- NAVBAR -------------------- */
    .navbar {
        width: 80%;
        justify-content: space-between;
    }

    .brand-logo {
        height: 2rem;
    }

    .hamburger-button {
        display: none;
    }

    .primary-navigation {
        position: static;
        flex-direction: row;
        transform: translateX(0%);
        padding: 0;
    }

    .nav-item {
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem;
        margin: 0 0.5rem;
        font-size: 1.2rem;
    }


    /* -------------------- LANDING PAGE -------------------- */
    .hero-mask {
        width: 80%;
        left: calc(10% - 2px);
    }

    .hero-text-1, .hero-text-2 {
        font-size: 1.2em;
        padding: 0 1rem;
    }
    
    .hero-text-1 {
        margin-bottom: 5px;
    }
    
    .hero-text-2 {
        margin-top: 5px;
    }


    /* -------------------- SERVICES -------------------- */
    .service-container {
        width: 80%;
        display: flex;
        border: solid 2px black;
        margin: 0 auto;
    }

    #service-menu {
        width: 50%;
        font-size: 1rem;
        border: none;
    }

    .service-category {
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 1rem;
    }

    .service-name {
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .service-price {
        padding: 0.5rem 1rem 0.5rem 0;
    }

    .disclaimer {
        margin: 1rem 0;
    }

    .disclaimer-icon {
        padding: 0 0.4rem 0 1rem;
    }

    .disclaimer-text {
        padding-right: 1rem;
    }

    .service-photo-container {
        display: flex;
    }


    /* -------------------- GALLERY -------------------- */
    #gallery-carousel {
        width: 80%;
    }
    
    .prev-btn, .next-btn {
        display: block;
        width: calc((100% - min(100%, 400px)) / 2);
    }

    #gallery-carousel button i {
        font-size: 3rem;
    }
    

    /* -------------------- FAQ -------------------- */
    .accordion {
        font-size: 1.1rem;
        width: 80%;
    }


    /* -------------------- CONTACT -------------------- */
    .contact-box {
        display: flex;
        flex-direction: row;
        margin-bottom: 0;
        width: 80%;
        font-size: 1.1rem;
    }

    .contact-info, .contact-map {
        width: 50%;
    }

    .contact-map {
        border-left: 2px solid black;
        height: inherit;
        border-top: none;
    }

    .opening-day, .contact-icon {
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .contact-info-text {
        padding: 0.5rem;
    }
    
    .opening-time {
        padding: 0.5rem 1rem 0.5rem 0;
    }


    /* -------------------- FOOTER -------------------- */
    .footer {
        width: 80%;
        padding: 1rem 0;
        height: auto;
    }
    
    .copyright {
        font-size: 1.4rem;
    }

    .footer-icon, .facebook-icon, .instagram-icon {
        font-size: 1.4rem;
    }

    .facebook-icon {
        margin-right: 1rem;
    }
}


/* CSS rules for extra-large viewports, 992px to 1399px */
@media only screen and (min-width: 992px) and (max-width: 1399px) {
    /* -------------------- REUSED COMPONENTS -------------------- */
    .content-title {
        font-size: 4em;
        margin: 0 auto 2rem;
    }

    .section-gradient-1, .section-gradient-2 {
        height: 4rem;
    }


    /* -------------------- NAVBAR -------------------- */
    .navbar {
        width: 70%;
        justify-content: space-between;
    }

    .brand-logo {
        height: 2rem;
    }

    .hamburger-button {
        display: none;
    }

    .primary-navigation {
        position: static;
        flex-direction: row;
        transform: translateX(0%);
        padding: 0;
    }

    .nav-item {
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem;
        margin: 0 0.75rem;
        font-size: 1.2rem;
    }


    /* -------------------- LANDING PAGE -------------------- */
    .hero-mask {
        width: 70%;
        left: calc(15% - 2px);
    }

    .hero-text-1, .hero-text-2 {
        font-size: 1.3em;
        padding: 0 1.2rem;
    }
    
    .hero-text-1 {
        margin-bottom: 0.5em;
    }
    
    .hero-text-2 {
        margin-top: 0.5em;
    }


    /* -------------------- SERVICES -------------------- */
    .service-container {
        width: 70%;
        display: flex;
        border: solid 2px black;
        margin: 0 auto;
    }

    #service-menu {
        width: 50%;
        font-size: 1em;
        border: none;
    }

    .service-category {
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 1rem;
    }

    .service-name {
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .service-price {
        padding: 0.5rem 1rem 0.5rem 0;
    }

    .disclaimer {
        margin: 1rem 0;
    }

    .disclaimer-icon {
        padding: 0 0.4rem 0 1rem;
    }

    .disclaimer-text {
        font-size: 0.9em;
        padding-right: 1rem;
    }

    .service-photo-container {
        display: flex;
    }


    /* -------------------- GALLERY -------------------- */
    #gallery-carousel {
        width: 70%;
    }
    
    .prev-btn, .next-btn {
        display: block;
        width: calc((100% - min(100%, 400px)) / 2);
    }

    #gallery-carousel button i {
        font-size: 3rem;
    }


    /* -------------------- FAQ -------------------- */
    .accordion {
        font-size: 1.2rem;
        width: 70%;
    }


    /* -------------------- CONTACT -------------------- */
    .contact-box {
        display: flex;
        flex-direction: row;
        width: 70%;
        font-size: 1.2rem;
        margin: 0 auto;
    }

    .contact-info, .contact-map {
        width: 50%;
    }

    .contact-map {
        border-left: 2px solid black;
        border-top: none;
        height: inherit;
    }

    .opening-day, .contact-icon {
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .contact-info-text {
        padding: 0.5rem;
    }
    
    .opening-time {
        padding: 0.5rem 1rem 0.5rem 0;
    }


    /* -------------------- FOOTER -------------------- */
    .footer {
        width: 70%;
        padding: 1rem 0;
        height: auto;
    }
    
    .copyright {
        font-size: 1.4rem;
    }

    .footer-icon, .facebook-icon, .instagram-icon {
        font-size: 1.4rem;
    }

    .facebook-icon {
        margin-right: 1.25rem;
    }
}


/* CSS rules for ultra-wide viewports, 1400px and above */
@media only screen and (min-width: 1400px) {
    /* -------------------- REUSED COMPONENTS -------------------- */
    .content-title {
        font-size: 4em;
        margin: 0 auto 2rem;
    }

    .section-gradient-1, .section-gradient-2 {
        height: 6rem;
    }


    /* -------------------- NAVBAR -------------------- */
    .navbar {
        width: 60%;
        justify-content: space-between;
    }

    .brand-logo {
        height: 2.5rem;
    }

    .hamburger-button {
        display: none;
    }

    .primary-navigation {
        position: static;
        flex-direction: row;
        transform: translateX(0%);
        padding: 0;
    }

    .nav-item {
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem;
        margin: 0 1rem;
        font-size: 1.3rem;
    }


    /* -------------------- LANDING PAGE -------------------- */
    .hero-mask {
        width: 60%;
        left: calc(20% - 2px);
    }

    .hero-text-1, .hero-text-2 {
        font-size: 1.3em;
        padding: 0 1.2rem;
    }
    
    .hero-text-1 {
        margin-bottom: 0.5em;
    }
    
    .hero-text-2 {
        margin-top: 0.5em;
    }


    /* -------------------- SERVICES -------------------- */
    .service-container {
        width: 60%;
        max-height: 715px;
        display: flex;
        border: solid 2px black;
        margin: 0 auto;
    }

    #service-menu {
        width: 50%;
        font-size: 1.2em;
        margin: 0 auto 1rem;
        border: none;
    }

    .service-category {
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 1rem;
    }

    .service-name {
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .service-price {
        padding: 0.5rem 1rem 0.5rem 0;
    }

    .disclaimer {
        margin: 1rem 0 0;
    }

    .disclaimer-icon {
        padding: 0 0.6rem 0 1rem;
    }

    .disclaimer-text {
        font-size: 0.9em;
        padding-right: 1rem;
    }

    .service-photo-container {
        display: flex;
    }


    /* -------------------- GALLERY -------------------- */
    #gallery-carousel {
        width: 60%;
    }
    
    .prev-btn, .next-btn {
        display: block;
        width: calc((100% - min(100%, 400px)) / 2);
    }

    #gallery-carousel button i {
        font-size: 4rem;
    }
    

    /* -------------------- FAQ -------------------- */
    .accordion {
        font-size: 1.2rem;
        width: 60%;
    }


    /* -------------------- CONTACT -------------------- */
    .contact-box {
        display: flex;
        flex-direction: row;
        margin: 0 auto;
        width: 60%;
        font-size: 1.2rem;
    }

    .contact-info, .contact-map {
        width: 50%;
    }

    .contact-map {
        height: inherit;
        border-left: 2px solid black;
        border-top: none;
    }

    .opening-day, .contact-icon {
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .contact-info-text {
        padding: 0.5rem;
    }
    
    .opening-time {
        padding: 0.5rem 1rem 0.5rem 0;
    }


    /* -------------------- FOOTER -------------------- */
    .footer {
        width: 60%;
        padding: 1rem 0;
        height: auto;
    }
    
    .copyright {
        font-size: 1.5rem;
    }

    .footer-icon, .facebook-icon, .instagram-icon {
        font-size: 1.5rem;
    }

    .facebook-icon {
        margin-right: 1.5rem;
    }
}