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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #34495e;
}

main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero {
    text-align: center;
    padding: 1rem;
}

.hero-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.intro p {
    margin-bottom: 1rem;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

article {
    margin-bottom: 2rem;
}

article p {
    margin-bottom: 1rem;
}

.resource-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.column ul {
    list-style: none;
    padding-left: 0;
}

.column li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.column li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
}

.column a {
    color: #2980b9;
    text-decoration: none;
}

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

.dedication {
    text-align: center;
    font-style: italic;
    color: #555;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.dedication a {
    color: #2980b9;
    text-decoration: none;
}

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

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

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

.photo-gallery img:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.tips-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.closing-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #ecf0f1;
    border-left: 4px solid #3498db;
    font-style: italic;
    font-size: 1.1rem;
}

.resource-links {
    list-style: none;
    padding-left: 0;
}

.resource-links li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.resource-links li:before {
    content: "🔗";
    position: absolute;
    left: 0;
}

.resource-links a {
    color: #2980b9;
    text-decoration: none;
}

.resource-links a:hover {
    text-decoration: underline;
}

.page-content a {
    color: #2980b9;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav {
        gap: 1rem;
    }
    
    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .photo-gallery img {
        height: 200px;
    }
}
