@import "common.css";

:root {
    --creek-blue: #2c5f7a;
    --creek-teal: #4a9b8e;
    --sand: #e8dcc4;
    --stone: #5a5550;
    --sage: #8fa88e;
    --cream: #faf8f3;
    --sunset: #d68568;
}

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

body {
    font-family: 'Karla', sans-serif;
    background: var(--cream);
    color: var(--stone);
    line-height: 1.7;
    overflow-x: hidden;
}

.nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--creek-blue);
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--stone);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--creek-teal);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--creek-teal);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--creek-blue);
    cursor: pointer;
}

.header {
    background: linear-gradient(135deg, var(--creek-blue) 0%, var(--creek-teal) 100%);
    padding: 4rem 2rem 8rem;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    animation: drift 60s linear infinite;
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(100px); }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    color: var(--sand);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-text {
    color: white;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
}

.wave path {
    fill: var(--cream);
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: -4rem auto 4rem;
    position: relative;
    z-index: 2;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(44, 95, 122, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardSlideUp 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(44, 95, 122, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--creek-teal), var(--sage));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--creek-blue);
    margin-bottom: 1rem;
}

.card p {
    color: var(--stone);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--creek-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--creek-teal);
    transform: translateX(4px);
}

.welcome-section {
    padding: 4rem 0;
    text-align: center;
}

.welcome-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--creek-blue);
    margin-bottom: 1.5rem;
}

.welcome-section p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

footer {
    background: var(--stone);
    color: var(--sand);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}
