/* Strong Plant Holding - Premium Industrial Theme */
:root {
    /* Color Palette */
    --color-primary: #FFD500; /* Komatsu/Caterpillar Yellow */
    --color-primary-dark: #E6C200;
    --color-black: #0F0F0F;
    --color-dark-gray: #1A1A1A;
    --color-medium-gray: #333333;
    --color-light-gray: #F5F5F5;
    --color-white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #E0E0E0; /* Off-white for dark backgrounds */
    --text-muted: #A0A0A0;
    --text-dark: #1A1A1A;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Components */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 30px rgba(255, 213, 0, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-primary {
    color: var(--color-primary);
}

.highlight {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 213, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

.btn-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-black:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    height: 48px;
}

.logo-img {
    height: 100%;
    width: auto;
    /* IMPORTANT: If the logo is black text on transparent, we invert it for dark header */
    filter: brightness(0) invert(1); 
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Animation for subtle movement */
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Divisions Section */
.divisions {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-dark-gray);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.division-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.division-card.featured {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
}

.division-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.division-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.division-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.card-list {
    margin-top: auto;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-list li i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-black);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: sepia(20%) contrast(1.1);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--color-black) 0%, #151515 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--color-primary);
    color: var(--color-black);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 70%);
}

.contact-card h2 {
    color: var(--color-black);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.contact-card p {
    color: var(--color-dark-gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.brand-logo-contact-wrapper {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.brand-logo-contact {
    display: inline-block;
    max-width: 180px;
    height: auto;
    /* If the logo is filled (already has bg or dark color), we use it as is. */
    mix-blend-mode: multiply; /* Helps integrate if it has a white background */
}

/* Footer */
footer {
    background-color: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    width: 140px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-copy {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-links {
        display: none; /* Add mobile menu logic later if needed */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
