/* 
==============================================
Harmony Life Coaching Website Styles
==============================================
*/

/* 
==============================================
Table of Contents:
1. CSS Reset & Base Styles
2. Typography
3. Color Variables
4. Layout & Container
5. Buttons & Links
6. Header & Navigation
7. Hero Section
8. About Section
9. Services Section
10. Booking Process
11. Testimonials
12. Blog Section
13. Social Media Section
14. Contact Section
15. Newsletter Section
16. Footer
17. Animations
18. Media Queries
==============================================
*/

/* 
==============================================
1. CSS Reset & Base Styles
==============================================
*/

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    padding: 10rem 0;
}

/* 
==============================================
2. Typography
==============================================
*/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #2c3e50;
}

h1 {
    font-size: 4.8rem;
    font-weight: 700;
}

h2 {
    font-size: 3.6rem;
    font-weight: 600;
}

h3 {
    font-size: 2.4rem;
    font-weight: 500;
}

h4 {
    font-size: 2rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.3rem;
    background: linear-gradient(to right, #6a11cb, #2575fc);
}

.section-header p {
    font-size: 1.8rem;
    color: #777;
    max-width: 60rem;
    margin: 0 auto;
}

/* 
==============================================
3. Color Variables
==============================================
*/

:root {
    --primary-color: #6a11cb;
    --primary-light: #8e44ad;
    --primary-dark: #4a148c;
    --secondary-color: #2575fc;
    --secondary-light: #3498db;
    --secondary-dark: #1a5fb4;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #777;
    --white: #fff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

/* 
==============================================
4. Layout & Container
==============================================
*/

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

/* 
==============================================
5. Buttons & Links
==============================================
*/

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.6rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 
==============================================
6. Header & Navigation
==============================================
*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2.8rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 3rem;
    height: 0.3rem;
    background-color: var(--primary-dark);
    margin: 0.6rem 0;
    transition: all 0.3s ease;
}

/* 
==============================================
7. Hero Section
==============================================
*/

.hero {
    height: 100vh;
    min-height: 70rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 4rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* 
==============================================
8. About Section
==============================================
*/

.about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    z-index: -1;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential i {
    font-size: 2.4rem;
    color: var(--primary-color);
}

.credential p {
    margin-bottom: 0;
    font-weight: 500;
}

/* 
==============================================
9. Services Section
==============================================
*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 4rem 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
}

.service-icon i {
    font-size: 3.6rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.service-card p {
    margin-bottom: 2.5rem;
    color: var(--text-medium);
}

.service-card ul {
    margin-bottom: 3rem;
    text-align: left;
    padding-left: 2rem;
}

.service-card ul li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.service-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 
==============================================
10. Booking Process
==============================================
*/

.booking-process {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.booking-process .section-header h2,
.booking-process .section-header p {
    color: var(--white);
}

.booking-process .section-header h2::after {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.step {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4rem;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.step h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-container {
    text-align: center;
    margin-top: 4rem;
}

/* 
==============================================
11. Testimonials
==============================================
*/

.testimonials {
    background-color: var(--light-bg);
}

.testimonial-slider {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.testimonial-content {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.testimonial-content::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 8rem;
    color: var(--primary-light);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-medium);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1.4rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.prev-btn,
.next-btn {
    background-color: var(--white);
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.5);
}

/* 
==============================================
12. Blog Section
==============================================
*/

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 25rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 3rem;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* 
==============================================
13. Social Media Section
==============================================
*/

.social-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-post {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.social-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(106, 17, 203, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.social-post:hover img {
    transform: scale(1.1);
}

.social-post:hover .social-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-links a i {
    font-size: 2rem;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 
==============================================
14. Contact Section
==============================================
*/

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.contact-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.contact-form {
    background-color: var(--white);
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
}

/* 
==============================================
15. Newsletter Section
==============================================
*/

.newsletter {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.newsletter p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.newsletter .form-group {
    display: flex;
    max-width: 60rem;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 5rem 0 0 5rem;
    font-size: 1.6rem;
}

.newsletter button {
    border-radius: 0 5rem 5rem 0;
    padding: 0 3rem;
    background-color: var(--accent-color);
    border: none;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background-color: #e67e22;
}

/* 
==============================================
16. Footer
==============================================
*/

footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 8rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-logo p {
    color: #aaa;
    max-width: 30rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 5rem;
    height: 0.2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-column ul li {
    margin-bottom: 1.2rem;
}

.footer-column ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 3rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #333;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-bottom p {
    color: #777;
    font-size: 1.4rem;
}

/* 
==============================================
17. Animations
==============================================
*/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* 
==============================================
18. Media Queries
==============================================
*/

/* Tablet */
@media screen and (max-width: 992px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 8rem 0;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo p {
        margin: 0 auto;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        text-align: center;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }

    section {
        padding: 6rem 0;
    }

    .hero {
        min-height: 60rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 8rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 1.5rem 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 3rem 2rem;
    }

    .newsletter .form-group {
        flex-direction: column;
    }

    .newsletter input {
        border-radius: 5rem;
        margin-bottom: 1.5rem;
    }

    .newsletter button {
        border-radius: 5rem;
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 3.6rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .testimonial {
        padding: 3rem 2rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}
