/**
 * UniversTex Website - Fabrics Page Styles
 */

/* =========================================
   FABRICS HERO SECTION
    ========================================== */
.fabrics-hero {
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.fabrics-hero .hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.fabrics-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.fabrics-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.fabrics-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =========================================
   FABRIC SECTIONS (alternating backgrounds)
    ========================================== */
.fabrics-multi,
.fabrics-sector,
.fabrics-sector-alt {
    padding: 100px 0;
}

.fabrics-multi,
.fabrics-sector-alt {
    background-color: var(--bg-cream);
}

.fabrics-sector {
    background-color: var(--bg-sand);
}

.fabrics-multi h2,
.fabrics-sector h2,
.fabrics-sector-alt h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* =========================================
   FABRIC CARDS GRID
    ========================================== */
.fabric-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fabric-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fabric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.fabric-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.fabric-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.fabric-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* =========================================
   FABRIC FEATURES LIST
    ========================================== */
.fabric-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.fabric-features li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.fabric-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-terra);
    font-weight: bold;
}

/* =========================================
   TECHNOLOGIES TABLE
    ========================================== */
.fabrics-tech {
    padding: 100px 0;
    background-color: var(--bg-cream);
}

.fabrics-tech h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.tech-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tech-table thead {
    background: var(--text-dark);
    color: white;
}

.tech-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.tech-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
}

.tech-table tbody tr:last-child td {
    border-bottom: none;
}

.tech-table tbody tr:hover {
    background-color: #faf7f2;
}

/* =========================================
   CTA SECTION
    ========================================== */
.fabrics-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-terra) 100%);
    color: white;
    text-align: center;
}

.fabrics-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fabrics-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.fabrics-cta .btn-cta {
    background: white;
    color: var(--text-dark);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.fabrics-cta .btn-cta:hover {
    background: var(--bg-cream);
    color: var(--accent-terra);
}

/* =========================================
   RESPONSIVE
    ========================================== */
@media (max-width: 768px) {
    .fabrics-hero {
        padding: 100px 0 60px;
    }

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

    .fabrics-hero p {
        font-size: 1.1rem;
    }

    .fabrics-multi,
    .fabrics-sector,
    .fabrics-sector-alt,
    .fabrics-tech,
    .fabrics-cta {
        padding: 70px 0;
    }

    .fabrics-multi h2,
    .fabrics-sector h2,
    .fabrics-sector-alt h2,
    .fabrics-tech h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .fabric-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fabric-card {
        padding: 25px 20px;
    }

    .fabric-icon {
        font-size: 2.5rem;
    }

    .fabric-card h3 {
        font-size: 1.15rem;
    }

    .fabrics-cta h2 {
        font-size: 2rem;
    }

    .fabrics-cta p {
        font-size: 1rem;
    }

    .tech-table th,
    .tech-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}
