/* ========================================
   NOVA MASSAGE
   Main Stylesheet
======================================== */


/* ========================================
   COLORS
======================================== */

:root {
    --brown: #925f5f;
    --dark-brown: #805252;
    --teal: #16a4a6;
    --cream: #f7f7f7;
    --white: #ffffff;
    --black: #000000;
    --text: #222222;
}


/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Josefin Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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


/* ========================================
   HEADER
======================================== */

.site-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border-top: 3px solid var(--teal);
}

.logo {
    color: var(--brown);

    font-family: "Audiowide", sans-serif;

    font-size: 17px;
    letter-spacing: 4px;
}


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

.hero {
    position: relative;

    height: 470px;

    overflow: hidden;

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

    text-align: center;
}


/* Temporary hero image */

.hero-image-placeholder {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            #d8b8ae,
            #b99589,
            #d9c5bf
        );

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

    color: rgba(255,255,255,.45);

    font-size: 18px;
}


/* Dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(55, 30, 25, 0.28);
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;

    color: white;

    width: 90%;
    max-width: 900px;
}

.phone {
    display: inline-block;

    font-size: 16px;

    margin-bottom: 12px;

    color: white;
}

.hero h1 {
    font-family: "Audiowide", sans-serif;

    font-size: clamp(28px, 4vw, 48px);

    line-height: 1.25;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;

    margin-bottom: 22px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: var(--black);
    color: white;

    padding: 15px 30px;

    min-width: 165px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.button:hover {
    background: var(--brown);

    transform: translateY(-2px);
}

.hero-button {
    background: white;
    color: black;
}

.hero-button:hover {
    background: var(--brown);
    color: white;
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
    padding: 65px 5%;
}

.section h2 {
    font-family: "Audiowide", sans-serif;

    color: var(--brown);

    text-align: center;

    font-size: clamp(28px, 4vw, 40px);

    letter-spacing: 2px;

    margin-bottom: 45px;
}


/* ========================================
   ABOUT
======================================== */

.about {
    background: white;
}

.about-container {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* Image placeholder */

.image-placeholder {
    background:
        linear-gradient(
            135deg,
            #ddd,
            #eee,
            #cfcfcf
        );

    min-height: 290px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #888;

    text-align: center;

    font-size: 17px;
}

.about-text {
    text-align: center;

    max-width: 550px;
}

.about-text h3 {
    font-size: 25px;

    font-weight: 500;

    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;

    line-height: 1.75;
}


/* ========================================
   SERVICES
======================================== */

.services {
    background: #f7f7f7;
}

.services-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px;
}


/* ========================================
   SERVICE CARDS
======================================== */

.service-card {
    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* Circular images */

.service-image {
    width: 280px;
    height: 280px;

    max-width: 100%;

    margin-bottom: 22px;
}

.circle {
    border-radius: 50%;

    overflow: hidden;
}


/* Service title */

.service-card h3 {
    font-size: 19px;

    font-weight: 500;

    margin-bottom: 15px;

    line-height: 1.4;
}


/* Price */

.price {
    font-size: 16px;

    margin-bottom: 10px;

    font-weight: 500;
}


/* Description */

.service-card p {
    font-size: 16px;

    line-height: 1.55;

    max-width: 350px;

    margin-bottom: 25px;

    min-height: 145px;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    border-top: 3px solid var(--teal);

    background: white;

    padding: 45px 20px;

    text-align: center;
}

.footer-logo {
    font-family: "Audiowide", sans-serif;

    color: var(--brown);

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.footer a {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 17px;
}

.footer p {
    font-size: 14px;

    color: #777;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

    .site-header {
        height: 58px;
    }

    .logo {
        font-size: 14px;

        letter-spacing: 3px;
    }

    .hero {
        height: 430px;
    }

    .hero h1 {
        font-size: 29px;

        letter-spacing: 1px;
    }

    .hero p {
        font-size: 15px;
    }

    .section {
        padding: 50px 20px;
    }

    .section h2 {
        font-size: 27px;

        line-height: 1.35;

        margin-bottom: 35px;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-image {
        min-height: 240px;
    }

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

        gap: 65px;
    }

    .service-image {
        width: 260px;
        height: 260px;
    }

    .service-card p {
        min-height: auto;
    }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 450px) {

    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .phone {
        font-size: 14px;
    }

    .button {
        padding: 14px 25px;
    }

    .service-image {
        width: 230px;
        height: 230px;
    }

}
