/*
=======================================================
Find the Calm
Website: https://findthecalm.org
Stylesheet: style.css

Description:
Main stylesheet for the Find the Calm.org website.
Contains global styles, layout, typography, navigation,
responsive design, and page-specific styling.

Developer: Dr. Lenny Kelley
Created: September 2026
========================================================
*/

body {
    margin: 0;
    background-color: #f4f4f4;
}

/* ========================================
  Top Bar
======================================== */

.top-bar {
    background-color: #2f6f9f;
    color: white;
    width: 100%;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar .container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 8px 0;
}

.main-header {
    background-color: white;
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-name {
    font-size: 20px;
    font-weight: 600;
}

/* ========================================
   Main Nav
======================================== */

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #333333;
    text-decoration: none;
}

.main-nav a:hover {
    color: #168cc3;
}

/* ========================================
   Hero Section
======================================== */

.hero {
    position: relative;
    min-height: 490px;
    overflow: hidden;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 74, 88, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 210px;
    background: #ffb451;
    clip-path: polygon(0 85%, 100% 45%, 100% 100%, 0 100%);
    z-index: 3;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    width: 100%;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin: 0;
}

.hero-title {
    font-size: 24px;
    margin: 10px 0;
}

.hero-tagline {
    font-size: 20px;
    margin: 0;
}

.hero .container {
    position: relative;
    min-height: 490px;
}

.hero-image {
    position: absolute;
    left: 50%;
    top: 0;
    width: 300px;
    height: auto;
    display: block;
    transform: translateX(-50%);
}

/* ========================================
   Intro Section
======================================== */

.intro {
    position: relative;
    background: #2f6f9f;
    min-height: 490px;
    overflow: hidden;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffb451;
    z-index: 1;
    pointer-events: none;
}

.intro::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 210px;
    background: #ffffff;
    clip-path: polygon(0 85%, 100% 45%, 100% 100%, 0 100%);
    z-index: 3;
    pointer-events: none;
}

.intro .container {
    position: relative;
    z-index: 2;
    min-height: 490px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro p {
    margin: 0;
    text-align: center;
    max-width: 850px;
    color: white;
    transform: translateY(-75px);
    font-size: 38px;
    line-height: 1.8;
    font-family: "Caveat", cursive;
    font-weight: 600;
}

/* ========================================
   About
======================================== */

.about {
    background: #ffffff;
    padding: 80px 0;
}

.about .container {
    display: flex;
    gap: 80px;
}

.my-story, 
.values-beliefs {
    flex:1;
}
    
.about h2 {
    color: #000000;
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    background: #ffb451;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.value-content p {
    margin: 0;
}

.my-story p {
    color: #000000;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.contact-button {
    display: inline-block;
    background: #168eea;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 3px;
    font-size: 16px;
}

.contact-button:hover {
    background: #2f6f9f;
}

/* ========================================
   Approach Section
======================================== */

.approach {
    background: #f4f4f4;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    padding: 140px 0;
}

.approach .container {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.approach-content {
    flex: 1;
    padding: 40px;
}

.approach-image {
    width: 300px;
    height: auto;
    display: block;
}

.approach-content h2 {
    color: #333333;
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 20px;
}

.approach-content p {
    color: #666666;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.schedule-button {
    display: block;
    width: fit-content;
    margin: 25px auto 0;
    background: #ffb451;
    color:white;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    float: left;
}

.schedule-button:hover {
    background: #168eea;
}

/* ========================================
   Reading Section
======================================== */

.reading {
    position: relative;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    min-height: 800px;
    padding: 140px 0;
    overflow: hidden;
}

.reading::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/life-coach-33-1536x1051.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.reading .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.reading h2 {
    flex: 0 0 260px;
    margin: 0;
    color: #000000;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
}

.reading-books {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.book-preview {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ========================================
   Movie
======================================== */

.movie {
   background: #f4f4f4;
    padding: 140px 0;
}

.movie .container {
    display: flex;
    justify-content: center;
}

.movie-wrapper {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.movie-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

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

.site-footer {
    background: #2f6f9f;
    color: white;
    padding-top: 50px;
}

.site-footer > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}

.footer-name {
    font-size: 20px;
    font-weight: 600;
}

.footer-contact {
    display: flex;
    gap: 30px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffb451;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 14px;
}



