/* 
   Harbor of Healing - Modern Design System 
   Focus: Calming, Professional, Mobile-First
*/

:root {
    /* Color Palette */
    --primary-color: #0A2342;
    /* Deep Ocean Blue */
    --secondary-color: #2CA58D;
    /* Calming Teal */
    --accent-color: #F46036;
    /* Warm Muted Orange (Subtle Highlights) */
    --bg-light: #F4F1DE;
    /* Soft Sand */
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #F4F1DE;
    --gray-light: #f9f9f9;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Shadows */
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

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

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

.full-width {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-light);
    border: 2px solid var(--bg-light);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    color: var(--primary-color);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero.png');
    /* New nature image */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 66, 0.6);
    /* Overlay based on primary color */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--bg-light);
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

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

/* About Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 10px;
}

.center-text .section-title::after {
    margin: 10px auto 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Services & Support Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.outcome-box {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #E8F4F2;
    /* Very light teal */
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--secondary-color);
    transform: scale(1.02);
}

.pricing-card .price {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card .duration {
    font-weight: bold;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tag {
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Contact */
.contact-container {
    max-width: 800px;
    text-align: center;
}

.emergency-box {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #ffebe6;
    border-radius: 10px;
}

.emergency-box h4 {
    color: #c0392b;
}

.emergency-box ul {
    list-style: none;
    margin-top: 1rem;
}

.emergency-box li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

/* Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
        padding-bottom: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-wrapper {
        order: -1;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}