/* Freights Page Specific Styles */

/* Page Header */
.page-header {
    min-height: 50vh;
    background: linear-gradient(135deg, rgba(11, 30, 66, 0.95), rgba(27, 59, 111, 0.9)),
                url('img/freights-header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15), transparent 70%);
}

.header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    color: var(--primary-color);
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Freights Overview */
.freights-overview {
    padding: 6rem 2rem 3rem;
    background: white;
}

/* Freight Categories Section */
.freight-categories {
    padding: 4rem 2rem 8rem;
    background: var(--light-gray);
}

.freight-category {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.freight-category:last-child {
    margin-bottom: 0;
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--light-gray);
}

.category-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.category-title-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.category-title-section p {
    font-size: 1.1rem;
    color: #666;
}

/* Freight Items Grid */
.freight-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Freight Item Card */
.freight-item {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.freight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.freight-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.freight-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
}

.freight-content {
    padding: 1.8rem;
}

.freight-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.freight-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* Freight Specs */
.freight-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.freight-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.freight-specs span i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Storage Capabilities Section */
.storage-capabilities {
    padding: 8rem 2rem;
    background: white;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.capability-card {
    background: var(--light-gray);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #FF8C42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    background: white;
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.capability-card:hover .capability-icon {
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.capability-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-blue));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: white;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid white;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .freight-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .freight-category {
        padding: 2rem;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .category-title-section h2 {
        font-size: 1.8rem;
    }

    .freight-items-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-white, .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
