:root {
    --primary-grd: linear-gradient(#FFFFFF 0%, #FFBE3E 100%);
    --secondary-bg: #FFDE9D;
}

/* Global Syles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    min-height: 100vh;
    max-width: 100%;
}

.home-body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background: var(--primary-grd);
    min-height: 100vh;
}

.bg-image {
    width: 800px; 
    height: auto;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-25%, -25%);
    z-index: -1;
    opacity: 8%;
}
/*Header Logo */
.logo {
    top: 75px;
    left: 100px;
    position: absolute;
    font-family: 'Yuji Boku', serif;
    display: flex;
    flex-direction: row;
}

.initial {
    font-size: 150px;
    font-weight: bold;
}

.name {
    font-size: 70px;
    top: 90px;
    margin-top: 75px;
}

/* Navigation Bar */
.nav-bar {
    position: absolute;
    top: 300px;
    left: 125px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 475px;
}

.nav-links {
    font-size: 24px;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
}
.book-now {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.25);
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 40px;
    position: relative;
}

.book-now::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000000;
    transition: width 0.3s ease;
    z-index: -1;
}

.book-now:hover::after {
    width: 100%;
}

.book-now:hover {
    background-color: var(--secondary-bg);
    color: #000000;
}


.nav-links a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-links a::before, a::after {
    content:'';
    position: absolute;
    display: block;
    border: 0 solid transparent;
    width: 0%;
    height: 0%;
    transition: all 0.5s ease;
}

.nav-links a::after {
    top: 0;
    left: 0; 
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
}

.nav-links a::before {
    right: 0;
    bottom: 0;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
}

.nav-links a:hover::before, a:hover::after {
    width: 100%;
    height: 100%;
    border-color: #000000;
}

.sm-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
}

.sm-icons a {
    width: 45px;
    height: 45px;
    background-color: #000000;
    text-align: center;
    font-size: 26px;
    border-radius: 50%;
    position: relative; 
    overflow: hidden;
    border: 3px solid #FFFFFF;
    z-index: 1;
    color: #FFFFFF;
    text-decoration: none;
    transition: 0.5s;
}

.sm-icons a:hover {
    color: #FFFFFF;
    transform: rotateY(360deg);
}

/* All Other Pages - Top Navigation Bar */
.top-nav-bar {
    position: relative;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 20px 20px;
    background-color: var(--secondary-bg);
}

.top-logo {
    font-family: 'Yuji Boku', serif;
    font-size: 32px;
    color: #000000;
}

.top-nav-links {
    display: flex;
    gap: 40px;
}

.top-nav-links a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.top-nav-links a:hover {
    transform: scale(1.15);
}

/* Book an Appointment Page */
.appointment-body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background-color: rgba(255, 222, 157, 31%);
    min-height: 100vh;
}
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 2.5rem;
}

.form-container h1 {
    font-size: 40px;
    color: #000000;
}

.form-container h2 {
    font-size: 24px;
    margin-top: 20px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
}

.appointment-form label {
    font-size: 16px;
    color: #000000;
}

.appointment-form input,
.appointment-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #FFFFFF;
    font-family: 'Playfair Display', serif;
}

/* Pricing Page */
.pricing-body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background-color: rgba(255, 222, 157, 31%);
    min-height: 100vh;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    font-size: 32px;
}

.pricing-card-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 65px;
}

.pricing-card h3 {
    color: black;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card p {
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    color: black;

    &.small {
        font-size: 14px;
    }
}

.go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 32px;
    height: 32px;
    overflow: hidden;
    top: 0;
    right: 0;
    background-color: #FFBE3E;
    border-radius: 0 4px 0 32px;
}

.go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: 'Yuji Boku', serif;
}

.pricing-card {
    display: block;
    position: relative;
    max-width: 300px;
    background-color: var(--secondary-bg);
    border-radius: 4px;
    padding: 40px 40px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;

    &:before {
        content: '';
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background-color: #FFBE3E;
        height: 32px;
        width: 32px;
        border-radius: 32px;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: transform 0.25s ease-out;
    }

    &:hover:before {
        transform: scale(21);
    }
}

.pricing-card:hover {
    p {
        transition: all 0.3s ease-out;
        color: rgba(255, 255, 255, 0.8);
    }
    h3 {
        transition: all 0.3s ease-out;
        color: #ffffff;
    }
}

.pricing-image {
    position: absolute;
    top: 60%;
    left: 18%;
    z-index: -1;
    width: 1000px;
    height: auto;
}

/* About Me Page */
.about-me-body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background-color: rgba(255, 222, 157, 31%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 2.5rem;
}

.about-title {
    font-size: 40px;
    color: #000000;
    text-align: justify;
    margin-top: 200px;
    margin-left: 200px;
}

.content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.content img {
    width: 300px;
    height: auto;
    border-radius: 25px;
    margin-left: 200px;
}

.content p {
    max-width: 600px;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
}

/* Contact Page */
.contact-body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background-color: rgba(255, 222, 157, 31%);
    min-height: 100vh;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 2.5rem;
}

.form-container h1 {
    font-size: 40px;
    color: #000000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
}

.contact-form label {
    font-size: 16px;
    color: #000000;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #FFFFFF;
    font-family: 'Playfair Display', serif;
}

@media screen and (max-width: 769px) {
    html, body {
        max-width: 100%;
        box-sizing: border-box;
    }
    .home-body{
        max-width: 100%;
    }

    .bg-image {
        width: 400px; 
        height: auto;
        top: 40%;
        left: 60%;
        max-width: 90%;
    }

    .logo {
        justify-content: center;
    }

    .initial {
        font-size: 4rem;
    }

    .name {
        font-size: 3rem;
        margin-top: 1.5rem;
    }

    /* Navigation Bar */
    .nav-bar {
        display: flex;
        max-width: 50%;
        top: 15rem;
    }

    .book-now {
        font-size: 1rem;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    /* Pricing Page */
    .pricing-body {
        line-height: 1.6;
        max-width: 100%;
    }

    .main-container {
        margin-top: 1.5rem;
        font-size: 2rem;
    }

    .pricing-card-container {
        gap: 20px;
        margin-top: 30px;
    }

    .pricing-card h3 {
        font-size: 1rem;
    }

    .pricing-card p {
        font-size: 1rem;
    
    &.small {
        font-size: 14px;
        }
    }

    .pricing-card {
        max-width: 200px;
        padding: 20px 20px;
        margin: 6px;
    }
    .pricing-image {
        position: relative;
        width: 500px;
        height: auto;
        margin-top: 50px;
        }

    /* About Me Page */
    .about-me-body {
        display: block;
    }
    .header-container {
        gap: 10px;
        margin-top: 0;
        display: block;
    }

    .about-title {
        font-size: 2rem;
        margin-top: 50px;
        margin-left: 50px;
    }

    .content {
        gap: 20px;
    }

    .content img {
        padding: 1rem;
        margin-left: auto;
    }
}

@media screen and (max-width: 480px) {
    html, body {
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-body{
        max-width: 100%;
    }

    .bg-image {
        width: 200px; 
        height: auto;
        top: 40%;
        left: 50%;
        max-width: 90%;
    }

    .logo {
        justify-content: center;
    }

    .initial {
        font-size: 4rem;
    }

    .name {
        font-size: 3rem;
        margin-top: 1.5rem;
    }

    /* Navigation Bar */
    .nav-bar {
        position: relative;
        display: flex;
        max-width: 50%;
        top: 15rem;
        left: 30%;
    }

    .book-now {
        font-size: 1rem;
        margin-bottom: 0px;
        margin-top: 0px;
    }
    
    .top-logo {
        font-size: 2rem;
        padding: 1rem;
    }

    .top-nav-links {
        gap: 20px;
    }
        /* Pricing Page */
    .pricing-body {
        line-height: 1.6;
        max-width: 100%;
    }

    .main-container {
        margin-top: 1.5rem;
        font-size: 2rem;
    }

    .pricing-card-container {
        gap: 20px;
        margin-top: 30px;
    }

    .pricing-card h3 {
        font-size: 1rem;
    }

    .pricing-card p {
        font-size: 1rem;
    
    &.small {
        font-size: 14px;
        }
    }

    .pricing-card {
        max-width: 200px;
        padding: 20px 20px;
        margin: 6px;
    }
    .pricing-image {
        position: relative;
        width: 350px;
        height: auto;
        margin-top: 50px;
    }

        /* About Me Page */
    .about-me-body {
        display: block;
    }
    .header-container {
        gap: 10px;
        margin-top: 0;
        display: block;
    }

    .about-title {
        font-size: 2rem;
        margin-top: 25px;
        margin-left: 50px;
    }

    .content {
        gap: 10px;
    }

    .content img {
        padding: 0.5rem;
        margin-left: auto;
    }

}