/* Materials Page Specific Styles */
.materials-hero {
    background-image: url('uploads/sitespecific/materials.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 120px 20px 80px;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Materials Overview */
.materials-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.materials-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #971d35;
    margin-bottom: 60px;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #971d35;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.features-list li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: "✓";
    color: #971d35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Material Specifications */
.material-specs {
    padding: 80px 0;
    background: white;
}

.material-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #971d35;
    margin-bottom: 50px;
    font-weight: 600;
}

.specs-table-container {
    overflow-x: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.specs-table th {
    background: #971d35;
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
    vertical-align: top;
}

.specs-table tr:hover {
    background: #f8f9fa;
}

.specs-table strong {
    color: #971d35;
}

/* Material Properties */
.material-properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.material-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #971d35;
    margin-bottom: 60px;
    font-weight: 600;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.property-card h3 {
    color: #971d35;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.property-card p {
    color: #666;
    line-height: 1.6;
}

/* Care Instructions */
.care-instructions {
    padding: 80px 0;
    background: white;
}

.care-instructions h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #971d35;
    margin-bottom: 60px;
    font-weight: 600;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.care-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 5px solid #971d35;
}

.care-card h3 {
    color: #971d35;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.care-card ul {
    list-style: none;
    padding: 0;
}

.care-card li {
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.care-card li::before {
    content: "•";
    color: #971d35;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        white-space: normal;
    }

    .category-grid,
    .properties-grid,
    .care-grid {
        grid-template-columns: 1fr;
    }

    .specs-table th,
    .specs-table td {
        padding: 15px 10px;
        font-size: 14px;
    }

    .materials-overview,
    .material-specs,
    .material-properties,
    .care-instructions {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        white-space: normal;
        line-height: 1.2;
    }

    .category-card,
    .property-card,
    .care-card {
        padding: 25px 20px;
    }
}
