/* 
 * Ember & Root Counseling - Styles
 * Palette: Plum (#5D2E46), Amber (#F4A259), Cream (#F9F7F2), Dark (#1A1A1A)
 */

:root {
    --color-plum: #5D2E46;
    --color-plum-dark: #3D1F30;
    --color-amber: #F4A259;
    --color-amber-light: #FFD199;
    --color-cream: #F9F7F2;
    --color-white: #FFFFFF;
    --color-dark: #1A1A1A;
    --color-gray: #666666;
    --color-light-gray: #E5E5E5;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-amber);
    color: var(--color-plum-dark);
}

.btn-primary:hover {
    background-color: var(--color-amber-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-plum);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* Eyebrow */
.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-amber);
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--color-plum) 0%, var(--color-plum) 100%), linear-gradient(90deg, var(--color-amber) 0%, var(--color-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-plum);
    margin-bottom: 24px;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 32px;
    max-width: 600px;
}

.section {
    padding: 100px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 46, 70, 0.1);
    padding: 20px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-plum);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background-color: var(--color-amber);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-plum);
}

.nav-links a:hover {
    color: var(--color-amber);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-plum);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:first-child { top: 0; }
.mobile-menu-btn span:last-child { bottom: 0; }

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-bottom: 2px solid var(--color-amber);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.25rem;
    color: var(--color-plum);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--color-cream) 0%, #fff5e6 100%);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-plum);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--color-amber);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background-color: rgba(244, 162, 89, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--color-plum);
    font-weight: 500;
}

.hero-trust .dot {
    color: var(--color-amber);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.visual-block {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.visual-block--main {
    width: 85%;
    height: 80%;
    top: 10%;
    left: 0;
}

.visual-block--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-block--accent {
    width: 55%;
    height: 45%;
    bottom: 0;
    right: 0;
    border: 8px solid var(--color-cream);
}

.visual-block--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    bottom: 40px;
    left: -30px;
}

.floating-card {
    background-color: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.fc-icon {
    font-size: 2rem;
}

.fc-text {
    display: flex;
    flex-direction: column;
}

.fc-text strong {
    color: var(--color-plum);
    font-family: var(--font-heading);
}

.fc-text span {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    z-index: 1;
}

.shape-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-light) 100%);
    border-radius: 50%;
    top: -40px;
    right: 40px;
    opacity: 0.6;
}

.shape-square {
    width: 80px;
    height: 80px;
    background-color: var(--color-plum);
    bottom: 60px;
    left: 20%;
    transform: rotate(45deg);
    opacity: 0.1;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--color-white);
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    color: var(--color-plum);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-amber);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.check-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 6px;
    height: 10px;
    border: 2px solid var(--color-plum-dark);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.philosophy-visual {
    position: relative;
    height: 400px;
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 100%;
}

.abstract-shape .circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-dark) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.abstract-shape .rect {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--color-amber);
    bottom: 20px;
    right: 20px;
    transform: rotate(15deg);
}

/* Services Section */
.services {
    background-color: var(--color-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--color-white);
    padding: 48px 40px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-amber);
}

.service-card.highlight-card {
    background-color: var(--color-plum);
    color: var(--color-white);
}

.service-card.highlight-card h3,
.service-card.highlight-card p {
    color: var(--color-white);
}

.service-card.highlight-card .service-icon {
    background-color: var(--color-amber);
    color: var(--color-plum-dark);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(244, 162, 89, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-plum);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-plum);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* Process Section */
.process {
    background-color: var(--color-plum);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(244, 162, 89, 0.1);
    border-radius: 50%;
}

.process .section-title {
    color: var(--color-white);
}

.process .eyebrow {
    color: var(--color-amber);
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-amber);
    line-height: 1;
    margin-bottom: 24px;
}

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

.step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--color-plum);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.info-item p, .info-item a {
    color: var(--color-gray);
    margin: 0;
}

.info-item a:hover {
    color: var(--color-amber);
}

.contact-form-wrapper {
    background-color: var(--color-cream);
    padding: 48px;
    border-radius: var(--radius-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-plum);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-amber);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 16px;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-amber);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    max-width: 400px;
    text-align: right;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .disclaimer {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .visual-block--main {
        width: 100%;
        height: 70%;
    }
    
    .visual-block--accent {
        display: none;
    }
}
