/* ========== VERDANT THEME - GLOBAL STYLES ========== */
/* Palette:
   Deep Forest Green (Headings, Footer): #2d572c
   Earthy Sage (Buttons, Links): #6a994e
   Warm Cream (Primary BG): #fdfdf6
   Light Moss (Alternate BG): #eaf2e3
   Soft Dark Gray (Body Text): #444444
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #444444; /* Softer dark gray for text */
    background-color: #fdfdf6; /* Warm cream background */
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #2d572c; /* Deep forest green */
}

/* ========== NAVIGATION ========== */
#navbar {
    background-color: rgba(253, 253, 246, 0.9); /* Semi-transparent cream */
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.5rem;
    color: #2d572c; /* Deep forest green */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 400;
    color: #555;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6a994e; /* Earthy sage green */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2d572c; /* Deep forest green */
    margin: 3px 0;
    transition: 0.3s;
}

/* ========== HOME SECTION ========== */
.home-section {
    background-color: #eaf2e3; /* Light moss green */
    color: #333;
}

.home-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.headshot {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.home-text {
    text-align: left;
    max-width: 500px;
}

.home-text h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #2d572c; /* Deep forest green */
}

.home-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ========== PORTFOLIO SECTIONS ========== */
.cartoons-section {
    background-color: #fdfdf6; /* Warm cream */
}

.art-section {
    background-color: #eaf2e3; /* Light moss green */
}

.portfolio-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* ========== GALLERY ========== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.gallery-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background-color: #f5f5f5;
    display: block;
}

.gallery-caption {
    padding: 20px;
    flex-grow: 1;
}

.gallery-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d572c; /* Deep forest green */
}

.gallery-caption p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.gallery-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f0f5ec 0%, #d8e2dc 100%);
}

.gallery-item.featured .gallery-img {
    max-height: 500px;
}

.gallery-item.featured .gallery-caption {
    padding: 30px;
}

.gallery-item.featured h3 {
    font-size: 1.6rem;
    color: #2d572c;
}

.awards {
    margin-top: 15px;
    padding: 15px;
    background-color: #d8e2dc; /* Light sage */
    border-left: 4px solid #8a9b8d; /* Muted sage border */
    font-size: 0.9rem;
    line-height: 1.6;
}

.awards strong {
    color: #2d572c; /* Deep forest green */
}

/* ========== MUSIC SECTION ========== */
.music-section {
    background-color: #fdfdf6; /* Warm cream */
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.music-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.music-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2d572c; /* Deep forest green */
}

.music-detail {
    font-size: 0.95rem;
    color: #777;
    margin-top: -10px;
    margin-bottom: 10px;
    font-style: italic;
}

.audio-player {
    width: 100%;
    margin-top: 10px;
    outline: none;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    margin-top: 1rem;
    border-radius: 8px;
}
.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background-color: #eaf2e3; /* Light moss green */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444444;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #6a994e; /* Earthy sage green */
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #567d3e; /* Darker sage */
}

/* ========== FOOTER ========== */
footer {
    background-color: #2d572c; /* Deep forest green */
    color: #fdfdf6; /* Warm cream text */
    text-align: center;
    padding: 20px 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        max-height: 400px;
        padding: 20px 0;
    }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .home-content {
        flex-direction: column;
        gap: 30px;
    }

    .headshot {
        max-width: 220px;
    }

    .home-text {
        text-align: center;
    }

    .home-text h2 {
        font-size: 2.2rem;
    }

    .home-text p {
        font-size: 1rem;
    }

    .gallery-item.featured {
        grid-column: span 1;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}