/* --- 1. Base Styles and Reset --- */
:root {
    --primary-color: #3f51b5; /* A pleasant blue for accents */
    --secondary-color: #ff9800; /* A warm orange for contrast */
    --background-light: #f4f7f6; /* Light gray-green background */
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* --- 2. Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.75em; }

p {
    margin-bottom: 1em;
}

/* --- 3. Header and Navigation --- */
header {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

/* --- 4. Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('family_hero_background.jpg') no-repeat center center/cover; /* REPLACE with an actual family photo path! */
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    color: var(--text-light);
    font-size: 3em;
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    background-color: #ffb74d; /* Lighter secondary color */
    transform: translateY(-2px);
}

/* --- 5. Content Sections --- */
.content-section {
    padding: 60px 0;
    text-align: center;
}

.content-section:nth-child(even) {
    background-color: #e0e0e0; /* A slight variation for contrast */
}

/* --- 6. Gallery Grid --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-placeholder {
    background-color: #cccccc;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- 7. Footer --- */
footer {
    background-color: var(--text-dark);
    color: #b0bec5;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- 8. Contact Section --- */
.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* --- 9. Responsive Adjustments --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 10px;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2em;
    }
}
