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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
}

/* Header and Navigation */
header {
    background: #f5576c; /* Fallback for browsers that don't support gradients */
    background: -webkit-linear-gradient(135deg, #f093fb 0%, #f5576c 100%); /* Safari */
    background: -moz-linear-gradient(135deg, #f093fb 0%, #f5576c 100%); /* Firefox */
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); /* Standard */
    color: white;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

nav {
    margin-top: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 30px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: inline-block;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3); /* Fallback */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.2), rgba(0,0,0,0.4)); /* Safari */
    background: -moz-linear-gradient(top, rgba(0,0,0,0.2), rgba(0,0,0,0.4)); /* Firefox */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4)); /* Standard */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.content-section {
    background: white;
    padding: 40px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
    color: #f5576c;
}

h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #f093fb;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

strong {
    color: #f5576c;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.photo-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-caption {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-style: italic;
}

/* Links Page */
.links-section {
    margin-bottom: 40px;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 15px;
}

.links-list a {
    color: #f5576c;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 15px;
    border-left: 4px solid #f093fb;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.links-list a:hover {
    background-color: #fff5f8;
    padding-left: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.link-description {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    padding-left: 10px;
}

/* Footer */
footer {
    background: #764ba2; /* Fallback */
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Safari */
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Firefox */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Standard */
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .content-section {
        padding: 25px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    nav a {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .photo-gallery img {
        height: 150px;
    }
}
