/* 
  Julie Dewing Coaching - Premium Stylesheet
  Focus: Modern typography, soft color palette, glassmorphism, micro-animations
*/

:root {
    /* Color Palette - Soft, elegant purple theme */
    --color-primary-dark: #3B2A45;
    /* Deep muted plum */
    --color-primary: #8675A9;
    /* Muted Amethyst/Lavender */
    --color-secondary: #C3B4D6;
    /* Soft Lilac */
    --color-accent: #E8D3C3;
    /* Warm Sand for contrast */
    --color-bg-light: #FBF9FF;
    /* Very pale lavender tint */
    --color-bg-white: #FFFFFF;
    /* Pure White */
    --color-text-dark: #332A3B;
    /* Soft purple-black */
    --color-text-light: #6C6C6C;
    /* Medium Gray */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(59, 42, 69, 0.05);
    --shadow-hover: 0 15px 50px rgba(59, 42, 69, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(134, 117, 169, 0.15);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-secondary {
    background-color: var(--color-bg-white);
}

/* Typography Utilities */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.accent-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(134, 155, 137, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 53, 0.4);
}

.btn-large {
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-glass);
}

.glass-border {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links li a {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-text-dark);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary-dark);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;

    /* In case the generated image needs a subtle overlay */
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 100%);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    line-height: 1.1;
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* Split Sections (I See You / As One Myself) */
.split-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.split-image {
    flex: 1;
}

.split-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4/5;
}

/* Banner Section */
.banner-section {
    background-color: var(--color-primary);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.banner-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    color: white;
    line-height: 1.4;
}

/* Testimonials Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Make some testimonials span multiple columns nicely. Masonry approximation */
.testimonials-grid>div:nth-child(1) {
    grid-column: span 2;
}

@media (max-width: 800px) {
    .testimonials-grid>div:nth-child(1) {
        grid-column: span 1;
    }
}

.testimonial-card {
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-secondary);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.testimonial-card .author {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-bg-white);
    text-align: center;
    padding: 8rem 0;
}

.cta-container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.cta-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(134, 155, 137, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(134, 155, 137, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(134, 155, 137, 0.4);
    }
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand .logo-name {
    color: white;
}

.footer-brand .logo-sub {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    transform: translateX(30px);
}

.fade-left {
    transform: translateX(-30px);
}

.fade-right.active,
.fade-left.active {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 992px) {

    .split-container,
    .split-container.reverse {
        flex-direction: column;
        gap: 4rem;
    }

    .split-image {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 2rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}