/* Drying Times Styles 
    A rustic, clean design for green woodworking
*/

:root {
    --wood-dark: #2c241e;
    --wood-accent: #8b5a2b;
    --bg-light: #fdfaf7;
    --text-main: #333;
    --border-color: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: var(--wood-dark);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-family: Georgia, serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.9;
}

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

section {
    margin-bottom: 4rem;
}

h2 {
    border-bottom: 2px solid var(--wood-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

h2 a {
    color: var(--wood-dark);
    text-decoration: none;
}

h2 a:hover {
    color: var(--wood-accent);
}

/* Video Section */
.video-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto 3rem auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

video {
    width: 100%;
    display: block;
}

/* Process List */
.process-list {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    list-style-type: square;
}

.process-list li {
    margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Narrative & Article Page Styles */
.article-content {
    max-width: 800px;
}

.article-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.feature-story {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 6px solid var(--wood-accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-read-more {
    display: inline-block;
    color: var(--wood-accent);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid var(--wood-accent);
    padding-bottom: 2px;
}

.btn-read-more:hover {
    color: var(--wood-dark);
    border-color: var(--wood-dark);
}

/* Fixed Image Placeholder Display */
.image-placeholder {
    background: ;
    border: none;
    min-height: 200px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wood-dark);
    margin: 2.5rem 0;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-placeholder img {
    width: auto;
    height: auto;
    max-height: 600px;
    object-fit: cover; /* Use cover for a cinematic look, change to contain if you want to see full borders */
    display: block;
}

.product-highlight {
    background: white;
    padding: 1rem 2rem;
    border-left: 5px solid var(--wood-accent);
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #5d4037;
}

blockquote {
    margin: 0;
}

/* Buttons & Navigation */
.nav-btn-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: white;
    border: 1px solid var(--wood-accent);
    color: var(--wood-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn-link:hover {
    background: var(--wood-accent);
    color: white;
}

/* Action & Contact Boxes */
.action-box, .contact-card {
    background: #f0ebe4;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.btn-etsy {
    display: inline-block;
    background: #f45800;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.5rem;
}

.btn-etsy:hover {
    background: #d34c00;
}

address {
    font-style: normal;
}

address a {
    color: var(--wood-accent);
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--wood-dark);
    color: #999;
    font-size: 0.9rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive Scaling */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }

    .article-content p {
        text-align: left;
    }

    .image-placeholder {
        min-height: 150px;
        max-height: 400px;
    }
}