/* =============================================
   PU RAW MATERIALS PAGE STYLES
   ============================================= */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #2d3436;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.pu-hero {
    min-height: 40vh;
    background-image: url('https://cdn.imweb.me/thumbnail/20250918/828bb02d15ddc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px 30px 40px 30px;
    position: relative;
    overflow: hidden;
}

.pu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.pu-hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
}

.pu-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
    line-height: 1.1;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.pu-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto;
    color: white;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Container */
.pu-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.pu-container {
    width: 100%;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

/* Section Titles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 40px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f58f27;
}

/* Material Cards */
.material-card {
    background: white;
    border: 1px solid #e9ecef;
    border-left: 4px solid;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.material-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.material-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.material-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 8px 0;
}

.manufacturer {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-weight: 600;
}

.packing-info {
    background: #f8f9fa;
    border-left: 4px solid;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.packing-info strong {
    color: #2d3436;
    font-size: 14px;
}

.packing-info span {
    color: #495057;
    font-size: 14px;
    margin-left: 10px;
}

.material-description {
    font-size: 15px;
    line-height: 1.6;
    color: #2d3436;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    margin-top: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =============================================
   TABLET RESPONSIVE STYLES (769px - 1024px)
   ============================================= */

@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section */
    .pu-hero {
        min-height: 40vh;
        padding: 120px 40px 35px 40px;
    }

    .pu-hero h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .pu-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Content */
    .pu-content {
        padding: 70px 30px;
    }

    .section-title {
        font-size: 30px;
    }

    /* Material Cards - 2 columns */
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* =============================================
   MOBILE RESPONSIVE STYLES (≤768px)
   ============================================= */

@media (max-width: 768px) {
    /* Hero Section */
    .pu-hero {
        min-height: 35vh !important;
        padding: 100px 20px 30px 20px !important;
    }

    .pu-hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .pu-hero p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Content */
    .pu-content {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 24px;
    }

    /* Material Cards */
    .material-card {
        padding: 20px;
    }

    .material-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .material-title h3 {
        font-size: 18px;
    }

    .manufacturer {
        font-size: 13px;
    }

    .packing-info {
        padding: 12px 15px;
        margin-bottom: 12px;
    }

    .packing-info strong,
    .packing-info span {
        font-size: 13px;
    }

    .material-description {
        font-size: 13px;
    }

    /* Gallery - 1 Column */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 180px;
    }
}

/* =============================================
   SMALL MOBILE RESPONSIVE (≤480px)
   ============================================= */

@media (max-width: 480px) {
    /* Hero */
    .pu-hero {
        padding: 30px 15px;
    }

    .pu-hero h1 {
        font-size: 28px;
        letter-spacing: 0.5px;
    }

    .pu-hero p {
        font-size: 15px;
    }

    /* Content */
    .pu-content {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 22px;
    }

    /* Material Cards */
    .material-card {
        padding: 20px 15px;
    }

    .material-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
        margin-right: 15px;
    }

    .material-title h3 {
        font-size: 16px;
    }

    /* Gallery */
    .gallery-item {
        height: 160px;
    }
}

/* =============================================
   FOOTER MOBILE RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    footer {
        padding: 40px 0 30px 0 !important;
    }
    
    footer > div {
        padding: 0 20px !important;
    }
    
    footer > div > div:first-child {
        margin-bottom: 30px !important;
    }
    
    footer > div > div:first-child > div:first-child img {
        height: 40px !important;
        margin-right: 20px !important;
    }
    
    footer > div > div:first-child > div:first-child > div {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    
    footer div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    footer h4 {
        font-size: 14px !important;
    }
    
    footer p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }
    
    footer span {
        font-size: 12px !important;
    }
    
    footer > div > div:last-child p {
        font-size: 11px !important;
    }
}
