/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #050505;
    color: #ffffff;
    line-height: 1.6;
}

/* SHARED LAYOUT */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    background-color: #000000;
}

/* HEADER CENTERED */
.header-inner {
    text-align: center;
    padding: 30px 0;
}

/* BRAND / LOGO */
.brand-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    margin: 0 auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-centered:hover {
    transform: scale(1.05);
    filter: brightness(1.2) saturate(1.2);
}

.brand-centered img {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(0, 191, 255, 0.6),
        0 0 24px rgba(0, 191, 255, 0.4);
    -webkit-text-stroke: 0.5px rgba(0, 191, 255, 0.5);
}

/* NAV */
.nav-centered {
    margin-top: 20px;
    text-align: center;
}

.nav-centered a {
    color: #00bfff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-centered a:hover {
    color: #ffffff;
}

/* MAIN */
main {
    padding: 0;
}

/* HERO */
.hero {
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 90px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    inset: 0;
    background: url('/assets/images/logo.svg') center center no-repeat;
    background-size: 500px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.9) saturate(1.1);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
    text-transform: none;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.08),
        0 0 12px rgba(0, 191, 255, 0.08);
}

.hero h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #00bfff;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero h3,
.capability-card h3,
.industry-card h3 {
    text-shadow:
        0 0 8px rgba(0, 191, 255, 0.4),
        0 0 16px rgba(0, 191, 255, 0.25);
}

.hero p {
    font-size: 20px;
    color: #d0d0d0;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GENERAL PAGE CONTENT */
.page-section {
    padding: 56px 0;
    text-align: center;
}

.page-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(0, 191, 255, 0.25),
        0 0 20px rgba(0, 191, 255, 0.12);
}

.page-section p {
    font-size: 20px;
    color: #d0d0d0;
    max-width: 750px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.page-section p strong {
    color: #00bfff;
}

.page-bg {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* BACKGROUND LOGO */
.page-bg-logo {
    position: absolute;
    inset: 0;
    background: url('/assets/images/logo.svg') center 55% no-repeat;
    background-size: 500px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.9) saturate(1.1);
}

/* CONTENT ABOVE BACKGROUND */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-content .section-divider {
    margin: 48px auto 24px;
}

.section-intro {
    font-size: 20px;
    color: #d0d0d0;
    max-width: 850px;
    margin: 0 auto 32px;
    text-align: center;
}

/* ABOUT PAGE BLOCKS */
.about-page {
    padding-top: 20px;
}

.about-block {
    margin-top: 40px;
    text-align: center;
}

.about-block:first-of-type {
    margin-top: 0;
}

.about-block h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow:
        0 0 8px rgba(0, 191, 255, 0.25),
        0 0 16px rgba(0, 191, 255, 0.12);
}

.about-block p {
    font-size: 20px;
    color: #d0d0d0;
    max-width: 780px;
    margin: 0 auto 22px;
    line-height: 1.8;
}

.about-block p:last-child {
    margin-bottom: 0;
}

/* HOME PAGE SPACING TUNING */
.industries.page-section,
.capabilities.page-section {
    padding-top: 36px;
    padding-bottom: 56px;
}

/* CAPABILITIES */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0;
}

.capability-card {
    border: 1px solid #1a1a1a;
    padding: 32px;
    background-color: #0a0a0a;
    box-shadow: 0 0 0 rgba(0, 191, 255, 0);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.capability-card:hover {
    border-color: #00bfff;
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(0, 191, 255, 0.08);
}

.capability-card h3 {
    font-size: 24px;
    color: #00bfff;
    margin-bottom: 14px;
}

.capability-card p {
    font-size: 18px;
    color: #d0d0d0;
    margin-bottom: 0;
    max-width: 100%;
}

/* MISSION */
.mission {
    text-align: center;
}

.mission p {
    font-size: 24px;
    line-height: 1.5;
    max-width: 850px;
    margin: 0 auto;
}

/* INDUSTRIES */
.industries-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 0;
    flex-wrap: wrap;
}

.industry-card {
    border: 1px solid #1a1a1a;
    padding: 32px;
    background-color: #0a0a0a;
    box-shadow: 0 0 0 rgba(0, 191, 255, 0);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.industry-card:hover {
    border-color: #00bfff;
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(0, 191, 255, 0.08);
}

.industry-card h3 {
    font-size: 24px;
    color: #00bfff;
    margin-bottom: 14px;
}

.industry-card p {
    font-size: 18px;
    color: #d0d0d0;
    margin-bottom: 0;
    max-width: 100%;
}

/* FOOTER */
footer {
    padding: 24px 0;
    color: #888;
    text-align: center;
}

/* FOOTER INNER */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* FOOTER LOGO */
.footer-logo {
    width: 50px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.3);
}

/* CART ICON */
.nav-cart {
    margin-left: 20px;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.nav-cart:hover .cart-count {
    background: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.cart-count {
    background: #00bfff;
    color: #000;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 6px;
}

/* PHOTONIK TITLE */
.photonik-title {
    font-family: 'Orbitron', sans-serif !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 0.9;
    margin-bottom: 8px;
}

.photonik-title span {
    display: block;
    color: #ffffff;
    text-shadow:
        -0.8px 0 rgba(255, 60, 60, 0.35),
         0.8px 0 rgba(0, 191, 255, 0.35),
         0 0 6px rgba(255, 255, 255, 0.04);
}

.photonik-title span:nth-child(3) {
    animation: photonikPulse 4.5s ease-in-out infinite;
}

@keyframes photonikPulse {
    0% {
        text-shadow:
            -0.8px 0 rgba(255, 60, 60, 0.25),
             0.8px 0 rgba(0, 191, 255, 0.25),
             0 0 4px rgba(255,255,255,0.03);
    }
    50% {
        text-shadow:
            -1px 0 rgba(255, 60, 60, 0.5),
             1px 0 rgba(0, 191, 255, 0.5),
             0 0 12px rgba(0,191,255,0.12);
    }
    100% {
        text-shadow:
            -0.8px 0 rgba(255, 60, 60, 0.25),
             0.8px 0 rgba(0, 191, 255, 0.25),
             0 0 4px rgba(255,255,255,0.03);
    }
}

/* RESPONSIVE DESIGN */

/* TABLETS / SMALL LAPTOPS */
@media (max-width: 992px) {
    .container {
        width: 92%;
    }

    .hero h2 {
        font-size: 54px;
    }

    .hero h3 {
        font-size: 26px;
    }

    .hero p {
        font-size: 20px;
        max-width: 100%;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        gap: 24px;
    }

    .industry-card {
        max-width: 100%;
    }

    .page-section {
        padding: 48px 0;
    }

    .industries.page-section,
    .capabilities.page-section {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .about-block {
        margin-top: 65px;
    }

    .about-block h3 {
        font-size: 22px;
    }

    .about-block p {
        font-size: 19px;
        max-width: 100%;
    }
}

/* TABLETS / LARGE PHONES */
@media (max-width: 768px) {
    .header-inner {
        padding: 25px 0;
    }

    .brand-centered img {
        width: 120px;
    }

    .brand-text {
        font-family: 'Orbitron', sans-serif;
        font-size: 30px;
        font-weight: 600;
        letter-spacing: 3px;
    }

    .nav-centered a {
        display: inline-block;
        margin: 0 12px 10px;
        font-size: 16px;
    }

    .hero {
        padding: 50px 0 24px;
    }

    .hero h2 {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero h3 {
        font-size: 22px;
    }

    .hero p {
        font-size: 18px;
    }

    .page-section {
        padding: 42px 0;
    }

    .page-section h2 {
        font-size: 38px;
        letter-spacing: 3px;
    }

    .section-intro {
        margin-bottom: 28px;
    }

    .industries.page-section,
    .capabilities.page-section {
        padding-top: 24px;
        padding-bottom: 42px;
    }

    .mission p {
        font-size: 21px;
    }

    .about-block {
        margin-top: 55px;
    }

    .about-block h3 {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .about-block p {
        font-size: 18px;
        line-height: 1.8;
    }

    .capability-card,
    .industry-card {
        padding: 24px;
    }

    .capability-card h3,
    .industry-card h3 {
        font-size: 22px;
    }

    .capability-card p,
    .industry-card p {
        font-size: 17px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .container {
        width: 94%;
    }

    .header-inner {
        padding: 20px 0;
    }

    .brand-centered img {
        width: 100px;
    }

    .brand-text {
        font-family: 'Orbitron', sans-serif;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 2px;
    }

    .nav-centered a {
        display: block;
        margin: 0 0 12px;
        font-size: 17px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero h3 {
        font-size: 19px;
    }

    .hero p {
        font-size: 18px;
    }

    .page-section {
        padding: 36px 0;
    }

    .page-section h2 {
        font-size: 30px;
    }

    .section-intro,
    .page-section p,
    .mission p {
        font-size: 18px;
    }

    .section-intro {
        margin-bottom: 24px;
    }

    .industries.page-section,
    .capabilities.page-section {
        padding-top: 20px;
        padding-bottom: 36px;
    }

    .about-block {
        margin-top: 45px;
    }

    .about-block h3 {
        font-size: 18px;
    }

    .about-block p {
        font-size: 17px;
        line-height: 1.75;
    }

    .capability-card,
    .industry-card {
        padding: 20px;
    }

    .capability-card h3,
    .industry-card h3 {
        font-size: 20px;
    }

    .capability-card p,
    .industry-card p {
        font-size: 16px;
    }

    footer {
        font-size: 14px;
        padding: 20px 0;
    }
}

/* SCROLL ANIMATION BASE */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* WHEN VISIBLE */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* LOGO-INSPIRED DIVIDER */
.section-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 16px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 191, 255, 0.15),
        rgba(0, 191, 255, 0.4),
        rgba(0, 191, 255, 0.15),
        transparent
    );
}

