/* ========================================
   Pages CSS - Additional Styles
   For About, Services, Products, Blog pages
   ======================================== */

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 68px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* ========================================
   Section Utilities
   ======================================== */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.section-heading {
    font-family: var(--font-secondary);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.text-large {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 30px;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Content Grid (About Page)
   ======================================== */
.content-grid {
    display: grid;
    gap: 50px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* ========================================
   Icon Badge
   ======================================== */
.icon-badge {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ========================================
   Stats Grid
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   Two Column Grid
   ======================================== */
.two-col-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

/* ========================================
   Modern Cards
   ======================================== */
.card-modern {
    background-color: var(--white);
    padding: 40px 35px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ========================================
   Values Grid
   ======================================== */
.values-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Features List
   ======================================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

.feature-number {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   Services Detailed (Services Page)
   ======================================== */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-detailed {
    display: grid;
    gap: 40px;
    align-items: start;
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.service-detailed.reverse {
    direction: rtl;
}

.service-detailed.reverse > * {
    direction: ltr;
}

.service-icon-large {
    font-size: 72px;
    text-align: center;
}

.service-content h2 {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

@media (min-width: 992px) {
    .service-detailed {
        grid-template-columns: auto 1fr;
        gap: 60px;
    }
}

/* ========================================
   Process Timeline
   ======================================== */
.process-timeline {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.process-step p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
}

/* ========================================
   Industries Grid
   ======================================== */
.industries-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.industry-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Product Categories (Products Page)
   ======================================== */
.product-category {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

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

.category-icon {
    font-size: 48px;
}

.category-name {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
}

.category-products {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-tag {
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================================
   Regions Grid
   ======================================== */
.regions-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .regions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.region-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.region-flag {
    font-size: 64px;
    margin-bottom: 15px;
}

.region-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.region-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Quality Grid
   ======================================== */
.quality-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .quality-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quality-item {
    text-align: center;
}

.quality-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.quality-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.quality-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Features Grid 4
   ======================================== */
.features-grid-4 {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    background-color: var(--light-color);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon-box {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Custom Solutions Section
   ======================================== */
.custom-solutions {
    display: grid;
    gap: 50px;
    align-items: center;
}

.solutions-content h2 {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.solutions-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.benefits-list li {
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.solutions-image {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.image-placeholder span {
    font-size: 80px;
}

.image-placeholder p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .custom-solutions {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .service-detailed {
        padding: 35px 25px;
    }
    
    .card-modern {
        padding: 30px 25px;
    }
}
