/* ==========================================
   Author Portfolio CSS - Monochromatic & Gold Palette
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    /* Color: Mineral Anthracite (#2F3437) - primary background */
    background-color: #2F3437;
    /* Color: Antique Parchment (#ADB3B6) - body text */
    color: #ADB3B6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0.015em;
}

/* Layout Containers */
section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    /* Color: Etruscan Gold (#C5A059) - accents and borders */
    border-bottom: 1px solid #C5A059;
}

/* Hero Section */
.hero {
    height: 70vh;
    /* Color: Obsidian (#0D0E0F) - pure heavy density (used for dark overlay) */
    background-image: linear-gradient(rgba(13, 14, 15, 0.6), rgba(13, 14, 15, 0.6)), url('nature-hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Color: Silver-Gelatin (#D8DADB) - headings */
    color: #D8DADB;
    border-bottom: 1px solid #C5A059;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ==========================================
   Main Content Format (Format 1)
   Photo on left; right side has a centered 
   heading with left-justified paragraph text.
   ========================================== */
.content-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.image-side img {
    filter: grayscale(100%);
    width: 100%;
    height: auto;
    border: 2px solid #C5A059;
    border-radius: 2px;
}

.text-side {
    text-align: left;
}

.text-side h2 {
    /* Color: Silver-Gelatin (#D8DADB) - headings */
    color: #D8DADB;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center; /* Centers heading over the text */
}

.text-side p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    /* Color: Antique Parchment (#ADB3B6) - body text */
    color: #ADB3B6;
    text-align: left; /* Left justifies the paragraph text */
}

.subtext {
    font-style: italic;
    color: #C5A059;
    margin-bottom: 15px;
}

/* ==========================================
   Footer Format (Format 2)
   Left: Paragraph text justified left.
   Right: Icons/links in a row, right justified.
   ========================================== */
footer {
    /* Color: Obsidian (#0D0E0F) - pure heavy density */
    background-color: #0D0E0F;
    padding: 40px 20px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact {
    text-align: left;
}

.footer-contact a {
    /* Color: Silver-Gelatin (#D8DADB) - link text */
    color: #D8DADB;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #C5A059;
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-socials a {
    color: #D8DADB;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: #C5A059;
    text-decoration: underline;
}

/* ==========================================
   Media Queries for Device Responsiveness
   ========================================== */
@media screen and (max-width: 900px) {
    section {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 600px) {
    /* Stack side-by-side elements vertically on small screens */
    .content-row {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .text-side h2 {
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact, .footer-socials {
        justify-content: center;
        text-align: center;
    }

    .hero {
        height: 60vh;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 40px 15px;
    }
}

/* ==========================================
   Finishing Touches & Utilities
   ========================================== */
a:focus, button:focus {
    outline: 2px solid #C5A059;
    outline-offset: 3px;
}

::selection {
    background-color: #C5A059;
    color: #0D0E0F;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.agent-note {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 5px;
    margin-bottom: 0;
}

.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0.8); /* Gives it a clean, slightly muted look */
    transition: filter 0.2s ease, transform 0.2s ease;
}

.footer-socials {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.bluesky-icon {
    width: 60px; /* Bump this number up or down until it matches visually */
    height: 60px;
}