/* ==========================================================================
   Base Styles - Integrative Care Services
   ========================================================================== */

/* CSS Variables for Brand Colors */
:root {
    --ics-primary-blue: #6EB7D8;
    --ics-dark-gray: #212121;
    --ics-white: #ffffff;
    --ics-light-gray: #f8f9fa;
    --ics-text-dark: #333333;
}

/* Typography - System Font Stack */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--ics-text-dark);
}

/* Brand Typography */
.brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ics-primary-blue);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ics-primary-blue) !important;
}

/* Staff Login Button */
.navbar-nav .btn-outline-primary {
    border-color: var(--ics-primary-blue);
    color: var(--ics-primary-blue);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-top: 0.125rem;
}

.navbar-nav .btn-outline-primary:hover {
    background-color: var(--ics-primary-blue);
    border-color: var(--ics-primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds */
.section-blue {
    background-color: var(--ics-primary-blue);
    color: white;
}

.section-white {
    background-color: var(--ics-white);
}

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

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 42vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-logo {
    max-width: 240px;
    margin-bottom: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    flex-shrink: 0;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--ics-text-dark);
}

.section-blue .section-title {
    color: white;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Image Styles */
.section-image {
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 75%;
    width: 75%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

/* Form Styles */
.form-section {
    background-color: var(--ics-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-ics-primary {
    background-color: var(--ics-primary-blue);
    border-color: var(--ics-primary-blue);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-ics-primary:hover {
    background-color: #5BA5C8;
    border-color: #5BA5C8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonial {
    background-color: var(--ics-light-gray);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--ics-primary-blue);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--ics-primary-blue);
}

/* Footer Styles */
footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .hero-section {
        min-height: 30vh;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

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

    .hero-logo {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .hero-logo {
        max-width: 150px;
    }
}
