/* PeakPoint Trucking - Industrial Heavy-Duty Design */

:root {
    --primary-color: #dc2626;
    --secondary-color: #ef4444;
    --accent-color: #f87171;
    --steel-color: #6b7280;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --steel-gradient: linear-gradient(135deg, #6b7280, #9ca3af);
    --text-gradient: linear-gradient(135deg, #dc2626, #f87171);
    --shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
    --heavy-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.mountain-loader {
    text-align: center;
    color: white;
}

.truck-animation {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: truckDrive 2s ease-in-out infinite;
}

@keyframes truckDrive {
    0%, 100% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.brand-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: 'Rajdhani', sans-serif;
}

.brand-logo i {
    font-size: 2rem;
    margin-right: 0.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: mountainPulse 3s ease-in-out infinite;
}

@keyframes mountainPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(239, 68, 68, 0.6) 100%);
}

.mountain-range {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><polygon points="0,300 200,100 400,150 600,50 800,120 1000,80 1200,200 1200,300" fill="rgba(0,0,0,0.2)"/></svg>');
    background-size: cover;
    opacity: 0.5;
    animation: mountainShift 10s ease-in-out infinite;
}

@keyframes mountainShift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 113, 113, 0.3);
    font-family: 'Rajdhani', sans-serif;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Rajdhani', sans-serif;
}

.text-gradient {
    background: linear-gradient(135deg, #f87171, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: peakGlow 3s ease-in-out infinite;
}

@keyframes peakGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--heavy-shadow);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(248, 113, 113, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(248, 113, 113, 0.2);
    transform: translateY(-3px);
}

.peak-stats {
    display: flex;
    gap: 2rem;
}

.peak-stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f87171, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Rajdhani', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mountain-peak {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(248, 113, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: peakFloat 4s ease-in-out infinite;
}

@keyframes peakFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.peak-content {
    text-align: center;
    color: white;
    margin-top: 50px;
}

.peak-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #f87171;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--light-color);
}

.about-visual {
    position: relative;
}

.industrial-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--heavy-shadow);
}

.industrial-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industrial-card:hover img {
    transform: scale(1.05);
}

.heavy-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    animation: heavyPulse 2s ease-in-out infinite;
}

@keyframes heavyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.section-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Rajdhani', sans-serif;
}

.section-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px;
}

.industrial-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover .feature-icon::before {
    left: 100%;
}

.feature-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-family: 'Rajdhani', sans-serif;
}

.feature-content p {
    color: #64748b;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: white;
}

.section-header {
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

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

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 38, 38, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 3rem;
    color: white;
    animation: serviceIcon 1s ease-in-out;
}

@keyframes serviceIcon {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.service-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.service-content h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: 'Rajdhani', sans-serif;
}

.service-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #64748b;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Fleet Section */
.fleet-section {
    padding: 8rem 0;
    background: var(--light-color);
}

.fleet-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.fleet-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    position: relative;
}

.fleet-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-family: 'Rajdhani', sans-serif;
}

.fleet-card p {
    color: #64748b;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.power-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.fleet-card:hover .power-indicator {
    transform: scaleX(1);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--gradient);
    position: relative;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif;
}

.contact-item i {
    font-size: 1.2rem;
    color: #f87171;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .peak-stats {
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .industrial-features {
        margin-top: 2rem;
    }
    
    .mountain-peak {
        width: 250px;
        height: 250px;
    }
}