/* --------------------
   Base styles
-------------------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #2f302c;
    background-color: #f7f5f0;
    line-height: 1.6;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    line-height: 1.15;
}

h1 {
    font-size: 3.6rem;
    max-width: 800px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
}

p {
    max-width: 650px;
}

.mobile-about-image {
    display: none;
}

.mobile-nav {
    display: none;
}


/* --------------------
   Navigation
-------------------- */

header {
    border-bottom: 1px solid rgba(47, 48, 44, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background-color: #f7f5f0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    color: #2f302c;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #2f302c;
    text-decoration: none;
}


/* --------------------
   General sections
-------------------- */

section {
    padding: 7rem 5%;
}

section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* --------------------
   Hero
-------------------- */

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            to right,
            rgba(247, 245, 240, 0.9) 0%,
            rgba(247, 245, 240, 0.7) 30%,
            rgba(247, 245, 240, 0) 60%
        ),
        url("images/carly-yoga-lake.jpg");

    background-size: 115% auto;
    background-position: 10% center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 45%;
    margin-left: 0;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.1rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: bold;
}


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

.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.5rem;
    background: #2f302c;
    color: white;
    text-decoration: none;
    border-radius: 3px;

    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: normal;
}

/* --------------------
   Photo placeholders
-------------------- */

.photo-placeholder {
    min-height: 500px;
    background-color: #c8c3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --------------------
   About
-------------------- */

#about {
    display: flex;
    flex-direction: row-reverse;
    gap: 4rem;
    align-items: center;
}

.about-content {
    width: 55%;
}

.about-image {
    width: 40%;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}


/* --------------------
   Private yoga
-------------------- */

#private-yoga {
    display: flex;
    gap: 4rem;
    align-items: center;
    background-color: #f0ede6;
}

.private-yoga-content {
    width: 55%;
}

.private-yoga-image {
    width: 40%;
}

.private-yoga-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

#private-yoga ul {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

#private-yoga li {
    padding: 0.8rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(47, 48, 44, 0.15);
}

#private-yoga li:last-child {
    border-bottom: none;
}

/* --------------------
   Approach
-------------------- */

.steps {
    display: flex;
    gap: 4rem;
}

.step {
    flex: 1;
}

.step h3 {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#approach {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.approach-image,
.approach-content {
    width: 50%;
}

.approach-image {
    min-height: 500px;
}

#approach .steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#approach .step h3 {
    margin-bottom: 0.5rem;
}

#approach .step p {
    margin-bottom: 0;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dedbd3;
    color: #6b6b65;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.approach-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
/* --------------------
   Pricing
-------------------- */

#pricing {
    background: #f0ede6;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-columns {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.pricing-main,
.pricing-details {
    width: 50%;
}

.pricing-main p,
.pricing-details p {
    max-width: none;
}

.pricing-content > h2 {
    margin-bottom: 3rem;
}

.pricing-details h3:first-child {
    margin-top: 0;
}


/* --------------------
   Values
-------------------- */

#values {
    background: #f7f5f0;
    text-align: center;
}

#values a {
    color: #2f302c;
    text-decoration-color: rgba(47, 48, 44, 0.4);
    text-underline-offset: 4px;
    font-weight: 600;
}

.values-content {
    max-width: 750px;
    margin: 0 auto 4rem;
}

.values-image {
    max-width: 1200px;
    min-height: 450px;
    margin: 0 auto;
}

.values-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

#values p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --------------------
   Contact
-------------------- */

#contact {
    text-align: center;
    padding: 4rem 5% 5rem;
    background: #f0ede6;
}

#contact h2 {
    font-size: 2rem;
}

.email-inquiry {
    max-width: 650px;
    margin: 4rem auto 0;
    text-align: left;
}

.email-inquiry h3,
.email-inquiry > p {
    text-align: center;
}

.email-inquiry form {
    display: flex;
    flex-direction: column;
}

.email-inquiry label {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.email-inquiry input,
.email-inquiry textarea {
    width: 100%;
    padding: 0.75rem;
    font: inherit;
}

.email-inquiry input {
    height: 48px;
}

.email-inquiry textarea {
    min-height: 100px;
    resize: vertical;
}

.email-inquiry button {
    align-self: center;
}

/* --------------------
   Lists
-------------------- */

ul,
ol {
    max-width: 650px;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}


/* --------------------
   Footer
-------------------- */

footer {
    padding: 2rem 5%;
    text-align: center;
    background-color: #2f302c;
    color: white;
}

/* --------------------
   Thank You Page
-------------------- */

.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    background-color: #f7f5f0;
    text-align: center;
}

.thank-you-content {
    max-width: 650px;
}

.thank-you h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.thank-you p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* --------------------------
       Giving page
----------------------------- */

main .giving-intro,
main .yamas,
main .giving-practice,
main .giving-organizations,
main .giving-invitation {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.giving-content {
    max-width: 850px;
    margin: 0 auto;
}

.giving-content p {
    max-width: none;
}

.giving-organization h3 {
    text-align: center;
}

.giving-invitation .button {
    display: table;
    margin: 2rem auto 0;
}

/* Intro */

.giving-intro {
    padding-top: 4rem;
}

.giving-intro h1 {
    max-width: none;
    white-space: nowrap;
    margin-bottom: 2rem;
}



/* Yamas */

.yamas h2 {
    margin-bottom: 0;
}

/* Organizations */

.organization-logo {
    display: block;
    margin-bottom: 1.5rem;
}

.organization-logo img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto;
}

/* Desktop layouts */

.giving-organization {
    min-width: 0;
}

.giving-organization h3,
.giving-organization p,
.giving-organization a {
    overflow-wrap: anywhere;
}

.giving-organization > a:not(.organization-logo) {
    color: #2f302c;
    text-decoration-color: rgba(47, 48, 44, 0.4);
    text-underline-offset: 4px;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {

    .yamas .giving-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4rem;
        row-gap: 1.5rem;
    }

    .yamas h2 {
        grid-column: 1 / -1;
    }

    .giving-organizations .giving-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4rem;
        row-gap: 1.5rem;
    }

    .giving-organizations h2,
    .giving-organizations .giving-content > p {
        grid-column: 1 / -1;
    }
}

/* --------------------
   Tablet / smaller screens
-------------------- */

@media (max-width: 1000px) {

    .hero-content {
        width: 55%;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    #about {
        flex-direction: column;
    }

    .about-content,
    .about-image {
        width: 100%;
    }

    .about-image img {
        height: 400px;
    }

    #private-yoga {
    flex-direction: column;
}

.private-yoga-content,
.private-yoga-image {
    width: 100%;
}
    .about-content,
    .private-yoga-content {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps {
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
}



/* --------------------
   Mobile
-------------------- */

@media (max-width: 700px) {

    .hero h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 2rem;
    }

    header {
    padding: 1rem 6%;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-nav {
    display: block;
    width: auto;
}

.mobile-nav summary {
    list-style: none;
    cursor: pointer;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

    .nav-links {
        width: 100%;
        gap: 1rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
    flex-basis: 26%;
    text-align: center;
}

    section {
        padding: 5rem 6%;
    }

.hero {
    min-height: 600px;
    padding: 3rem 6%;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-content {
    width: 100%;
    margin: 0;
}

    .about-content,
    .about-image {
        width: 100%;
    }

    .about-image img {
    height: 250px;
}

    #about {
        flex-direction: column;
    }

    .private-yoga-image img {
    height: 250px;
}

    .private-yoga-content,
    .private-yoga-image {
        width: 100%;
    }

    #private-yoga {
        flex-direction: column;
    }

    #contact form {
    width: 100%;
}

#contact .form-group {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: left;
}

#contact .form-group label {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

#contact .form-group input,
#contact .form-group textarea {
    display: block;
    width: 100%;
}

#approach {
    flex-direction: column;
    gap: 3rem;
}

.approach-content,
.approach-image {
    width: 100%;
}

.approach-content {
    order: 1;
}

.approach-image {
    order: 2;
    min-height: 350px;
}

#approach .steps {
    width: 100%;
}

.values-image {
    width: 100%;
    min-height: 0;
    height: 220px;
}

.desktop-about-image {
    display: none;
}

.mobile-about-image {
    display: block;
    width: 100%;
    margin: 3rem 0;
}

.mobile-about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.values-image img {
    height: 220px;
}

.approach-image img {
    height: 350px;
}

.pricing-columns {
    flex-direction: column;
    gap: 2rem;
}

.pricing-main,
.pricing-details {
    width: 100%;
}

.desktop-nav {
    display: none;
}

.mobile-nav {
    display: block;
}

.mobile-nav-links {
    position: absolute;
    top: 100%;

    right: -6vw;
    width: 100vw;

    background: rgba(247, 245, 240, 0.92);
    padding: 1rem 6%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 100;
}

.mobile-nav-links a {
    color: #2f302c;
    text-decoration: none;
    font-size: 1rem;
    text-align: right;
}

.giving-intro h1 {
    font-size: 2.5rem;
    white-space: normal;
}
}

