/* 
 * Enduser Industrial Systems
 * Style Guide: Engineering Aesthetic, Solid Colors (No Gradients)
 */

:root {
    /* Color Palette */
    --navy-blue: #0F2537;
    --navy-blue-light: #1A365D;
    --steel-gray: #4A5568;
    --steel-gray-light: #718096;
    --steel-gray-lighter: #E2E8F0;
    --safety-orange: #FF6B00;
    --safety-orange-hover: #E65A00;
    --white: #FFFFFF;
    --off-white: #F7FAFC;
    --black: #111111;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-navy { background-color: var(--navy-blue); }
.bg-steel { background-color: var(--steel-gray); }
.bg-orange { background-color: var(--safety-orange); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--off-white); }
.text-white { color: var(--white) !important; }
.text-white h2, .text-white h3, .text-white h4, .text-white p { color: var(--white); }

.relative { position: relative; }

/* Divider */
.divider {
    height: 4px;
    width: 60px;
    background-color: var(--safety-orange);
    margin-bottom: 2rem;
}
.divider.center { margin: 0 auto 2rem; }
.divider.light { background-color: var(--white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--safety-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--safety-orange-hover);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-blue);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--navy-blue);
}

.nav-links a:hover {
    color: var(--safety-orange);
}

.nav-links a.btn {
    color: var(--white);
}
.nav-links a.btn:hover {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--navy-blue);
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
}

/* Parallax Base */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.dark-overlay { background-color: rgba(15, 37, 55, 0.7); }
.semi-dark-overlay { background-color: rgba(15, 37, 55, 0.85); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* offset for nav */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--steel-gray);
    font-size: 1.1rem;
}

.about-image {
    height: 500px;
    border-radius: 8px;
    box-shadow: 10px 10px 0px 0px var(--safety-orange);
}

/* Mission & Values */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--navy-blue);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mission-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--steel-gray);
}
.mission-box li { margin-bottom: 1rem; }

.values-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--steel-gray-lighter);
    color: var(--steel-gray);
}
.values-list li:last-child {
    border-bottom: none;
}
.values-list strong { color: var(--navy-blue); }

/* Products Section */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-category {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cat-header {
    padding: 2rem;
    text-align: center;
}

.cat-header h3 {
    color: var(--white);
    margin: 0;
}

.feature-list {
    padding: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--steel-gray);
}

.feature-list li::before {
    content: "■";
    color: var(--safety-orange);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* Industries Section */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.industry-item {
    background-color: var(--navy-blue-light);
    padding: 0;
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
}
.industry-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.industry-content {
    padding: 1.5rem;
}
.industry-item:hover {
    transform: translateY(-5px);
    background-color: var(--safety-orange);
}
.industry-content .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}
.industry-item h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--white);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-box p {
    color: var(--steel-gray);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-info {
    padding: 4rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details a {
    color: var(--white);
}

.contact-details a:hover {
    color: var(--safety-orange);
}

.contact-form-wrapper {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--steel-gray-lighter);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue);
}

.submit-btn {
    width: 100%;
    border: none;
    font-size: 1.1rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background-color: #DEF7EC;
    color: #03543F;
}

/* Footer */
.footer {
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.footer-logo h3 {
    margin-bottom: 0.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .mv-grid, .contact-container { grid-template-columns: 1fr; }
    .products-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-image { margin-top: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .products-grid, .industry-grid, .features-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 1rem; }
    .contact-info, .contact-form-wrapper { padding: 2rem; }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.category-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-footer { padding: 0 2rem 2rem 2rem; text-align: center; margin-top: auto; }
.inquire-btn { width: 100%; }
select.form-control { width: 100%; padding: 0.8rem; border: 1px solid var(--steel-gray-lighter); border-radius: 4px; font-family: inherit; font-size: 1rem; background-color: var(--off-white); color: var(--black); }
select.form-control:focus { outline: none; border-color: var(--navy-blue); }

.partners { overflow: hidden; background: var(--white); border-top: 1px solid var(--steel-gray-lighter); }
.logo-scroller { display: flex; gap: 4rem; overflow-x: auto; padding: 2rem; align-items: center; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.logo-scroller::-webkit-scrollbar { display: none; }
.partner-logo { height: 60px; max-width: 150px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }
