@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* Variables */
:root {
    --primary-color: #E0F2F7; /* Soft Sky Blue */
    --secondary-color: #A8DADC; /* Muted Teal */
    --accent-color: #457B9D; /* Deep Cerulean */
    --neutral-light: #F8F9FA; /* Off-White */
    --neutral-dark: #6C757D; /* Slate Gray */
    --success-color: #28A745; /* Veridian Green */
    --warning-color: #FFC107; /* Amber */
    --text-color-dark: var(--neutral-dark);
    --text-color-light: var(--primary-color);
    --font-family-headings: 'Inter', sans-serif;
    --font-family-body: 'Inter', sans-serif;
    --font-weight-headings: 600;
    --font-weight-body: 400;
    --font-weight-light: 300;
    --border-radius: 8px;
    --spacing-unit: 1rem;
}

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

body {
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-body);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--neutral-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    width: 100%;
}

h1, h2, h3 {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-headings);
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    line-height: 1.2;
}

h1 {
    font-size: 3rem; /* size_large */
}

h2 {
    font-size: 2rem; /* size_medium */
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2);
}

h3 {
    font-size: 1.5rem; /* size_small */
}

p {
    margin-bottom: var(--spacing-unit);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-headings);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    border-color: var(--accent-color);
}

/* Header */
.site-header {
    background-color: var(--neutral-light);
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: var(--font-weight-headings);
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: calc(var(--spacing-unit) * 2);
}

.main-nav ul li a {
    font-weight: var(--font-weight-headings);
    color: var(--text-color-dark);
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

.main-nav ul li:last-child a {
    margin-left: var(--spacing-unit);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    padding: calc(var(--spacing-unit) * 5) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem; /* Larger than h1 for impact */
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto var(--spacing-unit);
}

.hero .btn-secondary {
    margin-top: var(--spacing-unit);
}

/* Goals Section */
.goals-section {
    padding: calc(var(--spacing-unit) * 4) 0;
    background-color: white;
}

.goals-section .section-title {
    color: var(--accent-color);
}

.goals-section .section-subtitle {
    text-align: center;
    color: var(--neutral-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-unit) * 3;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.goal-card {
    background-color: var(--neutral-light);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.goal-card .icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-unit);
    color: var(--accent-color);
}

.goal-card h3 {
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.goal-card p {
    color: var(--neutral-dark);
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    padding: var(--spacing-unit) 0;
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: var(--spacing-unit);
}

.footer-nav ul li a {
    color: var(--text-color-light);
    opacity: 0.8;
}

.footer-nav ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: var(--spacing-unit);
    }
    .hero-content {
        flex: 1;
    }
    .hero-image {
        flex: 1;
        /* Placeholder styling */
        background-color: lightgray; 
        height: 300px; 
        border-radius: var(--border-radius);
    }
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
        margin-left: 0;
        text-align: left;
    }
    .hero .btn-secondary {
        margin-left: 0;
    }
    .site-footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-nav ul {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .site-header .container {
        flex-direction: column;
        gap: var(--spacing-unit);
    }
    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-unit) * 0.5;
        margin-top: var(--spacing-unit);
    }
    .main-nav ul li {
        margin-left: 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .goals-grid {
        grid-template-columns: 1fr;
    }
}
