/* Custom Properties / Tokens */
:root {
    /* Colors */
    --clr-dark: #1A1D20;        /* Deep Slate Grey */
    --clr-darker: #111315;
    --clr-dark-card: #22262a;
    --clr-accent: #FF5A00;      /* Industrial Orange */
    --clr-accent-hover: #E04F00;
    --clr-light: #F1F5F9;
    --clr-white: #FFFFFF;
    --clr-text: #475569;
    --clr-text-light: #94A3B8;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Layout */
    --max-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* UI */
    --radius: 4px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--clr-text);
    background-color: var(--clr-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--clr-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--clr-accent-hover);
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-dark {
    background-color: var(--clr-dark);
    color: var(--clr-text-light);
}

.bg-dark h2, .bg-dark h3 {
    color: var(--clr-white);
}

.text-left {
    text-align: left !important;
}

.mt-4 { margin-top: 2rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--clr-accent);
    margin: 1rem auto 0;
}

.text-left::after {
    margin: 1rem 0 0 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 90, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,29,32,0.9) 0%, rgba(26,29,32,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 4rem; /* Offset for header */
}

.hero-title {
    color: var(--clr-white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--clr-light);
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
}

/* Value Proposition */
.value-prop {
    background-color: var(--clr-white);
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 3rem 2rem;
}

.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.vp-item {
    padding: 1rem;
    border-left: 2px solid var(--clr-accent);
}

.vp-icon {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.vp-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.vp-item p {
    font-size: 0.95rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--clr-dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-desc {
    font-size: 0.95rem;
}

/* About */
.about {
    background-color: var(--clr-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.responsive-img {
    width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background-color: var(--clr-darker);
    color: var(--clr-text-light);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--clr-accent);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer h4 {
    color: var(--clr-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.footer-contact, .footer-address {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-address address {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding-top: 0;
    }
    
    .value-prop {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .footer-container {
        flex-direction: column;
    }
}
