:root {
    --gold: #D4AF37;
    --black: #121212;
    --gray: #2a2a2a;
    --white: #ffffff;
}

body { font-family: 'Montserrat', sans-serif; margin: 0; background-color: var(--white); scroll-behavior: smooth; }

/* Navigation */
nav { display: flex; justify-content: space-between; padding: 25px 8%; background: rgb(149 211 211 / 90%); position: fixed; width: 100%; z-index: 1000; box-sizing: border-box; }
nav .logo,
nav .logo span {
  color: #0b3c6d !important; /* brochure blue */
  font-weight: 800 !important;
  font-size: 1.6rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
}

.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

/* Hero */
.hero { height: 100vh; background: url('14.jpeg') center/cover; position: relative; }
.hero-overlay { height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; padding-left: 10%; }
.hero-text h1 { color: white; font-family: 'Oswald', sans-serif; font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text p { color: #ccc; font-size: 1.2rem; margin-bottom: 30px; }
.cta-gold { padding: 15px 35px; background: var(--gold); color: black; text-decoration: none; font-weight: 700; border-radius: 2px; transition: 0.3s; }
.cta-gold:hover { background: white; }

/* Sections */
.container { max-width: 1200px; margin: auto; padding: 70px 20px; }
.flex-row { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.col-text { flex: 1; min-width: 300px; }
.subtitle { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 0.8rem; }
h2 { font-family: 'Oswald', sans-serif; font-size: 2.8rem; margin: 15px 0; }
.section-title { text-align: center; margin-bottom: 50px; }

/* Stats */
.col-stats { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.stat-box { background: var(--black); color: white; padding: 30px; text-align: center; border-left: 4px solid var(--gold); }
.stat-box strong { font-size: 2.5rem; color: var(--gold); display: block; }

/* Factory Working Grid */
.factory-section { background: #f9f9f9; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.work-item { position: relative; overflow: hidden; height: 350px; }
.work-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: 0.5s; }
.work-desc { position: absolute; bottom: 0; background: var(--gold); color: black; width: 100%; padding: 15px; font-weight: 700; font-size: 0.9rem; transform: translateY(100%); transition: 0.3s; }
.work-item:hover img { transform: scale(1.1); filter: grayscale(0%); }
.work-item:hover .work-desc { transform: translateY(0); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.p-card { text-align: center; border-bottom: 2px solid transparent; transition: 0.3s; }
.p-card img { width: 100%; height: 300px; object-fit: cover; }
.p-card:hover { border-bottom: 2px solid var(--gold); }

/* Footer */
footer { background: var(--black); color: #888; padding: 60px 0 20px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-info h3 { color: white; margin-bottom: 20px; }
.bottom-bar { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 0.75rem; }

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f4f4f4;
    padding: 15px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 0000000;
}
.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}
.breadcrumb span {
    margin: 0 10px;
    color: #999;
}

/* Page Layout Fixes */
.about-page { padding-top: 80px; } /* Adjust based on your nav height */
.section { padding: 80px 0; }
.dark { background: #1a1a1a; color: white; }
.flex-row { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.col-text, .col-highlight { flex: 1; min-width: 300px; }

.award-card { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-left: 5px solid var(--gold); padding: 30px; display: flex; align-items: center; gap: 20px; }
.award-img { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; }

.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { border: 1px solid #444; padding: 30px; text-align: center; transition: 0.3s; }
.stat-card:hover { border-color: var(--gold); }
.stat-card h3 { color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 2rem; }

.cert-list { list-style: none; margin-top: 20px; }
.cert-list li { padding: 12px 0; border-bottom: 1px solid #eee; position: relative; padding-left: 30px; }
.cert-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: bold; }
.compliance-img { width: 100%; border-radius: 4px; box-shadow: 15px 15px 0px var(--gold); }


/* Mobile Menu Toggle Styling */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Media Query Update */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show icon on mobile */
        z-index: 1001;
    }

    .nav-links {
        display: none; /* Hidden until toggled */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Adjust based on nav height */
        left: 0;
        background: rgba(0,0,0,0.95);
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex; /* Show when active class is added */
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* Transform bars into an 'X' when active */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Products Page Specifics */
.products-page { padding-top: 40px; }
.text-center { text-align: center; }
.pb-0 { padding-bottom: 0; }

.img-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #f4f4f4;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.p-card:hover .img-container img {
    transform: scale(1.1);
}

.p-info {
    padding: 20px 0;
    text-align: left;
}

.p-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.p-info p {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Material Tables Styling */
.material-tables {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.m-col h4 {
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.m-col ul {
    list-style: none;
    padding: 0;
}

.m-col ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #ccc;
}

.material-img {
    width: 100%;
    border-radius: 2px;
    filter: sepia(20%);
}

/* Factory Page Specifics */
.factory-page { padding-top: 80px; }
.pt-0 { padding-top: 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    transform: translateY(20px);
    transition: 0.4s ease;
}

.gallery-overlay h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay p {
    opacity: 1;
}

/* Tech List Styling */
.tech-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-item {
    border-left: 2px solid var(--gold);
    padding-left: 15px;
    margin-bottom: 20px;
}

.tech-item strong {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
}



/* Contact Page Specifics */
.contact-page { padding-top: 80px; }
.items-start { align-items: flex-start; }
.w-100 { width: 100%; border: none; cursor: pointer; }

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.icon-gold {
    font-size: 1.5rem;
    color: var(--gold);
    background: #f9f9f9;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Form Styling */
.col-form {
    flex: 1;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 4px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}