/*
  NextLevel Coaching - Demo Website CSS
  Author: Gemini Code Assist for WebLite
  Version: 1.1
  ---
  Table of Contents:
  1.  Variables & Global Styles
  2.  Utility Classes
  3.  Header & Navigation
  4.  Hero Section
  5.  Demo Banners
  6.  Services Section
  7.  About Section
  8.  Why Me Section
  9.  Testimonials Section
  10. Process Section
  11. Blog Section
  12. Contact Section
  13. Footer
  14. Accessibility
  15. Animations
*/

/* 1. Variables & Global Styles */
:root {
    --bg-light: #FAFAFA;
    --blue-deep: #1E40AF;
    --pink-accent: #E5AFA1;
    --sand-light: #F8F3ED;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --white: #FFFFFF;
    --gold-divider: #D4AF37; /* A subtle gold for dividers */

    --font-heading: 'Assistant', sans-serif;
    --font-body: 'Rubik', sans-serif;
    --font-button: 'Noto Sans Hebrew', sans-serif;

    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

a {
    color: var(--blue-deep);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--pink-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 2. Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--pink-accent);
    margin: 10px auto 0;
}

.bg-sand {
    background-color: var(--sand-light);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-button);
    font-weight: 300;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--blue-deep);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--pink-accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--blue-deep);
    border-color: var(--blue-deep);
}

.btn-secondary:hover {
    background-color: var(--blue-deep);
    color: var(--white);
}

.btn-accent {
    background-color: var(--pink-accent);
    color: var(--white);
    border-color: var(--pink-accent);
}

.btn-accent:hover {
    background-color: #d99f90;
    border-color: #d99f90;
    color: var(--white);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, var(--gold-divider), transparent);
    border: 0;
    width: 80%;
    margin: 0 auto;
    opacity: 0.5;
}

/* 3. Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

#main-header.scrolled {
    height: 70px;
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: none; /* Mobile first */
}

.header-cta {
    display: none; /* Mobile first */
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
}

/* 4. Hero Section */
.hero-section {
    background-image: url('../img/dana-kedem-hero.webp');
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 150px 0 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.2); /* Softer Blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hero-image {
    max-width: 350px;
}

.hero-buttons .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--blue-deep);
}
.diagonal-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
}

/* 5. Demo Banners */
.demo-banner {
    padding: 25px 0;
    text-align: center;
}
.demo-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.demo-banner p {
    margin: 0;
    font-size: 1rem;
}
.demo-banner .btn-small {
    padding: 6px 18px;
    font-size: 0.9rem;
    background-color: var(--blue-deep);
    color: var(--white);
}
.demo-banner-light { background-color: var(--sand-light); }
.demo-banner-dark {
    background-color: var(--blue-deep);
    color: var(--white);
}
.demo-banner-dark p, .demo-banner-dark a { color: var(--white); }
.demo-banner-dark a { text-decoration: underline; }

/* 6. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--pink-accent);
    margin-bottom: 20px;
}

/* 7. About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-image {
    max-width: 350px;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-medium);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: 15px;
    left: 15px;
    border: 2px solid var(--gold-divider);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.7;
}

.about-text .section-title { text-align: right; }
.about-text .section-title::after { margin: 10px 0 0; }

/* 8. Why Me Section */
.why-me-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.why-me-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.why-me-icon {
    font-size: 2.5rem;
    color: var(--blue-deep);
    margin-bottom: 15px;
}

.why-me-card p {
    color: var(--text-gray);
}

/* 9. Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--gold-divider);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--sand-light);
    z-index: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

/* NEW: Clarity Section */
.clarity-section {
    background-color: var(--blue-deep);
    color: var(--white);
}

.clarity-section .section-title,
.clarity-section h4 {
    color: var(--white);
}

.clarity-section .section-title::after {
    background-color: var(--pink-accent);
}

.clarity-content .text-center {
    text-align: center;
}

.clarity-content .section-subtitle {
    max-width: 700px;
    margin: -40px auto 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.clarity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.clarity-item {
    padding: 20px;
}

.clarity-icon {
    font-size: 3rem;
    color: var(--pink-accent);
    margin-bottom: 20px;
}

.clarity-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* 10. Process Section */
.process-wrapper {
    position: relative;
}

.process-line {
    display: none; /* Hidden on mobile */
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.process-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--pink-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.process-text p {
    color: var(--text-gray);
}

/* 11. Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-card-content {
    padding: 30px;
}

.blog-card-content p {
    color: var(--text-gray);
    margin: 10px 0 20px;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--blue-deep);
}

.read-more i {
    transition: transform 0.3s;
    display: inline-block;
}

.read-more:hover i {
    transform: translateX(-5px);
}

/* 12. Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--bg-light) 70%);
}
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-info ul {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--blue-deep);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-deep);
}

.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.form-group.invalid .error-message { display: block; }
.form-group.invalid input,
.form-group.invalid select { border-color: #d9534f; }

.success-message {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    border-radius: 5px;
}

/* 13. Footer */
.main-footer {
    background-color: #1E3A8A; /* Slightly different blue for footer */
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--pink-accent);
    border-color: var(--pink-accent);
    text-decoration: none;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.weblite-credit {
    margin-top: 5px;
    opacity: 0.7;
}

/* 14. Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--blue-deep);
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

/* 15. Media Queries (Desktop styles) */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    .demo-banner .container { flex-direction: row; justify-content: center; gap: 25px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-me-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }

    .contact-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
    .contact-info { flex: 1; }
    .contact-form { flex: 1.2; }
}

@media (min-width: 992px) {
    .mobile-menu-toggle, .mobile-menu { display: none; }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 35px;
    }

    .nav-menu a {
        font-family: var(--font-button);
        font-weight: 300;
        color: var(--text-gray);
        position: relative;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        right: 0;
        width: 0;
        height: 2px;
        background-color: var(--pink-accent);
        transition: width 0.3s;
    }

    .nav-menu a:hover::after, .nav-menu a.active::after {
        width: 100%;
    }

    .nav-menu a:hover, .nav-menu a.active {
        color: var(--text-dark);
    }

    .header-cta { display: inline-block; }

    .hero-content {
        justify-content: center;
        text-align: center;
    }
    .hero-text { margin-bottom: 0; }
    
    .hero-buttons { justify-content: center; }

    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }

    .about-content { flex-direction: row; gap: 80px; }
    .about-image { flex: 0.8; }
    .about-text { flex: 1.2; }

    .why-me-grid { grid-template-columns: repeat(4, 1fr); }

    .process-wrapper {
        padding: 0 50px;
    }
    .process-line {
        display: block;
        position: absolute;
        top: 30px;
        right: 50px;
        left: 50px;
        height: 2px;
        background-color: var(--sand-light);
        z-index: -1;
    }
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 25%;
        padding: 0 15px;
    }
    .process-wrapper {
        display: flex;
        justify-content: space-between;
    }
    .process-icon { margin-bottom: 20px; }

    .clarity-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content { grid-template-columns: 2fr 1fr 1fr; }
}
