/* --- Variables --- */
:root {
    --primary-red: #D71920;
    --primary-red-dark: #A50E14;
    --dark-bg: #111111;
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --metallic-silver: #e5e5e5;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* --- Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
}

.text-red {
    color: var(--primary-red);
}

/* --- Layout Utils --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-red-dark);
}

.nav-container {
    width: 95%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    /* Adjust based on logo aspect ratio */
}

.nav-links a {
    color: var(--text-white);
    font-weight: 600;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-btn {
    background: var(--primary-red);
    padding: 10px 25px;
    border-radius: 2px;
    /* Harsh industrial corners */
    color: white !important;
}

.nav-btn:hover {
    background: var(--primary-red-dark);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('assets/hero_steel_warehouse.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    /* Nav is fixed overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--metallic-silver);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0;
    /* Industrial sharp edges */
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-bg);
}

/* --- Stats Strip --- */
.stats-strip {
    background: var(--primary-red);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffd700;
    /* Subtle gold accent for quality */
}

.stat-item i {
    color: var(--dark-bg);
    opacity: 0.8;
}

.stat-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: white;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- About Section --- */
.about {
    background: #151515;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
}

.about-list li i {
    color: var(--primary-red);
    margin-right: 15px;
}

.img-frame {
    border: 2px solid var(--primary-red);
    padding: 15px;
    position: relative;
}

.img-frame img {
    width: 100%;
    filter: grayscale(30%) contrast(110%);
}

.img-frame::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-right: 4px solid var(--primary-red);
    border-bottom: 4px solid var(--primary-red);
    z-index: 1;
}

/* --- Products --- */
.products {
    background: var(--dark-bg);
}

.section-header {
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid #333;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(215, 25, 32, 0.1);
}

.card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.link-arrow i {
    margin-left: 8px;
    transition: 0.3s;
}

.link-arrow:hover i {
    margin-left: 12px;
}

/* --- CTA Section --- */
.cta-section {
    background: url('assets/hero_steel_warehouse.png') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(215, 25, 32, 0.85);
    /* Red Overlay */
    mix-blend-mode: multiply;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-content .btn {
    background: white;
    color: var(--primary-red);
}

.cta-content .btn:hover {
    background: var(--dark-bg);
    color: white;
}

/* --- Contact --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--card-bg);
    padding: 50px;
    border: 1px solid #333;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.btn-block {
    width: 100%;
}

/* --- Footer --- */
.footer {
    background: #0a0a0a;
    padding: 50px 0;
    border-top: 2px solid #333;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    opacity: 0.8;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-red);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: 0.4s ease;
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        margin: 15px 0;
        display: block;
        text-align: center;
    }

    .hamburger {
        display: block;
        color: white;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .img-frame::after {
        display: none;
    }

    .contact-wrapper {
        padding: 30px;
    }
}