/* ===== SOFTWOOD PAGE STYLES ===== */

/* Softwood Hero Section */
.softwood-hero {
    background: linear-gradient(135deg, rgba(87, 56, 1, 0.8) 0%, rgba(197, 133, 58, 0.8) 100%), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2071&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0 4rem;
    color: var(--white);
    text-align: center;
    position: relative;
}

.softwood-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.softwood-hero .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    color: var(--secondary-color);
}

.hero-breadcrumb span {
    opacity: 0.7;
}

/* Softwood Products Section */
.softwood-products {
    padding: 5rem 0;
    background-color: var(--white);
}

.product-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.category-header {
    margin-bottom: 2rem;
    text-align: center;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-style: italic;
}

/* Dimensions Grid */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dimension-item {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.dimension-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.dimension {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

/* Specifications */
.specifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.spec-group {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.spec-group h3,
.spec-group h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.spec-group p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.spec-tag:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.length-spec {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.length-spec p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Sub Categories */
.sub-category {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--secondary-color);
}

.sub-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.softwood-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .softwood-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .softwood-hero .hero-content p {
        font-size: 1rem;
    }
    
    .category-header h2 {
        font-size: 1.5rem;
    }
    
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .specifications {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .softwood-hero {
        padding: 6rem 0 3rem;
    }
    
    .softwood-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-category {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .category-header h2 {
        font-size: 1.25rem;
    }
    
    .dimension-item {
        padding: 0.75rem;
    }
    
    .dimension {
        font-size: 0.875rem;
    }
    
    .spec-group {
        padding: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .cta-buttons,
    .softwood-cta {
        display: none;
    }
    
    .softwood-hero {
        padding: 2rem 0;
        background: none;
        color: #000;
    }
    
    .product-category {
        break-inside: avoid;
        margin-bottom: 2rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .dimension-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
