/* Imported Google Fonts for prettier appearance of text. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap');



/* Main layout which applies to every page.*/
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    color: #1a1a1a;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



/* Header AKA 'Hero' Section. */
header
{
    background-image: url('images/hero1.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text
{
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

header h1
{
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

header p
{
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.cta-button {
    background-color: #4b736e;
    color: #fff;
    padding: 0.9rem 1.7rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}



/* Navigation. */
nav
{
    background-color: #2c3e50;
    padding: 1.2rem;
}

nav ul
{
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li
{
    margin: 0 18px;
}

nav ul li a
{
    color: #f7f0e9;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}



/* Main Section. */
main
{
    padding: 2.5rem;
    max-width: 1100px;
    margin: auto;
}

section
{
    margin-bottom: 2.5rem;
}

h2
{
    font-size: 2.2rem;
    color: #4b736e;
    margin-bottom: 1.2rem;
}

p
{
    font-size: 1.1rem;
    line-height: 1.6;
}



/* Gallery Section. */
.gallery
{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.gallery-item
{
    width: 280px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.gallery-item img
{
    width: 100%;
    height: auto;
    border-bottom: 2px solid #4b736e;
}

.gallery-caption
{
    padding: 1rem;
    color: #333;
    font-size: 1rem;
}



/* Footer. */
footer
{
    background-color: #2c3e50;
    color: #f7f0e9;
    padding: 1.8rem 1.2rem;
    text-align: center;
    margin-top: auto;
}

.footer-links
{
    margin-bottom: 1rem;
}

.footer-links a
{
    color: #f7f0e9;
    text-decoration: none;
    margin: 0 12px;
    font-size: 1rem;
}

footer p
{
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 0.7rem;
}



/* Responsive Adjustments. */
@media (max-width: 768px)
{
    header h1
    {
        font-size: 2.2rem;
    }

    nav ul
    {
        flex-direction: column;
    }

    .footer-links
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gallery
    {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item
    {
        width: 100%;
    }
}
