:root {
    --clr-title: #252859;
    --clr-text: #252859;
    --clr-outline: #BB0A21;
    --clr-background: rgb(202, 202, 231);
    --clr-cover: #ffffff;
    --weight-bold: 500;
    --width: 400px;
}

/* Resetting default margin and padding */
body,
ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.125rem;
}

.content-wrapper {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1rem;
    text-align: center;
}
.grey {
    color: grey;
}

@media screen and (min-width: 769px) {
    .content-wrapper {
        box-sizing: border-box;
        text-align: center;
        margin: 1rem 15vw;
    }
}


section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* MODAL WINDOW */

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}


/* MODAL WINDOW */
/* HEADER */

/* Sticky navigation bar */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: var(--clr-title);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 0 0 0 1rem;
}

.header-navigation li {
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--clr-cover);
    gap: .25rem;

}

.header-navigation li img {
    width: 1.25rem;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);

}

.header-navigation li a {
    text-decoration: none;
    color: var(--clr-cover);
}

.logo {
    padding: 0 1rem;
    width: 3rem;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header-social {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2rem;

}

.header-social li {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-social li img {
    height: 100%;
    width: 1.25rem;
    object-fit: contain;
    filter: brightness(0) invert(1);

}

.header-btn {
    background-color: var(--clr-background);
    color: var(--clr-title);
    border: none;
    height: 50%;
    margin: 0 1rem 0 0;
    padding: .25rem;
    font-weight: var(--weight-bold);
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
    border: 2px solid var(--clr-background);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.header-btn:hover {
    background-color: var(--clr-title);
    /* Darker shade of neon green on hover */
    color: white;
}

@media screen and (max-width: 600px) {
    header {
        height: 10vh;
    }

    .header-navigation {
        padding: 0 1rem;
        margin: 0;
        flex-direction: column;
        align-items: baseline;
        gap: 0;
    }

    .header-navigation li:first-child {
        display: none;
        /* Hides "Beauty Ästhetik Studio Tete-a-Tete" on small screens */
    }

    .header-social {
        display: none;
    }
}


/* HEADER */

/* NAVIGATION */

#navigation {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#navigation .content-wrapper {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 0 3rem;
    align-items: center;
    justify-content: space-between;
}

.navigation-logo {
    width: 100%;
    height: 5rem;
    object-fit: contain;
}

.navigation-links {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .navigation-links {
        gap: 1rem;
    }
    
}

.navigation-links li {
    cursor: pointer;
}

.navigation-links li:hover {
    border-bottom: solid 2px var(--clr-title);
}

.navigation-links li a {
    text-decoration: none;
}
@media screen and (max-width: 768px) {
    #navigation .content-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .navigation-logo {
        /* Hide for mobile */
        display: none;
    }
}



/* NAVIGATION */

/* FIRST SCREEN */

@media screen and (min-width: 769px) {
    .first-screen-herzlich {
        font-size: 4rem;
    }

    .first-screen-beautyestetik {
        font-size: 3rem;
        margin: 0;
        padding: 0;
    }

    .first-screen-mels {
        margin: 0;
        padding: 0;
    }
    .first-screen-timeless {
        margin: 0;
        padding: 0;
        font-size: 3rem;
    }

    
}

@media screen and (max-width: 768px) {
    .first-screen-herzlich {
        margin: 0;
    }
    .first-screen-beautyestetik {
        margin: 0;
    }
    .first-screen-mels {
        margin: 0;
    }
    .first-screen-timeless {
        margin: 0;
        padding: 0;
        font-size: 2rem;
    }
}

#first-screen {
    position: relative;
    /* Ensure the pseudo-element is positioned relative to this element */
    text-align: center;
    background: url(../res/salon/salon1-refined1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.row {
    display: flex;
    flex-direction: row;
}

.logo-txt {
    background-color: var(--clr-text);
    color: white;
    padding: 0 10px;
}

#first-screen h3 {
    color: var(--clr-title);
    /* Title color */
    font-size: 24px;
    /* Adjust font size */
    margin-bottom: 20px;
    /* Add spacing */
}

.first-screen-logo {
    width: 100%;
    height: 15rem;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .first-screen-logo {
        width: 100%;
        height: 11rem;
        object-fit: contain;
    }
}

#first-screen h1 {
    color: var(--clr-title);
    /* Title color */
    /* Adjust font size */
    margin-bottom: 20px;
    /* Add spacing */
}

#first-screen h2 {
    color: var(--clr-text);
    /* Text color */
    font-size: 1.25rem;
    /* Adjust font size */
}

/* FIRST SCREEN */

/* SECOND SCREEN */

#offer .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.offer-img {
    width: 100%;
    height: 25rem;
    object-fit: contain;
}

.offer-img-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 768px) {
    .content-wrapper {
        margin: .5rem .5rem;
        gap: 0;
    }
    #offer .content-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .offer-img {
        height: 10rem;
    }
}

/* SECOND SCREEN */

/* THIRD SCREEN */

#about {
    background-color: var(--clr-background);
}

.card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    box-sizing: border-box;
}

.card {
    width: 300px;
    border: 1px solid var(--clr-title);
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    /* all paddings and margins for the card are way too big for mobile version, where text is only .875rem. make them smaller */

    .card {
        /* my button doesnt stick to bottom and to the sides because of these values */
        padding: 0;
        margin: 0;
    }

    .card-content {
        padding: .5rem;
        margin: .5rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-btn {
        font-size: .875rem;
    }

    .card-content p {
        font-size: .875rem;
    }
}

.card img {
    width: 100%;
    height: 300px;
    /* Set the height for all images */
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

.card-content {
    flex-direction: column;
    padding: 1rem;
    display: flex;
    justify-content: start;
    align-items: start;
    text-align: start;
}

.card-title {
    color: var(--clr-title);
    font-weight: var(--weight-bold);
    align-items: center;
    /* Title Color */
}

.card-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    text-decoration: none;
    background-color: var(--clr-title);
    font-weight: var(--weight-bold);
    font-size: 1rem;
    border-radius: 0 0 10px 10px;
    height: 3rem;
    /* Button Background Color */
    color: var(--clr-cover);
    /* Button Text Color */
    border: 2px solid var(--clr-title);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-btn:hover {
    font-weight: var(--weight-bold);
    background-color: var(--clr-background);
    color: var(--clr-title);
    border: 2px solid var(--clr-title);
}

.page-btn {
    align-self: center;
    display: block;
    outline: none;
    text-decoration: none;
    font-size: 1rem;
    font-weight: var(--weight-bold);
    padding: 1rem;
    border: 2px solid var(--clr-title);
    background-color: var(--clr-title);
    /* Button Background Color */
    color: var(--clr-cover);
    /* Button Text Color */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-btn:hover {
    font-weight: var(--weight-bold);
    background-color: var(--clr-background);
    color: var(--clr-title);
    border: 2px solid var(--clr-title);
}

.p-small {
    font-size: 0.90rem;
}

/* THIRD SCREEN */

/* FOURTH SCREEN */


.title {
    font-size: 24px;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 30px;
}

.gallery {
    display: flex;
    overflow-x: auto;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    /* Enable smooth scrolling on iOS */
}

.gallery img {
    max-width: 100%;
    height: 300px;
    margin-right: 10px;
    object-fit: cover;
}

/* FOURTH SCREEN */

/* FIFTH SCREEN */

#manikur {
    background-color: var(--clr-background);
}

/* FIFTH SCREEN */

#events {
    background-color: var(--clr-background);
}

.blue {
    color: var(--clr-title);
}

/* FOOTER */

#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--clr-title);
    color: var(--clr-cover);
}

.footer-logo {
    width: 100%;
    height: 10rem;
    object-fit: contain;
    filter: brightness(0) invert(1);

}

#footer ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.footer-ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    gap: .5rem;
}

.footer-li-title {
    color: var(--clr-cover);
    font-weight: var(--weight-bold);
    padding: 0;
    margin: 0;
}

#footer .content-wrapper {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    align-items: start;
    gap: 2rem;

}

.footer-ul-logo {
    display: flex;
    flex-direction: column;
}

.footer-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(0) invert(1);
}

.footer-ul-icons {
    display: flex;
    gap: 1rem;

}

@media screen and (max-width: 768px) {
    #footer .content-wrapper {
        grid-template-columns: auto auto auto;
        gap: 1rem;
        /* content starts at the top */
        align-items: start;

    }
    .footer-logo{
        width: 100%;
        height: 5rem;
    }
}

/* FOOTER */


/* WIMP PAGE */

.pricelist-card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: 1rem;
}

@media screen and (min-width: 1355px) {
    .pricelist-card-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        align-items: start;
    }
}

.wimp-first-screen-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .wimp-first-screen-content {
        grid-template-columns: 1fr;
    }
}

.wimp-first-screen-content img {
    width: 100%;
    height: 50vh;
    object-fit: contain;
}

/* WIMP PAGE */

/* NAGEL PAGE */

#hande-second-screen .content-wrapper {
    justify-content: start;
}

/* NAGEL PAGE */