
/* =========================
   NEXASTEEL LIMITED
   WEBSITE STYLESHEET
   ========================= */

:root {
    --navy: #0b1f33;
    --navy-light: #132d46;
    --steel: #6f7c89;
    --silver: #d9dee3;
    --light: #f5f7fa;
    --white: #ffffff;
    --red: #d71920;
    --dark: #08131f;
}


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}


/* =========================
   NAVIGATION
   ========================= */

.navbar {
    width: 100%;
    min-height: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.logo-area a {
    text-decoration: none;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.navigation {
    display: flex;
    gap: 28px;
}

.navigation a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--red);
}

.quote-button {
    text-decoration: none;
    background: var(--red);
    color: white;
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    box-shadow: 0 5px 15px rgba(215, 25, 32, 0.25);
    transition: 0.25s ease;
}

.quote-button:hover {
    background: #b91319;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 25, 32, 0.35);
}

/* =========================
   HERO
   ========================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    color: white;

    background:
    linear-gradient(
        90deg,
        rgba(8,19,31,0.96) 0%,
        rgba(8,19,31,0.88) 32%,
        rgba(8,19,31,0.48) 52%,
        rgba(8,19,31,0.08) 75%,
        rgba(8,19,31,0.02) 100%
    ),
    url("images/hero-billboard.png");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
}

.eyebrow {
    color: var(--red);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    text-decoration: none;
    padding: 15px 28px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.primary-button {
    background: var(--red);
    color: white;
}

.primary-button:hover {
    background: #a90f16;
}

.secondary-button {
    border: 2px solid white;
    color: white;
}

.secondary-button:hover {
    background: white;
    color: var(--navy);
}


/* =========================
   GENERAL SECTIONS
   ========================= */

section {
    padding: 90px 8%;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-heading p {
    color: #5f6b76;
    font-size: 1.05rem;
}


/* =========================
   PRODUCTS
   ========================= */

.products-section {
    background: var(--light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.product-card-content {
    padding: 22px;
    border-top: 4px solid var(--red);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.product-card h3 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.product-card p {
    color: #667085;
    font-size: 0.95rem;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.product-card p {
    color: #667085;
}


/* =========================
   ABOUT
   ========================= */

.about-section {
    background: white;
}

.about-content {
    max-width: 850px;
}

.about-content h2 {
    font-size: 2.6rem;
    color: var(--navy);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 18px;
    color: #4b5563;
    font-size: 1.05rem;
}


/* =========================
   SERVICES
   ========================= */

.services-section {
    background: var(--navy);
}

.services-section .section-heading h2 {
    color: white;
}

.services-section .section-heading p:not(.eyebrow) {
    color: #d1d5db;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.service-card {
    background: var(--navy-light);
    padding: 28px;
    border-left: 4px solid var(--red);
    border-radius: 6px;
}

.service-card h3 {
    color: white;
    margin-bottom: 12px;
}

.service-card p {
    color: #d1d5db;
}


/* =========================
   PROJECTS
   ========================= */

.projects-section {
    background: var(--light);
}

.project-placeholder {
    height: 300px;
    border: 2px dashed var(--steel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel);
    background: white;
    border-radius: 8px;
}


/* =========================
   CTA
   ========================= */

.cta-section {
    text-align: center;
    background:
        linear-gradient(
            rgba(11,31,51,0.95),
            rgba(8,19,31,0.95)
        );
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #d1d5db;
}


/* =========================
   CONTACT
   ========================= */

.contact-section {
    background: white;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.contact-details div {
    padding: 25px;
    background: var(--light);
    border-radius: 8px;
}

.contact-details h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--red);
    text-decoration: none;
    font-weight: bold;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    background: var(--dark);
    color: #cbd5e1;
    text-align: center;
    padding: 25px;
}

.footer p:first-child {
    margin-bottom: 8px;
}


/* =========================
   RESPONSIVE DESIGN
   ========================= */

@media(max-width:1000px){

    .product-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .services-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .navigation{
        gap:15px;
    }

}


@media(max-width:700px){

    .navbar{
        flex-direction:column;
        padding:20px;
        gap:18px;
    }

    .navigation{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        min-height:600px;
        padding:60px 6%;
    }

    section{
        padding:70px 6%;
    }

    .product-grid,
    .services-grid,
    .contact-details{
        grid-template-columns:1fr;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .section-heading h2,
    .about-content h2,
    .cta-section h2{
        font-size:2rem;
    }

}
/* =========================
   THEME SWITCH
   ========================= */

.theme-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-icon {
    font-size: 18px;
    color: var(--navy);
}

.switch {
    position: relative;
    width: 52px;
    height: 28px;
    display: inline-block;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--navy);
    border-radius: 30px;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: var(--red);
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}


/* =========================
   VIEW OUR WORK BUTTON
   ========================= */

.secondary-button {
    border: 2px solid var(--red);
    color: var(--red);
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.secondary-button span {
    font-size: 1.2rem;
}

.secondary-button:hover {
    background: var(--red);
    color: white;
}
/* =========================
   ABOUT PAGE
   ========================= */

.about-page-content .primary-button {
    display: inline-block;
    margin-top: 20px;
}
/* =========================
   ABOUT PAGE LAYOUT
   ========================= */

.page-hero {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 80px 8%;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: #d1d5db;
    font-size: 1.1rem;
}


.about-page-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
}


.about-page-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}


.about-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.about-page-content h2 {
    color: var(--navy);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}


.about-page-content p {
    color: #4b5563;
    margin-bottom: 18px;
    font-size: 1.05rem;
}


.about-page-content .primary-button {
    display: inline-block;
    margin-top: 20px;
}


/* ABOUT PAGE — MOBILE */

@media(max-width: 800px) {

    .about-page-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-image {
        height: 350px;
    }

    .about-page-content h2 {
        font-size: 2rem;
    }

}
/* =========================
   PRODUCT QUOTE BUTTONS
   ========================= */

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 18px;
    padding: 12px 20px;

    text-decoration: none;

    color: #101820;

    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.2px;

    background: linear-gradient(
        135deg,
        #4c555e 0%,
        #aeb6bd 20%,
        #f8f9fa 45%,
        #b9c0c6 58%,
        #737d86 78%,
        #414a52 100%
    );

    border: 1px solid #737d86;
    border-radius: 6px;

    box-shadow:
        inset 0 2px 2px rgba(255,255,255,0.9),
        inset 0 -2px 3px rgba(0,0,0,0.25),
        0 5px 14px rgba(0,0,0,0.18);

    transition: 0.25s ease;
}

.product-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);

    box-shadow:
        inset 0 2px 3px rgba(255,255,255,1),
        inset 0 -2px 3px rgba(0,0,0,0.2),
        0 9px 20px rgba(0,0,0,0.25);
}
/* =========================
   PRODUCTS PAGE
   ========================= */

.products-page-grid {
    background: var(--light);
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.product-showcase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0,0,0,0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}

.product-showcase-content {
    padding: 35px 40px 28px;
}

.product-number {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.product-showcase-content h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-showcase-content > p:not(.product-number) {
    color: #59636e;
    max-width: 750px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.product-showcase-card > img {
    width: 100%;
    height: 420px;
    display: block;

    object-fit: contain;

    background: #f3f4f6;
    padding: 12px;
}

/* MOBILE */

@media(max-width: 800px) {

    .product-showcase-content {
        padding: 28px 24px 24px;
    }

    .product-showcase-card > img {
        height: 280px;
    }

    .product-showcase-content h2 {
        font-size: 1.7rem;
    }

}
/* =========================
   SERVICES PAGE
   ========================= */

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;

    background: var(--light);
}

.service-showcase-card {
    background: white;

    padding: 34px;

    border-radius: 10px;

    border-left: 5px solid var(--red);

    box-shadow: 0 10px 28px rgba(0,0,0,0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-showcase-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.service-number {
    color: var(--red);

    font-size: 0.85rem;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.service-showcase-card h2 {
    color: var(--navy);

    font-size: 1.7rem;

    margin-bottom: 14px;
}

.service-showcase-card > p:not(.service-number) {
    color: #5c6670;

    line-height: 1.75;
}


/* MOBILE */

@media(max-width: 800px) {

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase-card {
        padding: 28px 24px;
    }

}
/* =========================
   PROJECTS PAGE
   ========================= */

.projects-page-grid {
    background: var(--light);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 28px rgba(0,0,0,0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 300px;

    object-fit: contain;

    display: block;
    background: #f3f4f6;
}

.project-card-content {
    padding: 28px;
}

.project-type {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2px;

    margin-bottom: 8px;
}

.project-card-content h2 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-card-content p:not(.project-type) {
    color: #5c6670;
    line-height: 1.7;
}

/* Make fabrication project span full width */

.project-card-wide {
    grid-column: 1 / -1;
}

.project-card-wide img {
    height: 430px;
}


/* MOBILE */

@media(max-width: 800px) {

    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    .project-card-wide {
        grid-column: auto;
    }

    .project-card img,
    .project-card-wide img {
        height: 280px;
    }

}
/* Contact Call & WhatsApp Buttons */

.contact-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.call-button,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    border-radius: 6px;

    text-decoration: none;
    font-weight: 700;

    transition: 0.25s ease;
}


/* CALL */

.call-button {
    background: #4f6f8f;
    color: white;

    box-shadow: 0 4px 12px rgba(79, 111, 143, 0.25);
}

.call-button:hover {
    background: #6383a3;
    transform: translateY(-2px);

    box-shadow: 0 7px 16px rgba(79, 111, 143, 0.30);
}

/* WHATSAPP */

.whatsapp-button {
    background: #25D366;
    color: white;
}

.whatsapp-button:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}
/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
    background: var(--light);
}


/* LEFT SIDE */

.contact-details {
    padding: 20px 0;
}

.contact-details h2 {
    color: var(--navy);
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-details > p:not(.eyebrow) {
    color: #5c6670;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-item {
    padding: 22px 0;
    border-bottom: 1px solid #d7dce1;
}

.contact-item h3 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--navy);
}

.contact-item > p {
    color: #5c6670;
}


/* QUOTE FORM */

.quote-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.10);

    border-top: 5px solid var(--red);
}

.form-label {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.quote-form-container h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 28px;
}


/* FORM LAYOUT */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cfd5db;
    border-radius: 6px;

    background: #fafbfc;

    color: var(--dark);
    font-family: inherit;
    font-size: 0.95rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* WHEN CUSTOMER CLICKS A FIELD */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);

    box-shadow:
        0 0 0 3px rgba(215, 25, 32, 0.10);

    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}


/* SUBMIT BUTTON */

.form-submit {
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}


/* MOBILE */

@media(max-width: 800px) {

    .contact-page {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form-container {
        padding: 28px 22px;
    }

    .contact-details h2 {
        font-size: 2rem;
    }

}
/* =========================
   DARK THEME
   ========================= */

body.dark-theme {
    background: #0b1218;
    color: #e9edf1;
}


/* NAVIGATION */

body.dark-theme .navbar {
    background: #111b24;
    border-bottom-color: #293641;
}

body.dark-theme .logo-area a,
body.dark-theme .navigation a,
body.dark-theme .theme-icon {
    color: #f4f6f8;
}

body.dark-theme .navigation a:hover {
    color: var(--red);
}


/* PAGE BACKGROUNDS */

body.dark-theme .products-section,
body.dark-theme .about-section,
body.dark-theme .services-section,
body.dark-theme .projects-section,
body.dark-theme .about-page-section {
    background: #0b1218;
}

body.dark-theme .products-page-grid,
body.dark-theme .services-page-grid,
body.dark-theme .projects-page-grid,
body.dark-theme .contact-page {
    background: #0b1218;
}


/* CARDS */

body.dark-theme .product-card,
body.dark-theme .product-showcase-card,
body.dark-theme .service-showcase-card,
body.dark-theme .project-card,
body.dark-theme .quote-form-container {
    background: #151f28;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.35);
}


/* HEADINGS */

body.dark-theme .product-card h3,
body.dark-theme .product-showcase-content h2,
body.dark-theme .service-showcase-card h2,
body.dark-theme .project-card-content h2,
body.dark-theme .about-page-content h2,
body.dark-theme .contact-details h2,
body.dark-theme .contact-item h3,
body.dark-theme .quote-form-container h2,
body.dark-theme .form-group label,
body.dark-theme .contact-number {
    color: #f3f6f8;
}


/* NORMAL TEXT */

body.dark-theme .product-card p,
body.dark-theme .product-showcase-content > p:not(.product-number),
body.dark-theme .service-showcase-card > p:not(.service-number),
body.dark-theme .project-card-content p:not(.project-type),
body.dark-theme .about-page-content p,
body.dark-theme .contact-details > p:not(.eyebrow),
body.dark-theme .contact-item > p {
    color: #aeb8c1;
}


/* PRODUCT & PROJECT IMAGE AREAS */

body.dark-theme .product-showcase-card > img,
body.dark-theme .project-card img {
    background: #101820;
}


/* CONTACT FORM FIELDS */

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
    background: #101820;
    border-color: #394752;
    color: #f3f6f8;
}

body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder {
    color: #7f8b95;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus,
body.dark-theme .form-group textarea:focus {
    background: #131d25;
}


/* CONTACT DIVIDERS */

body.dark-theme .contact-item {
    border-bottom-color: #34414c;
}


/* FOOTER */

body.dark-theme .footer {
    background: #060b10;
}
/* =========================
   DARK THEME FIXES
   ========================= */

/* Make homepage and page headings visible */

body.dark-theme main h1,
body.dark-theme main h2,
body.dark-theme main h3 {
    color: #f3f6f8;
}


/* Keep red labels red */

body.dark-theme .eyebrow,
body.dark-theme .product-number,
body.dark-theme .service-number,
body.dark-theme .project-type,
body.dark-theme .form-label {
    color: var(--red);
}

/* =========================
   DARK MODE - GET IN TOUCH
   ========================= */

body.dark-theme .cta-section {
    background: rgba(11, 18, 24, 0.70) !important;

    color: #f3f6f8;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .cta-section h2 {
    color: #f3f6f8;
}

body.dark-theme .cta-section p {
    color: #b8c1c9;
}

/* CONTACT INFORMATION CARDS */

body.dark-theme .contact-item {
    background: #111b24;

    padding: 20px;
    margin-bottom: 14px;

    border: 1px solid #2e3b46;
    border-radius: 8px;
}

body.dark-theme .contact-item h3 {
    color: #f3f6f8;
}

body.dark-theme .contact-item p {
    color: #aeb8c1;
}

body.dark-theme .contact-item a:not(.call-button):not(.whatsapp-button) {
    color: #d8e0e6;
}
/* =========================
   FULL WEBSITE WORKSHOP BACKGROUND
   ========================= */

body {
    background:
        linear-gradient(
            rgba(8, 19, 31, 0.78),
            rgba(8, 19, 31, 0.78)
        ),
        url("images/workshop-bg.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/* Allow workshop background to show through */

.products-section,
.about-section,
.services-section,
.projects-section,
.products-page-grid,
.services-page-grid,
.projects-page-grid,
.contact-page,
.about-page-section {
    background: rgba(245, 247, 250, 0.92);
}
body.dark-theme .products-section,
body.dark-theme .about-section,
body.dark-theme .services-section,
body.dark-theme .projects-section,
body.dark-theme .products-page-grid,
body.dark-theme .services-page-grid,
body.dark-theme .projects-page-grid,
body.dark-theme .contact-page,
body.dark-theme .about-page-section {
    background: rgba(11, 18, 24, 0.90);
}
body {
    background-image: none !important;
    background-color: transparent !important;
}
/* =========================
   WORKSHOP BACKGROUND VISIBILITY
   ========================= */

/* LIGHT MODE */

.products-section,
.about-section,
.services-section,
.projects-section,
.products-page-grid,
.services-page-grid,
.projects-page-grid,
.contact-page,
.about-page-section {
    background: rgba(245, 247, 250, 0.78) !important;
}


/* DARK MODE */

body.dark-theme .products-section,
body.dark-theme .about-section,
body.dark-theme .services-section,
body.dark-theme .projects-section,
body.dark-theme .products-page-grid,
body.dark-theme .services-page-grid,
body.dark-theme .projects-page-grid,
body.dark-theme .contact-page,
body.dark-theme .about-page-section {
    background: rgba(11, 18, 24, 0.65) !important;
}
body {
    background:
        linear-gradient(
            rgba(8, 19, 31, 0.35),
            rgba(8, 19, 31, 0.35)
        ),
        url("images/workshop-bg.png") !important;

    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}
/* ==========================================
   HOMEPAGE GET IN TOUCH - WORKSHOP STYLE
   ========================================== */

/* Entire Get in Touch section */

.contact-section {
    position: relative;

    background: rgba(8, 19, 31, 0.78) !important;

    color: white;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    overflow: hidden;
}


/* Subtle glass effect */

.contact-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        110deg,
        rgba(5, 12, 18, 0.92) 0%,
        rgba(8, 19, 31, 0.78) 50%,
        rgba(8, 19, 31, 0.55) 100%
    );

    pointer-events: none;
}


/* Keep content above overlay */

.contact-section > * {
    position: relative;
    z-index: 1;
}


/* GET IN TOUCH label */

.contact-section .eyebrow {
    color: var(--red) !important;
}


/* Main headline */

.contact-section h2 {
    color: #ffffff !important;
}


/* Normal text */

.contact-section p {
    color: #c8d0d7;
}


/* ==========================================
   CONTACT INFO CARDS
   ========================================== */

.contact-grid {
    position: relative;
    z-index: 1;
}


/* Individual Phone / Email / Location boxes */

.contact-card {
    background: rgba(15, 24, 32, 0.82) !important;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 9px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(6px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


/* Card hover */

.contact-card:hover {
    transform: translateY(-4px);

    background: rgba(20, 31, 41, 0.92) !important;

    border-color: rgba(215, 25, 32, 0.55);
}


/* Phone / Email / Location headings */

.contact-card h3 {
    color: #ffffff !important;
}


/* Phone and email links */

.contact-card a {
    color: #ff343b !important;

    font-weight: 700;

    text-decoration: none;
}


/* Location text */

.contact-card p {
    color: #c5ced6 !important;
}


/* ==========================================
   DARK MODE
   ========================================== */

body.dark-theme .contact-section {
    background: rgba(5, 11, 16, 0.72) !important;
}

body.dark-theme .contact-card {
    background: rgba(10, 18, 25, 0.86) !important;
}

body.dark-theme .contact-section h2,
body.dark-theme .contact-card h3 {
    color: #0d1e44 !important;
}

body.dark-theme .contact-section p {
    color: #c5ced6;
}


/* MOBILE */

@media(max-width: 800px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}
/* ==========================================
   LIGHT MODE - STRONGER WORKSHOP BACKGROUND
   ========================================== */

body:not(.dark-theme) {
    background:
        linear-gradient(
            rgba(8, 19, 31, 0.12),
            rgba(8, 19, 31, 0.12)
        ),
        url("images/workshop-bg.png") !important;

    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}


/* Main light-mode sections */

body:not(.dark-theme) .products-section,
body:not(.dark-theme) .about-section,
body:not(.dark-theme) .services-section,
body:not(.dark-theme) .projects-section,
body:not(.dark-theme) .products-page-grid,
body:not(.dark-theme) .services-page-grid,
body:not(.dark-theme) .projects-page-grid,
body:not(.dark-theme) .contact-page,
body:not(.dark-theme) .about-page-section {
    background: rgba(245, 247, 250, 0.65) !important;

    backdrop-filter: blur(2px);
}
/* ==========================================
   NEXASTEEL NAVBAR LOGO
   ========================================== */

.logo-area .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    color: var(--navy);

    font-weight: 800;
    font-size: 1.15rem;
}

.navbar-logo {
    width: 44px;
    height: 44px;

    object-fit: contain;

    display: block;
}


/* DARK MODE */

body.dark-theme .logo-area .brand-link {
    color: #ffffff;
}


/* MOBILE */

@media(max-width: 800px) {

    .navbar-logo {
        width: 38px;
        height: 38px;
    }

    .logo-area .brand-link {
        font-size: 1rem;
    }

}
/* =========================
   ACTIVE NAVIGATION
   ========================= */

.navigation a {
    position: relative;
}

.navigation a.active {
    color: var(--red);
    font-weight: 800;
}

.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -7px;

    height: 3px;

    background: var(--red);

    border-radius: 3px;
}


/* DARK MODE */

body.dark-theme .navigation a.active {
    color: #ff343b;
}

body.dark-theme .navigation a.active::after {
    background: #ff343b;
}
/* =========================
   MOBILE HAMBURGER BUTTON
   ========================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    background: transparent;

    border: 1px solid rgba(11, 31, 51, 0.25);
    border-radius: 6px;

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 10px;
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 3px;

    background: var(--navy);

    border-radius: 3px;

    transition: 0.3s ease;
}


/* DARK MODE */

body.dark-theme .menu-toggle {
    border-color: rgba(255, 255, 255, 0.25);
}

body.dark-theme .menu-toggle span {
    background: white;
}


/* MOBILE */

@media (max-width: 800px) {

    .menu-toggle {
        display: flex;
    }

}
/* =========================
   HAMBURGER MENU BUTTON
   ========================= */

.menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;

    background: transparent;
    border: 1px solid rgba(11, 31, 51, 0.25);
    border-radius: 6px;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 10px;

    flex-shrink: 0;
}

.menu-toggle span {
    display: block !important;

    width: 23px;
    height: 3px;

    background: var(--navy);

    border-radius: 3px;

    transition: 0.3s ease;
}


/* DARK MODE */

body.dark-theme .menu-toggle {
    border-color: rgba(255,255,255,0.3);
}

body.dark-theme .menu-toggle span {
    background: white;
}


/* HIDE HAMBURGER ON LARGE DESKTOPS */

@media (min-width: 901px) {

    .menu-toggle {
        display: none !important;
    }

}
/* =========================
   MOBILE NAVIGATION
   ========================= */

@media (max-width: 900px) {

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;

        flex-wrap: wrap;
    }

    /* Hide desktop navigation initially */

    .navigation {
        display: none;

        width: 100%;

        order: 10;

        flex-direction: column;
        align-items: stretch;

        padding: 18px 0 8px;

        border-top: 1px solid rgba(11, 31, 51, 0.12);
    }


    /* JavaScript will add this class */

    .navigation.mobile-open {
        display: flex;
    }


    .navigation a {
        width: 100%;

        padding: 13px 8px;

        border-bottom: 1px solid rgba(11, 31, 51, 0.08);
    }


    /* Remove desktop underline */

    .navigation a.active::after {
        display: none;
    }


    /* Active mobile page */

    .navigation a.active {
        color: var(--red);
        padding-left: 15px;

        border-left: 3px solid var(--red);
    }


    /* Hide desktop quote button */

    .navbar > .quote-button {
        display: none;
    }


    /* Keep logo manageable */

    .navbar-logo {
        width: 38px;
        height: 38px;
    }

    .logo-area .brand-link {
        font-size: 1rem;
    }

}


/* DARK MOBILE MENU */

@media (max-width: 900px) {

    body.dark-theme .navigation {
        border-top-color: rgba(255,255,255,0.12);
    }

    body.dark-theme .navigation a {
        border-bottom-color: rgba(255,255,255,0.08);
    }

}
/* =========================
   HOMEPAGE CONTACT CARD FIX
   ========================= */

body.dark-theme .contact-section .contact-card {
    background: #f5f7fa !important;
}

/* Phone / Email / Location titles */

body.dark-theme .contact-section .contact-card h3 {
    color: #0b1f33 !important;
}

/* Phone and Email details */

body.dark-theme .contact-section .contact-card a {
    color: var(--red) !important;
}

/* Location text */

body.dark-theme .contact-section .contact-card p {
    color: #9aa6b2 !important;
}
/* ==========================================
   HOMEPAGE CONTACT DETAILS - DARK MODE FIX
   ========================================== */

body.dark-theme .contact-section .contact-details {
    background: #f5f7fa !important;
}

/* Phone / Email / Location titles */

body.dark-theme .contact-section .contact-details h3 {
    color: #0b1f33 !important;
    opacity: 1 !important;
}

/* Phone number and email */

body.dark-theme .contact-section .contact-details a {
    color: var(--red) !important;
    opacity: 1 !important;
}

/* Location */

body.dark-theme .contact-section .contact-details p {
    color: #9aa6b2 !important;
    opacity: 1 !important;
}
/* =========================
   MOBILE MENU ACTIONS
   ========================= */

.mobile-menu-actions {
    display: none;
}

@media (max-width: 900px) {

    .mobile-menu-actions {
        display: flex;

        flex-direction: column;
        gap: 18px;

        padding: 20px 8px 10px;
    }

    .mobile-theme-control {
        display: flex;
        align-items: center;
        gap: 10px;

        color: var(--navy);
        font-size: 0.9rem;
        font-weight: 700;
    }

    .mobile-quote-button {
        display: block;

        width: 100%;

        padding: 14px 20px;

        background: var(--red);
        color: white !important;

        text-align: center;
        text-decoration: none;

        border-radius: 6px;

        font-weight: 800;
    }

    .mobile-quote-button:hover {
        background: #b91319;
    }


    /* Hide original navbar theme switch on mobile */

    .navbar > .theme-switch {
        display: none;
    }

}


/* DARK MODE */

body.dark-theme .mobile-theme-control {
    color: #f3f6f8;
}
/* =========================
   HAMBURGER TO X ANIMATION
   ========================= */

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* =========================
   MOBILE BACKGROUND FIX
   ========================= */

@media (max-width: 900px) {

    body,
    body:not(.dark-theme),
    body.dark-theme {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

}
/* =========================
   MOBILE BACKGROUND FIX
   ========================= */

@media (max-width: 900px) {

    body,
    body:not(.dark-theme),
    body.dark-theme {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

}
/* Smooth scrolling for homepage links */

html {
    scroll-behavior: smooth;
}
/* =========================
   PROJECT PHOTO GALLERY
   ========================= */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;

    padding: 0 20px 20px;
}

.project-gallery img {
    width: 100%;
    height: 300px;

    object-fit: cover;

    display: block;

    border-radius: 7px;
}


/* Mobile */

@media (max-width: 800px) {

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery img {
        height: auto;
        max-height: 450px;
        object-fit: contain;
    }

}
/* =========================
   HOMEPAGE PROJECT GALLERY
   ========================= */

.homepage-project-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.homepage-project-gallery img {
    width: 100%;
    height: 240px;

    object-fit: cover;
    display: block;

    border-radius: 8px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.homepage-project-gallery img:hover {
    transform: translateY(-5px) scale(1.01);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28);
}


/* TABLET */

@media (max-width: 1000px) {

    .homepage-project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* PHONE */

@media (max-width: 600px) {

    .homepage-project-gallery {
        grid-template-columns: 1fr;
    }

    .homepage-project-gallery img {
        height: 300px;
    }

}
/* =========================
   PROJECT IMAGE LIGHTBOX
   ========================= */

.homepage-project-gallery img {
    cursor: zoom-in;
}

.project-lightbox {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.92);

    z-index: 9999;
}

.project-lightbox.open {
    display: flex;
}

.project-lightbox img {
    max-width: 95%;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    background: transparent;
    border: none;

    color: white;

    font-size: 45px;
    line-height: 1;

    cursor: pointer;

    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--red);
}


/* MOBILE */

@media (max-width: 600px) {

    .project-lightbox {
        padding: 15px;
    }

    .project-lightbox img {
        max-width: 100%;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 15px;
        right: 18px;
    }

}
/* =========================
   LIGHTBOX NAVIGATION
   ========================= */

.lightbox-nav {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    color: white;

    font-size: 38px;

    cursor: pointer;

    z-index: 10000;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-nav:hover {
    background: var(--red);
}


/* =========================
   MOBILE / TABLET LIGHTBOX
   ========================= */

@media (max-width: 900px) {

    .lightbox-nav {
        width: 46px;
        height: 60px;

        font-size: 30px;

        background: rgba(0, 0, 0, 0.45);

        border-color: rgba(255, 255, 255, 0.35);
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .project-lightbox img {
        max-width: 92%;
        max-height: 82vh;
    }

}
/* =========================
   LIGHTBOX ZOOM
   ========================= */

#lightbox-image {
    transform-origin: center center;
    touch-action: none;

    user-select: none;
    -webkit-user-drag: none;

    will-change: transform;
}
/* =========================
   ZOOMED IMAGE PANNING
   ========================= */

#lightbox-image {
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

#lightbox-image.is-panning {
    cursor: grabbing;
    transition: none;
}

/* =====================================
   NEXASTEEL VIDEO BACKGROUND
===================================== */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.video-background video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* =====================================
   PRODUCTS PAGE VIDEO VISIBILITY
===================================== */

/* LIGHT MODE */
body:not(.dark-theme) .products-page-grid {
    background: rgba(245, 247, 250, 0.35) !important;
}

/* DARK MODE */
body.dark-theme .products-page-grid {
    background: rgba(11, 18, 24, 0.45) !important;
}
/* Products page - transparent dark-grey panels */

body.dark-theme .product-showcase-card,
body.dark-theme .product-showcase-content {
    background: rgba(21, 31, 40, 0.20) !important;
}

body:not(.dark-theme) .product-showcase-card,
body:not(.dark-theme) .product-showcase-content {
    background: rgba(245, 247, 250, 0.25) !important;
}