/*Styling the Heading*/

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

body {
    font-family: Arial, sans-serif;
    background-color: #fff9fb;
    color: #292126;
    line-height: 1.6;
}

.top-bar {
    min-height: 42px;
    padding: 8px 5%;
    background-color: #fce8ef;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.top-bar p {
    margin: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #292126;
    text-decoration: none;
}

.top-bar a:hover {
    color: #c1266d;
}

.top-bar .top-book-button {
    background-color: #111111;
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 30px;
}

.top-bar .top-book-button:hover {
    background-color: #c1266d;
    color: #ffffff;
}

header {
    background-color: #000000;
    padding: 10px 5%;
    border-bottom: 1px solid #292126;
}

header nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    grid-column: 2;
    justify-self: center;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
}

header nav a:hover {
    color: #c1266d;
}

.logo {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 280px;
    height: auto;
}

.book-button {
    background-color: #d92f83;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: bold;
}

header nav .book-button {
    color: #ffffff;
}

.book-button:hover {
    background-color: #ffffff;
    color: #c1266d;
}

/*Styling the Home/hero section*/

#home {
    min-height: 620px;
    padding: 80px 7%;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(20, 10, 16, 0.82) 0%,
            rgba(20, 10, 16, 0.58) 38%,
            rgba(20, 10, 16, 0.10) 70%
        ),
        url("../images/hero-nails.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 620px;
    color: #ffffff;
}

.hero-welcome {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#home h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 8px;

    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #f7a8c4,
        0 0 20px #d92f83;
}

.hero-location {
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: #ffffff;

    display: block;
    width: 480px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-tagline {
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
}

.hero-tagline span {
    color: #d92f83;
    margin: 0 4px;
    text-shadow: 0 0 6px #d92f83;
}

#home h2 {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 42px;
    font-weight: normal;
    color: #f7a8c4;
    margin-bottom: 25px;

    text-shadow:
        0 0 4px #d92f83,
        0 0 8px rgba(217, 95, 141, 0.7);
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 25px;
    align-self: flex-start;
}

.hero-buttons a {
    width: auto;
    flex: 0 0 auto;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.primary-button {
    background-color: #d92f83;
    color: #ffffff;
}

.secondary-button {
    background-color: #ffffff;
    color: #c1266d;
    border: 2px solid #d92f83;
}

.primary-button:hover {
    background-color: #c1266d;
}

.secondary-button:hover {
    background-color: #fce8ef;
}

/*Styling the services section*/

#services {
    padding: 70px 5%;
    background-color: #ffffff;
}

#services > h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

.service-card {
    background-color: #fff9fb;
    border: 1px solid #f4d5e1;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(41, 33, 38, 0.06);
}

.service-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;
    color: #d91f73;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 15px;
    color: #292126;
    margin-top: 30px;
    margin-bottom: 5px;
    padding-top: 20px;
    border-top: 2px solid #d91f73;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.service-card p {
    padding: 7px 0;
    border-bottom: 1px solid #fce8ef;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #f3dce5;
    font-size: 16px;
}

.service-row span:last-child {
    color: #d91f73;
    font-weight: bold;
    white-space: nowrap;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.section-label {
    color: #e91e78;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#services > h2 {
    font-size: 42px;
    color: #292126;
    margin-bottom: 8px;
}

.section-description {
    color: #6b6267;
    font-size: 17px;
    margin-bottom: 40px;
}

/* Booking service category cards */

#service-categories {
    border: 1px solid #f1c4d8;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    background-color: #fff9fb;
}

.service-step {
    width: auto;
    padding: 7px 18px;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: #fce8ef;
    color: #d92f83;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-heading {
    margin-bottom: 25px;
}

.service-heading h3 {
    font-size: 30px;
    margin-bottom: 4px;
    color: #292126;
}

.service-heading p {
    color: #6f646a;
}

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-category-card {
    position: relative;
    min-height: 360px;
    padding: 30px 18px;
    border: 2px solid #f1dce5;
    border-radius: 18px;
    background-color: #ffffff;
    cursor: pointer;
    text-align: center;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.service-category-card:hover {
    transform: translateY(-3px);
    border-color: #e58ab4;
    box-shadow: 0 8px 20px rgba(217, 47, 131, 0.10);
}

/* Keep the real checkbox in the top-right corner */

.service-category-card input {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    accent-color: #d92f83;
    cursor: pointer;
}

.service-card-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-title {
    display: block;
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: bold;
    color: #292126;
}

.service-card-line {
    display: block;
    width: 40px;
    height: 3px;
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: #d92f83;
}

.service-card-description {
    display: block;
    color: #6f646a;
    font-size: 15px;
    line-height: 1.5;
}

.service-card-image {
    width: 135px;
    height: 135px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(217, 47, 131, 0.12);
}

/* Highlight a card when its checkbox is selected */

.service-category-card:has(input:checked) {
    border-color: #d92f83;
    background-color: #fff3f8;
    box-shadow: 0 8px 22px rgba(217, 47, 131, 0.12);
}

/* Booking Summary */

#booking-summary {
    margin-top: 30px;
    padding: 35px;
    border: 1px solid #f1c4d8;
    border-radius: 20px;
    background-color: #fff9fb;
    text-align: center;
}

.booking-summary-content {
    margin-bottom: 25px;
}

.summary-label {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #292126;
}

#estimated-total {
    margin: 5px 0 12px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: bold;
    color: #d92f83;
}

#booking-summary .form-help {
    max-width: 600px;
    margin: 0 auto;
}

.booking-submit {
    width: 100%;
    max-width: 500px;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    background-color: #d92f83;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.booking-submit:hover {
    background-color: #c1266d;
    transform: translateY(-2px);
}

.booking-submit:focus-visible {
    outline: 3px solid #292126;
    outline-offset: 3px;
}

/* Keyboard accessibility */

.service-category-card:has(input:focus-visible) {
    outline: 3px solid #d92f83;
    outline-offset: 3px;
}

/* Step 2 - Specific service selection */

#service-selection {
    position: relative;
    margin: 30px 0;
    padding: 40px 35px 35px;
    border: 1px solid #f1c4d8;
    border-radius: 20px;
    background-color: #fff9fb;
}

.booking-step {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color: #fce8ef;
    color: #d92f83;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#specific-services {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

#specific-services label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #292126;
}

#specific-services select {
    width: 100%;
}

#service-selection {
    display: none;
}

/* Feature Bar */
.feature-bar {
    background-color: #fce8ef;
    color: #292126;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px 5%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #292126;
}

.feature-item span {
    color: #d92f83;
    font-size: 28px;
}

.feature-item p {
    color: #292126;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.4;
}

/*Styling the gallery section*/

#gallery {
    padding: 70px 5%;
    background-color: #fff9fb;
    text-align: center;
}

#gallery h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

#gallery p {
    color: #6b6267;
    margin-bottom: 35px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    background-color: #fff5f8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    height: 340px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/*Styling the booking section*/

#booking {
    padding: 70px 5%;
    background-color: #ffffff;
}

#booking h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 5px;
}

#booking > p {
    color: #6b6267;
    text-align: center;
    margin-bottom: 35px;
}

#booking form {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff9fb;
    border: 1px solid #fce8ef;
    border-radius: 20px;
    padding: 35px;
}

#booking label {
    display: block;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 6px;
}

#booking input,
#booking select,
#booking textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5c7d2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    background-color: #ffffff;
}

#booking button {
    width: 100%;
    margin-top: 25px;
    padding: 14px 24px;
    background-color: #d92f83;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#booking button:hover {
    background-color: #c1266d;
}

#booking input:focus,
#booking select:focus,
#booking textarea:focus {
    outline: 3px solid #f4cbd9;
    border-color: #d92f83;
}

/*Styling the careers section*/

#careers {
    padding: 70px 5%;
    background-color: #fff9fb;
}

#careers h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 5px;
}

#careers > p {
    max-width: 700px;
    margin: 0 auto 35px;
    color: #6b6267;
    text-align: center;
}

#career-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #fce8ef;
    border-radius: 20px;
    padding: 35px;
}

#career-form label {
    display: block;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 6px;
}

#career-form input,
#career-form select,
#career-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5c7d2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    background-color: #ffffff;
}

#career-form input:focus,
#career-form select:focus,
#career-form textarea:focus {
    outline: 3px solid #f4cbd9;
    border-color: #d92f83;
}

#career-form button {
    width: 100%;
    margin-top: 25px;
    padding: 14px 24px;
    background-color: #d92f83;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#career-form button:hover {
    background-color: #c1266d;
}

/* Styling the license requirements section */

#license-requirement {
    background-color: #fce8ef;
    color: #c1266d;
    border-left: 4px solid #d92f83;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-weight: bold;
}

/*Styling the contact section*/

#contact {
    padding: 70px 5%;
    background-color: #ffffff;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

#contact > p {
    color: #6b6267;
    margin-bottom: 25px;
}

#contact h3 {
    color: #c1266d;
    margin-top: 20px;
    margin-bottom: 5px;
}

#contact a {
    color: #292126;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    color: #d92f83;
}

#contact address {
    font-style: normal;
    line-height: 1.8;
}

/*Styling the footer section*/

footer {
    background-color: #fce8ef;
    color: #292126;
    text-align: center;
    padding: 40px 5%;
}

footer h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

footer nav a {
    color: #c1266d;
    text-decoration: none;
    font-weight: bold;
}

footer nav a:hover {
    color: #d92f83;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
}

footer p a {
    color: #292126;
    text-decoration: none;
}

footer p a:hover {
    color: #c1266d;
}

.menu-toggle {
    display: none;
}

.mobile-book-link {
    display: none;
}

#nail-options {
    display: none;
    margin: 30px 0;
    padding: 40px 35px 35px;
    border: 1px solid #f1c4d8;
    border-radius: 20px;
    background-color: #fff9fb;
}

/* Nail option fields */

#nail-options > label,
#nail-length-options label {
    font-weight: 600;
    color: #292126;
}

#nail-options select {
    margin-top: 8px;
    margin-bottom: 24px;
    background-color: #ffffff;
    border: 1px solid #e8b8ce;
    border-radius: 12px;
}

#nail-options select:focus {
    border-color: #d92f83;
    outline: 3px solid #fce8ef;
}

#booking #nail-addons input[type="checkbox"] {
    accent-color: #d92f83;
}

#nail-length-options {
    display: none;
}

#nail-addons {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #e5c7d2;
    border-radius: 12px;
    background-color: #ffffff;
}

#nail-addons legend {
    font-weight: bold;
    font-size: 18px;
    padding: 0 8px;
}

#nail-addons label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    cursor: pointer;
}

#booking #nail-addons input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

/* Appointment Details */

#appointment-details {
    margin: 30px 0;
    padding: 40px 35px 35px;
    border: 1px solid #f1c4d8;
    border-radius: 20px;
    background-color: #fff9fb;
}

.appointment-date-time {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.appointment-field {
    display: flex;
    flex-direction: column;
}

.appointment-field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #292126;
}

.appointment-field input,
.appointment-field select,
.appointment-field textarea {
    width: 100%;
}

#appointment-notes {
    margin-top: 0;
}

#appointment-details > .appointment-field {
    margin-top: 20px;
}

#licensed-applicant-fields {
    display: none;
}

.career-details-heading {
    margin: 30px 0 25px;
    padding-top: 25px;
    border-top: 1px solid #f1c4d8;
}

.career-details-heading h3 {
    margin-bottom: 5px;
    font-size: 24px;
    color: #292126;
}

.career-details-heading p {
    color: #6f646a;
}

.career-submit {
    width: 100%;
    margin-top: 25px;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    background-color: #d92f83;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.career-submit:hover {
    background-color: #c1266d;
    transform: translateY(-2px);
}

.career-submit:focus-visible {
    outline: 3px solid #292126;
    outline-offset: 3px;
}

/* Thank-you page */

.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    background-color: #fff9fb;
}

.thank-you-card {
    width: 100%;
    max-width: 700px;
    background-color: #ffffff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.thank-you-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.thank-you-card h1 {
    font-size: 36px;
    color: #292126;
    margin-bottom: 20px;
}

.thank-you-card > p {
    margin-bottom: 20px;
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.career-form-heading {
    margin-bottom: 30px;
}

.career-form-heading h3 {
    margin: 12px 0 5px;
    font-size: 26px;
    color: #292126;
}

.career-form-heading > p:last-child {
    color: #6f646a;
}

@media (max-width: 768px) {
    .top-bar {
    display: none;
}

.services-grid {
    grid-template-columns: 1fr;
}

header nav {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #d92f83;
    font-size: 32px;
    cursor: pointer;
}

header nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

header nav ul.show-menu {
    display: flex;
}

    .logo {
        font-size: 24px;
    }   

    /* Styling the home section for mobile devices */

    #home {
        padding: 50px 5%;
        min-height: auto;
    }

    #home h1 {
        font-size: 42px;
    }

    #home h2 {
        font-size: 28px;
    }

    .hero-content {
    width: 100%;
    max-width: 100%;
}

.hero-location {
    width: 100%;
    max-width: 100%;
}

    .hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    white-space: nowrap;
}

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    #services > h2,
    #gallery h2,
    #booking h2,
    #careers h2,
    #contact h2 {
        font-size: 30px;
    }

    #booking form,
    #career-form {
        padding: 25px 20px;
    }

    #booking,
    #careers,
    #contact,
    #gallery,
    #services {
        padding-left: 5%;
        padding-right: 5%;
    }

    .book-button {
        display: none;
    }

    .mobile-book-link {
        display: block;
    }

    .mobile-book-link a {
        display: inline-block;
        background-color: #d92f83;
        color: #ffffff;
        padding: 10px 24px;
        border-radius: 30px;
    }

    .mobile-book-link a:hover {
        background-color: #c1266d;
        color: #ffffff;
    }

    .appointment-date-time {
        grid-template-columns: 1fr;
    }

    .service-category-grid {
        grid-template-columns: 1fr;
    }

    #service-categories {
        padding: 22px 16px;
    }

    .service-category-card {
        min-height: 150px;
    }

    .service-heading h3 {
        font-size: 26px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-item {
        height: 400px;
    }

    .thank-you-card {
    padding: 35px 20px;
}

.thank-you-card h1 {
    font-size: 30px;
}

.thank-you-buttons {
    flex-direction: column;
}

.thank-you-buttons a {
    width: 100%;
    text-align: center;
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px 5%;
}

.feature-item {
    justify-content: center;
}

}
