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

body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Hero */
.hero {
    background: url('/assets/img/header.png') center/cover no-repeat;
    height: 28vh;          /* adjust to taste */
    min-height: 220px;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.45); /* keeps text readable */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin: 0;
}

/* Navigation */
.topnav {
    background: #2f4f4f;
    text-align: center;
    padding: 12px;
}

.topnav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
}

.topnav a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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