/* style.css - Sri Ganesha Logistics */
/* Black & Red Theme with Light Header */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #c62828;
    --dark-red: #8e0000;
    --pure-black: #111111;
    --soft-black: #1f1f1f;
    --light-black: #2a2a2a;
    --light-bg: #fff9f7;
    --accent-gold: #ffb74d;
    --gray-text: #666666;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    color: #1e1e1e;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navigation - Updated to Light Background for Black & Red Logo */
.navbar {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0.8rem 2rem;
    border-bottom: 2px solid var(--primary-red);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo Image */
.logo-area img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}
.logo-text h2 {
    color: var(--pure-black);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text p {
    color: #555555;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    color: var(--pure-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    border-bottom-color: var(--primary-red);
    color: var(--primary-red);
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--pure-black);
    cursor: pointer;
}

/* Page Header with Image */
.page-header {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;

    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
        var(--header-image);

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 3px 3px 12px black;
}

.page-header p {
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--pure-black);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title span {
    color: var(--primary-red);
}

.section-title:after {
    content: '';
    width: 100px;
    height: 4px;
    background: var(--primary-red);
    display: block;
    margin: 0.8rem auto 0;
    border-radius: 4px;
}

/* Cards */
.card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 6px solid var(--primary-red);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 35px rgba(198,40,40,0.15);
}

/* Grid Layouts */
.about-grid,
.service-grid,
.fleet-showcase,
.contact-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

.btn:hover {
    background: var(--dark-red);
    transform: scale(0.98);
}

/* Footer */
footer {
    background: var(--pure-black);
    color: #cccccc;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 950px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        background: #ffffff;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
.logo-area img {
    height: 45px;
}

.logo-text h2 {
    font-size: 1.1rem;
}

.logo-text p {
    font-size: 0.6rem;
}
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .contact-flex {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Slider Styles */
.slider-wrapper {
    margin-top: 70px;
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-red);
    background: rgba(0,0,0,0.5);
    padding: 28px;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: var(--primary-red);
}

/* Owner Section */
.owner-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
}

.vision-list {
    list-style: none;
}

.vision-list li {
    margin-bottom: 0.7rem;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.vision-list li i {
    color: var(--primary-red);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #ffc7c7;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(198,40,40,0.2);
    border-color: var(--primary-red);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Truck Range Section */
.truck-range-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 60px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 30px 40px rgba(0,0,0,0.3);
}

.truck-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.truck-title span {
    color: #ff5e5e;
    background: rgba(255,255,255,0.1);
    padding: 0 15px;
    border-radius: 50px;
}

.truck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.truck-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    padding: 1.6rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,80,80,0.3);
}

.truck-item:hover {
    transform: scale(1.02);
    background: rgba(198,40,40,0.2);
    border-color: #ff5e5e;
}

.truck-icon {
    font-size: 2.5rem;
    color: #ff8a5c;
    margin-bottom: 0.8rem;
}

.truck-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffaa66;
    margin-bottom: 0.8rem;
}

.truck-item p {
    color: #f0f0f0;
    font-size: 0.9rem;
}

.truck-specs {
    display: inline-block;
    background: #c62828;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

/* Client Section */
.client-wall {
    background: #1f1f1f;
    border-radius: 48px;
    padding: 2rem;
    margin-top: 2rem;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
}

.client-item {
    text-align: center;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    min-width: 130px;
    transition: 0.3s;
}

.client-item:hover {
    transform: scale(1.05);
}

.client-item img {
    max-width: 80px;
    max-height: 50px;
}

.client-item span {
    display: block;
    font-weight: 700;
    color: var(--pure-black);
    margin-top: 6px;
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
    background: var(--pure-black);
    color: white;
    padding: 2rem;
    border-radius: 32px;
}

.contact-info i {
    color: var(--primary-red);
    width: 35px;
}

.contact-info h3 {
    margin: 1rem 0 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    border-radius: 25px;
    resize: vertical;
}

/* Hero Intro */
.hero-intro {
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    border-radius: 48px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-intro p {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeInUp 0.6s ease forwards;
}