/* General Resets & Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette - Industrial Chic */
    --color-dark-grey: #1a1a1a;
    --color-medium-grey: #2c2c2c;
    --color-light-grey: #f0f0f0;
    --color-steel-blue: #4a6c8e; /* Main accent */
    --color-orange-accent: #e67e22; /* Secondary accent */
    --color-white: #ffffff;

    /* Typography */
    --font-primary: 'Oswald', sans-serif; /* For headlines, bold statements */
    --font-secondary: 'Montserrat', sans-serif; /* For body text, subheadings */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-light-grey);
    background-color: var(--color-dark-grey);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-light-grey);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 2.2em; }
h4 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--color-steel-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-orange-accent);
}

ul {
    list-style: none;
}

/* Utility Classes */
.bg-dark { background-color: var(--color-medium-grey); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.section-padding { padding: 80px 0; } /* Standard section padding */

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-size: 1.1em;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-orange-accent);
    color: var(--color-white);
    border: 2px solid var(--color-orange-accent);
}

.btn-primary:hover {
    background-color: var(--color-steel-blue);
    border-color: var(--color-steel-blue);
    color: var(--color-white);
}

/* Header */
.main-header {
    background-color: var(--color-dark-grey);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8em;
    color: var(--color-white);
    letter-spacing: 2px;
    font-weight: 700;
}

.main-nav .nav-list {
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list a {
    color: var(--color-light-grey);
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 1.1em;
    text-transform: uppercase;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange-accent);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.8em;
    cursor: pointer;
}

/* Hero Section */
.hero-section, .contact-hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-white);
    padding: 150px 0; /* Adjust height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-headline {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subheading {
    font-size: 1.4em;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Our Edge Section */
.our-edge-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-steel-blue);
    font-size: 2.5em;
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.edge-item {
    background-color: var(--color-dark-grey);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.edge-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange-accent);
}

.edge-item img {
    width: 80px; /* Adjust icon size */
    height: 80px;
    margin-bottom: 20px;
    filter: invert(100%) grayscale(100%) brightness(150%); /* Makes icons white/light */
}
.edge-item h3 {
    color: var(--color-white);
    font-size: 1.6em;
    margin-bottom: 15px;
}
.edge-item p {
    color: var(--color-light-grey);
    font-size: 1em;
}

/* Materials Showcase */
.materials-showcase .section-title {
    color: var(--color-orange-accent);
    margin-bottom: 60px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.material-item {
    text-align: center;
    background-color: var(--color-medium-grey);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.material-item:hover {
    transform: scale(1.03);
}

.material-item img {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.material-item p {
    color: var(--color-light-grey);
    font-family: var(--font-primary);
    font-size: 1.2em;
    padding: 15px 10px;
    margin: 0;
    text-transform: uppercase;
}

/* Product Gallery */
.product-gallery .section-title {
    color: var(--color-steel-blue);
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: var(--color-dark-grey);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange-accent);
}

.product-item img {
    width: 100%;
    height: 250px; /* Adjust product image height */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-item h3 {
    font-size: 1.4em;
    color: var(--color-white);
    padding: 20px;
    margin: 0;
}

/* Process Overview */
.process-overview {
    background-color: var(--color-medium-grey); /* Lighter dark background */
}

.process-overview .section-title {
    color: var(--color-orange-accent);
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--color-dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: scale(1.03);
}

.step-item img {
    width: 60px; /* Adjust icon size */
    height: 60px;
    margin-bottom: 15px;
    filter: invert(100%) grayscale(100%) brightness(150%);
}

.step-item h4 {
    color: var(--color-white);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95em;
    color: var(--color-light-grey);
}


/* Footer */
.main-footer {
    padding: 60px 0 20px;
    color: var(--color-light-grey);
    font-size: 0.95em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-col ul {
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--color-light-grey);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-orange-accent);
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col i {
    margin-right: 10px;
    color: var(--color-steel-blue);
}

.social-icons a {
    color: var(--color-white);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-orange-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Page Specific Styles */
.contact-hero-section {
    padding: 100px 0; /* Slightly less padding than home hero */
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes 2/3, info 1/3 */
    gap: 50px;
    align-items: flex-start; /* Align top */
}

.contact-form-container {
    background-color: var(--color-dark-grey);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9em;
    color: var(--color-steel-blue);
    margin-bottom: 8px;
    font-family: var(--font-primary);
    text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--color-medium-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-orange-accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    width: auto;
    padding: 15px 40px;
    font-size: 1.2em;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none; /* Hidden by default, shown by JS */
}

.form-message.success {
    background-color: rgba(60, 179, 113, 0.2); /* MediumSeaGreen with transparency */
    color: #3cb371;
    border: 1px solid #3cb371;
}

.form-message.error {
    background-color: rgba(220, 20, 60, 0.2); /* Crimson with transparency */
    color: #dc143c;
    border: 1px solid #dc143c;
}


.contact-info-container {
    background-color: var(--color-dark-grey);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-container .section-title {
    margin-bottom: 30px;
    color: var(--color-steel-blue);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    color: var(--color-orange-accent);
    margin-right: 15px;
    font-size: 1.8em;
    padding-top: 5px;
}

.info-item p {
    margin: 0;
    line-height: 1.5;
    font-size: 1.1em;
}

.info-item a {
    color: var(--color-light-grey); /* Keep links light in info */
}

.info-item a:hover {
    color: var(--color-orange-accent);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--color-medium-grey);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-placeholder iframe {
    border: 0;
    width: 100%;
    height: 100%;
    display: block;
}


/* Responsive Design */
@media (max-width: 992px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.8em; }
    .hero-section, .contact-hero-section { padding: 120px 0; }
    .hero-subheading { font-size: 1.2em; }

    .main-nav .nav-list {
        flex-direction: column;
        position: absolute;
        top: 100%; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--color-dark-grey);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none; /* Hidden by default */
        text-align: center;
        padding: 20px 0;
    }

    .main-nav .nav-list.active {
        display: flex;
    }

    .main-nav .nav-list li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .contact-section .contact-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 2.5em; }
    .hero-subheading { font-size: 1.1em; }
    .btn { padding: 12px 25px; font-size: 1em; }
    .our-edge-section .section-title,
    .materials-showcase .section-title,
    .product-gallery .section-title,
    .process-overview .section-title,
    .contact-form-container .section-title,
    .contact-info-container .section-title {
        font-size: 2em;
    }

    .edge-grid, .materials-grid, .products-grid, .process-steps {
        grid-template-columns: 1fr; /* Stack all grids vertically */
    }
    .edge-item, .material-item, .product-item, .step-item {
        padding: 30px;
    }
    .footer-content {
        grid-template-columns: 1fr; /* Stack all footer columns */
        text-align: center;
    }
    .footer-col h3 {
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 10px;
    }
    .footer-col ul {
        margin-bottom: 20px;
    }
    .footer-col ul li {
        margin-bottom: 5px;
    }
    .footer-col i {
        margin-right: 5px;
    }
    .social-icons {
        margin-top: 20px;
        text-align: center;
    }
    .social-icons a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-section, .contact-hero-section { padding: 80px 0; }
    .hero-headline { font-size: 2em; }
    .hero-subheading { font-size: 1em; }
    .section-padding { padding: 40px 0; }
    .container { padding: 0 15px; }
}