/* Warehousing & Distribution Services Page Styles */
/* Maintains theme consistency with Transportation and Services pages */

/* ===== WAREHOUSING HERO SECTION ===== */
.warehousing-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(11, 35, 64, 0.8) 0%, 
        rgba(15, 163, 163, 0.7) 50%, 
        rgba(11, 35, 64, 0.9) 100%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f8fafc"/><stop offset="100%" style="stop-color:%23e2e8f0"/></linearGradient></defs><rect width="1200" height="600" fill="url(%23bg)"/><g opacity="0.1"><rect x="100" y="200" width="120" height="80" fill="%230FA3A3"/><rect x="250" y="180" width="100" height="100" fill="%230B2340"/><rect x="380" y="220" width="80" height="60" fill="%230FA3A3"/><rect x="500" y="190" width="140" height="90" fill="%230B2340"/><rect x="670" y="210" width="110" height="70" fill="%230FA3A3"/><rect x="810" y="180" width="90" height="100" fill="%230B2340"/><rect x="930" y="200" width="120" height="80" fill="%230FA3A3"/><rect x="150" y="350" width="80" height="60" fill="%230B2340"/><rect x="260" y="370" width="100" height="40" fill="%230FA3A3"/><rect x="390" y="360" width="70" height="50" fill="%230B2340"/><rect x="490" y="380" width="90" height="30" fill="%230FA3A3"/><rect x="610" y="350" width="110" height="60" fill="%230B2340"/><rect x="750" y="370" width="80" height="40" fill="%230FA3A3"/><rect x="860" y="360" width="100" height="50" fill="%230B2340"/><rect x="990" y="380" width="70" height="30" fill="%230FA3A3"/></g></svg>') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(11, 35, 64, 0.85) 0%, 
        rgba(15, 163, 163, 0.75) 50%, 
        rgba(11, 35, 64, 0.9) 100%
    );
    z-index: 2;
}

.warehousing-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
}

.warehousing-hero .page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.warehousing-hero .page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    color: var(--white);
    font-weight: 400;
}

.warehousing-hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== WAREHOUSING OVERVIEW SECTION ===== */
.warehousing-overview {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.warehousing-overview .overview-content {
    max-width: 1200px;
    margin: 0 auto;
}

.warehousing-overview .overview-header {
    text-align: center;
    margin-bottom: 4rem;
}

.warehousing-overview .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.warehousing-overview .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(15, 163, 163, 0.1);
}

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

.highlight-card .highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.highlight-card .highlight-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.highlight-card .highlight-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== CORE SERVICES SECTION ===== */
.core-services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.core-services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.core-services .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.core-services .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(15, 163, 163, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 2rem;
}

.service-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card .card-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card .service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card .service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card .service-features li i {
    color: var(--primary-teal);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-card .card-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    margin-top: auto;
}

.service-card .card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 163, 163, 0.3);
    color: var(--white);
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-text .section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.why-choose-text .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.benefits-list li i {
    color: var(--primary-teal);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.why-choose-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, rgba(15, 163, 163, 0.1), rgba(11, 35, 64, 0.1));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-teal);
}

.visual-placeholder i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.visual-placeholder p {
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* ===== METRICS SECTION ===== */
.metrics-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    color: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-item {
    padding: 1.5rem;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.metric-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(11, 35, 64, 0.95) 0%, 
        rgba(15, 163, 163, 0.9) 100%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="patternGradient" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.05" /><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0.1" /></linearGradient></defs><path d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z" fill="url(%23patternGradient)" /></svg>') center/cover;
    opacity: 0.3;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(11, 35, 64, 0.9) 0%, 
        rgba(15, 163, 163, 0.8) 100%
    );
    z-index: 1;
}

.final-cta-section .container {
    position: relative;
    z-index: 2;
}

.final-cta-section .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.final-cta-section .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .warehousing-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .warehousing-hero .page-title {
        font-size: 2.5rem;
    }
    
    .warehousing-hero .page-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .warehousing-overview .section-title,
    .core-services .section-title {
        font-size: 2rem;
    }
    
    .final-cta-section h2 {
        font-size: 1.75rem;
    }
    
    .final-cta-section {
        padding: 3rem 0;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .warehousing-hero {
        padding: 100px 0 60px;
    }
    
    .warehousing-hero .page-title {
        font-size: 2rem;
    }
    
    .warehousing-hero .page-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card .card-icon i {
        font-size: 1.5rem;
    }
    
    .warehousing-overview .section-title,
    .core-services .section-title {
        font-size: 1.75rem;
    }
    
    .final-cta-section h2 {
        font-size: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 2rem 1.5rem;
    }
    
    .highlight-card .highlight-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}