/* =====================================================
   GEN FORCE — INDUSTRIAL WEBSITE
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    z-index: 9999;

    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 193, 7, 0.12);

    transition: 0.3s ease;
}

.navbar.scrolled {
    height: 78px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom-color: rgba(255, 193, 7, 0.28);
}

.nav-container {
    width: min(1400px, 92%);
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.brand-logo {
    height: 56px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 56px;
    width: auto;
    max-width: 190px;
    object-fit: contain;

    transition: 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.04);
}


/* NAV LINKS */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;

    margin-left: auto;
}

.main-nav a {
    position: relative;

    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 1.8px;
    color: #bcbcbc;

    padding: 10px 0;

    transition: 0.3s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: #ffc107;

    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: #ffc107;
}


/* ENQUIRE BUTTON */

.enquire-button {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 13px 20px;

    border: 1px solid #ffc107;

    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #ffc107;

    transition: 0.3s ease;
}

.enquire-button .arrow {
    font-size: 18px;
    transition: 0.3s ease;
}

.enquire-button:hover {
    background: #ffc107;
    color: #080808;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.2);
}

.enquire-button:hover .arrow {
    transform: translate(3px, -3px);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    border: 1px solid rgba(255, 193, 7, 0.5);
    background: transparent;
    color: #ffc107;

    font-size: 22px;
    padding: 8px 12px;

    cursor: pointer;
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
    position: relative;

    min-height: 100vh;

    /* THIS FIXES THE NAVBAR OVERLAP */
    padding-top: 88px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.72) 45%,
            rgba(0, 0, 0, 0.3) 100%
        ),
        url("images/GEN\ FORCE\ at\ Golden\ Hour.png");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/* Dark industrial overlay */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(255, 193, 7, 0.08),
            transparent 40%
        );

    pointer-events: none;
}


/* Engineering lines */

.hero::after {
    content: "";

    position: absolute;
    top: 88px;
    right: 5%;

    width: 1px;
    height: 55%;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 193, 7, 0.35),
        transparent
    );

    pointer-events: none;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255, 193, 7, 0.12),
            transparent 30%
        );
}


.hero-content {
    position: relative;
    z-index: 2;

    width: min(1400px, 92%);
    margin: 0 auto;

    padding: 80px 0 110px;

    animation: heroEntry 1s ease forwards;
}


/* Hero tag */

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;

    color: #ffc107;

    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 3px;
}

.hero-tag span {
    width: 40px;
    height: 2px;
    background: #ffc107;
}


/* Hero heading */

.hero h1 {
    max-width: 850px;

    font-family: "Rajdhani", sans-serif;
    font-size: clamp(60px, 8vw, 115px);
    font-weight: 600;

    line-height: 0.9;
    letter-spacing: -2px;

    color: #ffffff;
}

.hero h1 strong {
    display: block;
    color: #ffc107;
    font-weight: 700;
}


/* Hero paragraph */

.hero-content > p {
    max-width: 570px;

    margin-top: 30px;

    color: #c5c5c5;

    font-size: 17px;
    line-height: 1.7;
}


/* Hero buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 38px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 16px 23px;

    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition: 0.3s ease;
}

.primary-btn {
    background: #ffc107;
    color: #080808;
}

.primary-btn span {
    font-size: 19px;
    transition: 0.3s ease;
}

.primary-btn:hover {
    box-shadow: 0 0 35px rgba(255, 193, 7, 0.25);
}

.primary-btn:hover span {
    transform: translate(4px, -4px);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.secondary-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
}


/* Hero bottom information */

.hero-bottom-line {
    position: absolute;

    bottom: 25px;
    left: 4%;

    right: 4%;

    display: flex;
    justify-content: space-between;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);

    font-family: "Rajdhani", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;

    color: #999;

    z-index: 3;
}


/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    width: min(1400px, 92%);
    margin: auto;
    padding: 130px 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 60px;

    font-family: "Rajdhani", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;

    color: #888;
}

.section-label span {
    color: #ffc107;
}


/* =====================================================
   ABOUT
   ===================================================== */

.about {
    border-bottom: 1px solid #202020;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-heading h2,
.section-heading h2,
.contact-heading h2 {
    font-family: "Rajdhani", sans-serif;

    font-size: clamp(45px, 5vw, 75px);
    font-weight: 600;

    line-height: 0.95;
}

.about-heading h2 span,
.section-heading h2 span,
.contact-heading h2 span {
    display: block;
    color: #ffc107;
}

.about-text {
    color: #aaa;
    line-height: 1.8;
    font-size: 16px;
}

.about-text p + p {
    margin-top: 20px;
}

.about-stats {
    display: flex;
    gap: 55px;
    margin-top: 50px;
}

.about-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-stats strong {
    font-family: "Rajdhani", sans-serif;
    font-size: 35px;
    color: #ffc107;
}

.about-stats span {
    font-family: "Rajdhani", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #777;
}


/* =====================================================
   CAPABILITIES
   ===================================================== */

.capabilities {
    border-bottom: 1px solid #202020;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 65px;
}

.section-heading p {
    max-width: 350px;

    color: #888;

    line-height: 1.7;
}


.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;

    background: #292929;
}

.capability-card {
    position: relative;

    min-height: 350px;

    padding: 35px;

    background: #0c0c0c;

    overflow: hidden;

    transition: 0.4s ease;
}

.capability-card:hover {
    background: #111111;
    transform: translateY(-6px);
}

.card-number {
    font-family: "Rajdhani", sans-serif;
    color: #555;
    font-size: 13px;
}

.card-icon {
    margin-top: 50px;

    font-size: 30px;
    color: #ffc107;
}

.capability-card h3 {
    margin-top: 28px;

    font-family: "Rajdhani", sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.capability-card p {
    margin-top: 15px;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}

.card-line {
    position: absolute;

    left: 35px;
    bottom: 30px;

    width: 35px;
    height: 2px;

    background: #ffc107;

    transition: 0.4s ease;
}

.capability-card:hover .card-line {
    width: 80px;
}


/* =====================================================
   GALLERY
   ===================================================== */

.gallery {
    border-bottom: 1px solid #202020;
}


/* GALLERY — ALL IMAGES SAME SIZE */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 300px;
    gap: 12px;
}

.gallery-item,
.gallery-item.large,
.gallery-item.wide {
    position: relative;
    width: 100%;
    height: 300px;
    min-width: 0;
    grid-column: auto;
    grid-row: auto;
    overflow: hidden;
    background: #111;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(25%);
    transition: transform 0.8s ease,
                filter 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* TABLET */
@media (max-width: 850px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 250px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide {
        height: 250px;
    }
}

/* MOBILE */
@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide {
        height: 240px;
    }
}



/* =====================================================
   POWER STATEMENT
   ===================================================== */

.power-statement {
    padding: 120px 4%;

    background: #ffc107;
    color: #080808;
}

.statement-grid {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 100px 1fr 100px;

    align-items: center;
}

.statement-grid > span:first-child {
    font-family: "Rajdhani", sans-serif;
    font-size: 45px;
    font-weight: 700;
}

.statement-grid p {
    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.statement-grid h2 {
    margin-top: 8px;

    font-family: "Rajdhani", sans-serif;
    font-size: clamp(45px, 7vw, 90px);
    line-height: 0.9;
}

.statement-grid h2 span {
    display: block;
}

.statement-arrow {
    font-size: 60px;
    text-align: right;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {
    border-bottom: 1px solid #202020;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-heading p {
    max-width: 500px;

    margin-top: 30px;

    color: #888;

    line-height: 1.8;
}

.contact-info {
    border-top: 1px solid #333;
}

.contact-box {
    padding: 25px 0;

    border-bottom: 1px solid #333;
}

.contact-box span {
    display: block;

    margin-bottom: 10px;

    font-family: "Rajdhani", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;

    color: #777;
}

.contact-box a,
.contact-box p {
    font-size: 17px;
    color: #ddd;

    transition: 0.3s ease;
}

.contact-box a:hover {
    color: #ffc107;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: 50px 4% 25px;

    background: #050505;
}

.footer-top {
    max-width: 1400px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 40px;

    border-bottom: 1px solid #202020;
}

.footer-brand img {
    width: 160px;
}

.footer-brand p {
    margin-top: 10px;

    font-family: "Rajdhani", sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #666;
}

.footer-right {
    font-family: "Rajdhani", sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    color: #555;
}

.footer-bottom {
    max-width: 1400px;
    margin: 25px auto 0;

    display: flex;
    justify-content: space-between;

    font-family: "Rajdhani", sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;

    color: #555;
}


/* =====================================================
   SCROLL REVEAL
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   HERO ANIMATION
   ===================================================== */

@keyframes heroEntry {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .main-nav {
        gap: 22px;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        gap: 50px;
    }

}


/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */

@media (max-width: 850px) {

    .navbar {
        height: 76px;
    }

    .navbar.scrolled {
        height: 70px;
    }

    .nav-container {
        width: 90%;
    }

    .brand-logo {
        height: 48px;
    }

    .brand-logo img {
        height: 48px;
        max-width: 160px;
    }

    .main-nav {

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 25px;

        flex-direction: column;
        align-items: flex-start;

        gap: 5px;

        background: rgba(5, 5, 5, 0.98);

        border-bottom: 1px solid rgba(255, 193, 7, 0.2);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.3s ease;
    }

    .main-nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 14px 0;
    }

    .enquire-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO OVERLAP FIX MOBILE */

    .hero {
        min-height: 100vh;
        padding-top: 76px;
    }

    .hero-content {
        padding: 80px 0 130px;
    }

    .hero h1 {
        font-size: clamp(52px, 15vw, 80px);
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom-line {
        flex-wrap: wrap;
        gap: 10px 25px;
        font-size: 9px;
    }


    .section {
        padding: 90px 0;
    }


    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }


    .capability-grid {
        grid-template-columns: 1fr;
    }


    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }


    .statement-grid {
        grid-template-columns: 50px 1fr;
    }

    .statement-arrow {
        display: none;
    }


    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 500px) {

    .hero {
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-tag {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-bottom-line span:nth-child(2) {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .about-stats {
        gap: 25px;
    }

    .about-stats strong {
        font-size: 28px;
    }

}


/* =====================================================
   EXTRA MOBILE RESPONSIVE FIXES
   ===================================================== */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* NAVBAR */

    .navbar {
        height: 72px;
    }

    .nav-container {
        width: 92%;
        gap: 10px;
    }

    .brand-logo {
        height: 45px;
        max-width: 170px;
    }

    .brand-logo img {
        height: 45px;
        max-width: 170px;
        object-fit: contain;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }


    /* MOBILE NAV MENU */

    .main-nav {
        top: 72px;
        width: 100%;
        padding: 15px 25px 25px;
    }

    .main-nav a {
        font-size: 14px;
        padding: 13px 0;
    }


    /* HERO */

    .hero {
        min-height: 100svh;
        height: auto;

        padding-top: 72px;

        background-position: 65% center;
    }

    .hero-content {
        width: 88%;
        padding: 65px 0 120px;
    }

    .hero-tag {
        font-size: 10px;
        letter-spacing: 1.8px;
        margin-bottom: 20px;
    }

    .hero-tag span {
        width: 28px;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;

        font-size: clamp(45px, 14vw, 68px);
        line-height: 0.92;

        letter-spacing: -1px;

        word-break: normal;
    }

    .hero-content > p {
        width: 100%;
        max-width: 100%;

        margin-top: 25px;

        font-size: 14px;
        line-height: 1.65;
    }


    /* BUTTONS */

    .hero-buttons {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 12px;
        margin-top: 30px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        padding: 15px 18px;
        justify-content: center;
    }


    /* HERO BOTTOM */

    .hero-bottom-line {
        left: 6%;
        right: 6%;
        bottom: 20px;

        gap: 8px;

        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-bottom-line span:nth-child(3) {
        display: none;
    }


    /* ALL SECTIONS */

    .section {
        width: 88%;
        padding: 80px 0;
    }

    .section-label {
        margin-bottom: 40px;
        font-size: 11px;
        letter-spacing: 2px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-heading h2,
    .section-heading h2,
    .contact-heading h2 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 0.95;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;

        margin-top: 40px;
    }

    .about-stats strong {
        font-size: 27px;
    }

    .about-stats span {
        font-size: 9px;
        letter-spacing: 1px;
    }


    /* CAPABILITIES */

    .section-heading {
        display: block;
        margin-bottom: 40px;
    }

    .section-heading p {
        margin-top: 20px;
        font-size: 14px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .capability-card {
        min-height: 300px;
        padding: 28px;
    }

    .card-icon {
        margin-top: 35px;
    }


    /* GALLERY */

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr;

        grid-auto-rows: 260px;

        gap: 8px;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: auto;
        grid-row: auto;

        width: 100%;
        height: 260px;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* POWER STATEMENT */

    .power-statement {
        padding: 80px 6%;
    }

    .statement-grid {
        display: block;
    }

    .statement-grid > span:first-child {
        display: block;
        margin-bottom: 25px;

        font-size: 35px;
    }

    .statement-grid p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .statement-grid h2 {
        margin-top: 10px;
        font-size: clamp(42px, 13vw, 65px);
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-heading p {
        font-size: 14px;
    }

    .contact-box {
        padding: 20px 0;
    }

    .contact-box a,
    .contact-box p {
        font-size: 15px;
        word-break: break-word;
    }


    /* FOOTER */

    .footer {
        padding: 45px 6% 25px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-brand img {
        width: 145px;
        max-width: 100%;
    }

    .footer-right {
        font-size: 11px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 10px;

        font-size: 8px;
        line-height: 1.5;
    }

}