/* Base Reset and Variables */
:root {
    /* Color Palette - Premium Heavy Industrial */
    --primary: #e74c3c; /* Red Accent */
    --primary-hover: #c0392b;
    --dark-bg: #0f1115;
    --card-bg: rgba(25, 28, 35, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f0f2f5;
    --text-muted: #a0a5b1;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --accent-red: #e74c3c;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Basic padding for fixed nav */
    padding-top: 80px; 
}

/* Background gradient effect for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(231, 76, 60, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-primary { color: var(--primary); }
.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* Base Sections */
section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #111;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: translateY(-2px);
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 17, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 17, 21, 0.98);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--primary);
    color: #111;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer structure */
.footer {
    background: #0a0b0e;
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #111;
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.contact-info li i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 5%;
    margin-top: 4rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Home Hero Special Styling */
.hero {
    min-height: calc(100vh - 80px); /* Subtract nav height */
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
    margin-top: -80px; /* Counter body padding to have hero flow behind nav slightly or start top */
    background: linear-gradient(to right, rgba(15, 17, 21, 0.95) 0%, rgba(15, 17, 21, 0.6) 100%),
                url('../images/hero-forklift-shop.jpg') center/cover no-repeat;
}

/* Page Headers */
.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(25, 28, 35, 0.8) 0%, rgba(15, 17, 21, 0) 100%);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(15, 17, 21, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--border-glass);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Home Page Specifics --- */
.hero {
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231,76,60,0.15) 0%, transparent 60%);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 10;
}
.relative {
    position: relative;
}
.z-10 {
    z-index: 10;
}
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(231,76,60,0.3);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, rgba(25,28,35,0.9), rgba(15,17,21,0.95));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}
@media (max-width: 768px) {
    .btn-group { flex-direction: column; }
    .hero::after { display: none; }
}

/* --- About Page Specifics --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text h2 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}
.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.stats-row {
    display: flex;
    gap: 3rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}
.image-placeholder {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231,76,60,0.1), transparent);
}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Services Page Specifics --- */
.service-row {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.service-row.reverse {
    flex-direction: row-reverse;
}
.service-icon-box {
    flex: 1;
    background: linear-gradient(135deg, rgba(25,28,35,0.8), rgba(15,17,21,0.9));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}
.service-icon-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(231,76,60,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.service-icon-box i {
    font-size: 6rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(231,76,60,0.3));
}
.service-info {
    flex: 1;
}
.service-info h2 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.service-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}
.service-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
}
@media (max-width: 900px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    .service-icon-box {
        width: 100%;
        height: 250px;
    }
    .service-features {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Page Specifics --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}
.contact-info-panel h2 {
    color: var(--text-main);
    margin-bottom: 1rem;
}
.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(231,76,60,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}
.info-item p {
    color: var(--text-muted);
    line-height: 1.4;
}

.contact-form-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}
.contact-form-panel h2 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}
.contact-form-panel h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15,17,21,0.6);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(231,76,60,0.2);
}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 2rem;
    }
}
