/**
 * Gatwan Transport Logistics - Common Page Styles
 * Shared styles for about, contact, gallery, and other pages
 */

.page-header {
    position: relative;
    padding: 10rem 2rem 6rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FCD200' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* About Page Specific */
.page-header.about-header {
    background: url('/Assets/parallax_2-1.jpg') center center / cover no-repeat;
}

.page-header.about-header::before {
    background: linear-gradient(135deg, rgba(24, 41, 55, 0.9) 0%, rgba(24, 41, 55, 0.8) 100%);
}

.page-header.about-header::after {
    display: none; /* Remove the + pattern from about page */
}

/* Services Page Specific */
.page-header.services-header {
    background: url('/Assets/Gatwan trucks.jpg') center center / cover no-repeat;
}

.page-header.services-header::before {
    background: linear-gradient(135deg, rgba(24, 41, 55, 0.9) 0%, rgba(24, 41, 55, 0.8) 100%);
}

.page-header.services-header::after {
    display: none; /* Remove the + pattern from services page */
}

.page-header-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.section {
    padding: 8rem 2rem;
}

/* Timeline (About Page) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 2;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--primary);
}

.timeline-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        order: 1;
    }
}

/* Contact Page Specific */
.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(24, 41, 55, 0.1);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(252, 210, 0, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--primary);
    color: var(--secondary);
    padding: 1.125rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(252, 210, 0, 0.3);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Gallery Page Specific */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 41, 55, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 2px solid rgba(24, 41, 55, 0.1);
    background: #fff;
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
}

