/* Advanced Light Homepage Styling */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Header offset */
    overflow: hidden;
}

.badge-custom {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(148, 23, 27, 0.08);
    color: var(--primary-red);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(148, 23, 27, 0.15);
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-red { color: var(--primary-red); }
.text-navy { color: var(--primary-navy); }

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary-custom, .btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary-custom {
    background: var(--primary-navy);
    color: white;
    box-shadow: 0 10px 30px rgba(21, 48, 91, 0.25);
}

.btn-primary-custom:hover {
    background: var(--primary-red);
    box-shadow: 0 15px 40px rgba(148, 23, 27, 0.3);
    transform: translateY(-3px);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid rgba(21, 48, 91, 0.2);
}

.btn-outline-custom:hover {
    border-color: var(--primary-navy);
    background: rgba(21, 48, 91, 0.05);
    color: var(--primary-navy);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item h4 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 0.2rem;
}

.stat-item h4 span {
    font-size: 1.2rem;
    color: var(--primary-red);
}

.stat-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual Subsystem */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: var(--transition);
}

.main-card {
    width: 340px;
    z-index: 3;
    padding: 3rem 2.5rem;
}

.side-card-1 {
    width: 280px;
    z-index: 2;
    top: 50px;
    right: 0;
    transform: translateX(10%) rotate(5deg);
    background: rgba(241, 245, 249, 0.9);
}

.side-card-2 {
    width: 280px;
    z-index: 1;
    bottom: 80px;
    left: 0;
    transform: translateX(-10%) rotate(-5deg);
    background: rgba(255, 255, 255, 0.9);
}

.hero-visual:hover .side-card-1 { transform: translateX(20%) rotate(10deg); }
.hero-visual:hover .side-card-2 { transform: translateX(-20%) rotate(-10deg); }

.red-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.navy-icon {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.8rem;
}

.main-card h3 { font-size: 1.8rem; }
.glass-card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* Background elements */
.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; overflow: hidden; pointer-events: none;
}

.abstract-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.12;
}
.blob-red {
    width: 600px; height: 600px; background: var(--primary-red);
    top: -10%; left: -10%;
}
.blob-navy {
    width: 700px; height: 700px; background: var(--primary-navy);
    bottom: -10%; right: -5%;
}

.bg-circle {
    position: absolute; border-radius: 50%; border: 1px solid rgba(21, 48, 91, 0.05);
}

.bg-circle-1 { width: 800px; height: 800px; top: -200px; right: -200px; }
.bg-circle-2 { width: 1200px; height: 1200px; top: -400px; right: -400px; }

.gear-wireframe {
    position: absolute; font-size: 40rem; color: rgba(21, 48, 91, 0.02);
    top: 50%; right: -10%; transform: translateY(-50%);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Features Grid Redesign */
.feature-card {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-red));
    z-index: -1; opacity: 0; transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(21, 48, 91, 0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrapper {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: rgba(148, 23, 27, 0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; transition: var(--transition);
}

.feature-icon {
    font-size: 2.5rem; color: var(--primary-red); transition: var(--transition);
}

.feature-card h3 {
    font-size: 1.6rem; color: var(--primary-navy); margin-bottom: 1.2rem; transition: var(--transition);
}

.feature-card p {
    color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper { background: rgba(255,255,255,0.2); }
.feature-card:hover .feature-icon, .feature-card:hover h3, .feature-card:hover p { color: white; }

/* Services Preview */
.service-card {
    background: var(--bg-surface);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(21, 48, 91, 0.1);
}

.service-image {
    height: 240px; position: relative; background-size: cover;
    display: flex; align-items: center; justify-content: center;
}

.service-image i { font-size: 5rem; color: rgba(255,255,255,0.9); }

.truck-bg { background: linear-gradient(135deg, var(--primary-navy), #2a4c8a); }
.delivery-bg { background: linear-gradient(135deg, var(--primary-red), #c2292e); }
.personal-bg { background: linear-gradient(to right, #111827, var(--primary-navy)); }

.service-content { padding: 2.5rem; }

.service-content h3 {
    font-size: 1.6rem; color: var(--primary-navy); margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem;
}

.read-more {
    font-weight: 700; color: var(--primary-red); display: inline-flex;
    align-items: center; gap: 0.5rem; font-size: 1.05rem;
}

.read-more:hover { color: var(--primary-navy); }
.read-more i { transition: transform 0.3s; }
.read-more:hover i { transform: translateX(8px); }

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--primary-navy), #0b1528);
    border-radius: 32px; padding: 6rem 4rem; text-align: center;
    color: white; box-shadow: 0 30px 60px rgba(21, 48, 91, 0.2);
    position: relative; overflow: hidden;
}

.cta-box::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    background: var(--primary-red); border-radius: 50%; filter: blur(80px);
    top: -150px; left: -150px; opacity: 0.6;
}

.cta-box h2 { font-size: 3rem; margin-bottom: 1.5rem; position: relative; z-index: 2; color: white; }
.cta-box p { font-size: 1.25rem; margin-bottom: 3rem; color: rgba(255,255,255,0.8); position: relative; z-index: 2; max-width: 600px; margin-left: auto; margin-right: auto;}
.cta-box .btn-primary-custom { position: relative; z-index: 2; background: white; color: var(--primary-navy); }
.cta-box .btn-primary-custom:hover { background: var(--primary-red); color: white; }

/* Responsive adjustments for Home Grid */
@media (max-width: 991px) {
    .hero { padding-top: 150px; padding-bottom: 80px; }
    .hero-text { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3.2rem; }
    .hero-buttons { flex-direction: column; }
    .cta-box { padding: 4rem 2rem; }
    .cta-box h2 { font-size: 2.2rem; }
}
