/* --- style.css - Elegant & Classy Aesthetic --- */

/* 1. ELEGANT COLOR PALETTE */
:root {
    --primary-color: #1E3A8A; /* Deep, Classic Indigo */
    --secondary-color: #B8860B; /* Dark Goldenrod / Antique Brass */
    --bg-light: #F8F5EE; /* Sandstone / Linen Background */
    --bg-dark: #2C3E50; /* Deep Footer/Dark Sections */
    --text-color: #333;
    --light-text: #fff;
    --shadow-soft: 0 6px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --spacing-lg: 4rem;
    --spacing-md: 2rem;
}

/* 2. TYPOGRAPHY & BASE STYLES */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7; /* Increased line height for elegance */
    font-size: 1.1rem;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* 3. NAVIGATION (Clean & Subtle) */
header {
    background-color: var(--light-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Lighter shadow */
}

.container {
    width: 90%;
    max-width: 1280px; /* Slightly wider container */
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* More space between links */
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 4. SECTIONS AND COMPONENTS */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 5px solid transparent; /* Subtle border left */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--secondary-color); /* Elegant hover effect */
}

/* 5. BUTTONS (Refined Look) */
.btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 35px;
    border-radius: 30px; /* Pill shape for elegance */
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: none; /* Override card hover transformation */
}

/* 6. FOOTER */
footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: var(--spacing-md) 0;
}

/* Additional Styles for Multi-Page consistency */
.hero-small {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 6rem 0;
    text-align: center;
}
.hero-small h1 {
    color: var(--secondary-color);
    font-size: 3.5rem;
}