/*
   Author: Simon Digafe
   Date: 17/06/2026
   File Name: styles.css
*/


/* CSS Reset and Font Integration */
body {
    font-family: 'Lora', Georgia, serif;
    background-color: #f4f7f4;
    color: #222;
    margin: 0;
    padding: 0;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Header & Typography Styling */
header {
    background-color: #1b4332;
    color: #fff;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-family: 'Emblema One', cursive;
    margin: 0;
    font-size: 2.5rem;
}

header h3 {
    margin: 5px 0 0 0;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Navigation Menu */
nav {
    background-color: #2d6a4f;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    padding: 15px 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #d8f3dc;
}

/* Main Content Rules */
main {
    padding: 40px;
    line-height: 1.8;
}

main h2 {
    color: #1b4332;
    border-bottom: 2px solid #52b788;
    padding-bottom: 8px;
}

/* Universal Image Configuration */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.round {
    border-radius: 12px;
}

/* Gallery Figure Grid Setup */
main.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

figure {
    margin: 0;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
}

figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
    font-style: italic;
}

/* Responsive Hidden View Elements */
.tab-desk img {
    max-height: 220px;
    margin: 0 auto;
    border-radius: 8px;
}

/* Footer Section */
footer {
    background-color: #1b4332;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

footer a {
    color: #b7e4c7;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Media Queries (Viewports under 768px) */
@media (max-width: 768px) {
    main {
        padding: 20px;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    .tab-desk {
        display: none;
    }
}