/*===============================================================================================
  COLOR VARIABLES
================================================================================================*/

:root {
    --red-color: #9D0514;
    --red-hover-color: #B72836;
    --red-active-color: #8C1A25;

    --white-color: #EFEFEF;
    --pure-white-color: #FFFFFF;
    --black-color: #000000;

    --yellow-color: #F6BE56;

    --transparent-color: transparent;
}


/*===============================================================================================
  RESET & GLOBAL STYLES
================================================================================================*/

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

body {
    font-family: sans-serif;
    border: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.break {
    display: none;
}

.copyright-break {
    display: none;
}


/*===============================================================================================
  HEADER & NAVIGATION
================================================================================================*/

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 36px;
    padding-left: 70px;
    padding-right: 70px;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .logo,
header #hamburger-menu,
header li > a,
header .nav-contact-button {
    transition: opacity 0.25s ease;
}

header.is-scrolled .logo,
header.is-scrolled #hamburger-menu,
header.is-scrolled li > a,
header.is-scrolled .nav-contact-button {
    opacity: 0.45;
}

header.is-scrolled .logo:hover,
header.is-scrolled .logo:focus-visible,
header.is-scrolled #hamburger-menu:hover,
header.is-scrolled #hamburger-menu:focus-visible,
header.is-scrolled li > a:hover,
header.is-scrolled li > a:focus-visible,
header.is-scrolled .nav-contact-button:hover,
header.is-scrolled .nav-contact-button:focus-visible {
    opacity: 1;
}

header ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
    gap: 50px;
    align-items: center;
}

header li {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
}

header li a {
    color: var(--black-color);
    text-decoration: none;
    position: relative;
}

#hamburger-menu {
    display: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 0;
}

#hamburger-menu:hover,
#hamburger-menu:active {
    background-color: transparent;
}

#hamburger-menu img {
    width: 34px;
    height: auto;
}


/*-----------------------------------------------------------------------------------------------
  Active Navigation Link
------------------------------------------------------------------------------------------------*/

header li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 3px;
    background-color: var(--red-color);
    border-radius: 10px;
    transition: transform 0.25s ease;
}

header li a.active::after {
    transform: translateX(-50%) scaleX(1);
}


/*-----------------------------------------------------------------------------------------------
  Header Button
------------------------------------------------------------------------------------------------*/

header .nav-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    background-color: var(--red-color);
    color: var(--white-color);
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 3px;
    text-decoration: none;
    transition: opacity 0.25s ease, background-color 0.3s ease;
}

header .nav-contact-button:hover {
    background-color: var(--red-hover-color);
}

header .nav-contact-button:active {
    background-color: var(--red-active-color);
}

header .nav-contact-button {
    color: var(--white-color);
}

/*===============================================================================================
  HERO SECTION
================================================================================================*/

main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    margin-left: -20vw;
    margin-top: 90px;
}

h1 {
    font-size: 36px;
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 7px;
    margin-top: 0px;
}

p {
    font-size: 16px;
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 0px;
    margin-bottom: 0px;
}

.logo {
    height: 51px;
    width: auto;
}

.hero-img {
    height: 700px;
    transform: scaleX(-1);
    padding: none;
}

.hero-txt {
    display: flex;
    flex-direction: column;
    max-width: 655px;
    margin-left: 50px;
    margin-bottom: 100px;
}

#book-appointment {
    max-width: 200px;
    margin-top: 45px;
}


/*-----------------------------------------------------------------------------------------------
  General Buttons
------------------------------------------------------------------------------------------------*/

button {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    background-color: var(--red-color);
    color: var(--white-color);
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--red-hover-color);
}

button:active {
    background-color: var(--red-active-color);
}

button a {
    color: var(--white-color);
    text-decoration: none;
}


/*===============================================================================================
  REVIEWS
================================================================================================*/

#review-container {
    display: flex;
    gap: 53px;
}

.review-card {
    margin-top: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 286px;
}

#pfp {
    width: 60px;
    margin-bottom: 13px;
}

#star-rating {
    margin-bottom: 3px;
}

.review-card h1 {
    text-align: center;
    font-family: poppins, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 19px;
}

.review-card h2 {
    text-align: center;
    font-family: poppins, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
}


/*===============================================================================================
  CONTACT SECTION
================================================================================================*/

/* FOOTER */
footer {
    width: 100%;
    background-color: var(--black-color);
    padding: 66px;
}

#footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#footer-top {
    display: flex;
    align-items: center;
    gap: 72px;
    margin-bottom: 15px;
}

#footer-top img {
    height: 58px;
}

#footer-browse-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#footer-browse-section h2 {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: var(--pure-white-color);
    opacity: 0.65;
}

#footer-browse-section a {
    font-family: poppins, sans-serif;
    font-style: normal;
    font-size: 14px;
    color: var(--pure-white-color);
}

#footer-divider {
    border: none;
    height: 1px;
    width: 100%;
    max-width: 616px;
    background-color: var(--pure-white-color);
}

#footer-container h3 {
    font-family: poppins, sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--pure-white-color);
    opacity: 0.7;
    font-size: 13px;
}

@media (max-width: 1249px) {

    #navbar-links {
        display: none;
    }

    #hamburger-menu {
        display: block;
    }

    .mobile-menu-backdrop[hidden],
    .mobile-menu[hidden] {
        display: none !important;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgb(0 0 0 / 62%);
        animation: mobile-menu-fade-in 0.2s ease-out both;
    }

    .mobile-menu-backdrop.is-closing {
        animation: mobile-menu-fade-out 0.2s ease-in both;
        pointer-events: none;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1101;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: min(68.4vw, 420px);
        height: 100vh;
        height: 100dvh;
        padding: 31.4vh 31px 32px;
        overflow-y: auto;
        background-color: var(--pure-white-color);
        animation: mobile-menu-slide-in 0.24s ease-out both;
    }

    .mobile-menu.is-closing {
        animation: mobile-menu-slide-out 0.24s ease-in both;
        pointer-events: none;
    }

    .mobile-menu-content {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        transform: scale(0.9);
        transform-origin: top left;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        padding: 0;
        list-style: none;
    }

    .mobile-menu-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #111;
        font-family: poppins, sans-serif;
        font-size: 16.723px;
        font-weight: 400;
        letter-spacing: 5.3514px;
        line-height: normal;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-menu-link.active::after {
        position: absolute;
        right: 0;
        bottom: -7px;
        left: 29px;
        width: auto;
        height: 3px;
        border-radius: 3px;
        background-color: var(--red-color);
        content: "";
    }

    .mobile-menu-icon {
        display: block;
        width: 19px;
        height: 19px;
        flex: 0 0 19px;
        object-fit: contain;
    }

    .mobile-menu-contact {
        display: flex;
        width: 100%;
        min-height: 38px;
        align-items: center;
        justify-content: center;
        max-width: 191px;
        min-height: 41px;
        margin-top: 45px;
        border-radius: 2px;
        background-color: var(--red-color);
        color: var(--pure-white-color);
        font-family: poppins, sans-serif;
        font-size: 16px;
        font-weight: 500;
        padding: 10px 25px;
        text-decoration: none;
        text-transform: uppercase;
        transition: background-color 0.2s ease;
    }

    .mobile-menu-contact:hover {
        background-color: var(--red-hover-color);
    }

    @keyframes mobile-menu-slide-in {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    @keyframes mobile-menu-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes mobile-menu-slide-out {
        from { transform: translateX(0); }
        to { transform: translateX(100%); }
    }

    @keyframes mobile-menu-fade-out {
        from { opacity: 1; }
        to { opacity: 0; }
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    header.is-scrolled .logo {
        opacity: 0;
    }

    header.is-scrolled #hamburger-menu {
        opacity: 1;
    }

    #review-container {
        justify-content: center;
    }

    main {
        position: relative;
        margin-left: 0;
        margin-top: 150px;
    }

    .hero-img {
        position: absolute;
        z-index: -1000;
        height: 300px;
        bottom: -10px;
        left: -120px;
    }

    .hero-txt {
        margin: 0;
        margin-bottom: 100px;
    }

    .hero-txt h1 {
        text-align: left;
        padding-left: 10px;
    }

    .hero-txt p {
        text-align: left;
        padding-left: 10px;
    }

    .hero-txt button {
        margin: auto;
    }

}

@media (max-width: 950px) {

    #second-review-card {
        display: none;
    }


    #footer-top img {
        height: 35px;
    }

    .hero-txt>h1 {
        font-size: 30px;
        line-height: 37px;
        margin-bottom: 10px;
    }

    .break {
        display: inline;
    }

    .hero-txt p {
        font-size: 13px;
        width: 290px;
        margin: auto;
    }

}




@media (max-width: 600px) {

    header {
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo {
        height: 40px;
    }

    main {
        margin-bottom: 200px;
    }

    button {
        font-size: 14px;
    }

    .review-card {
        width: 250px;
    }

    .review-card h1 {
        font-size: 14px;
    }

    .review-card h2 {
        font-size: 14px;
    }

    .hero-img {
        bottom: -210px;
    }

#contact-us {
        width: 100%;
        padding: 30px;
    }

#hours-card h2 {
        font-size: 18px;
    }

#hours-message {
        width: 280px;
        font-size: 14px;
    }
    footer {
        padding-left: 33px;
        padding-right: 33px;
    }
    #footer-top {
        gap: 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    #footer-container h3 {
        text-align: center;
        font-size: 10px
    }
    .copyright-break {
        display: block;
    }

    .copyright-dash {
        display: none;
    }

    
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-backdrop {
        animation-duration: 0.01ms !important;
    }
}


