/* -----------------------------
   CSS VARIABLES (Brand System)
------------------------------ */
:root {
    --bg-main: #0E0F13;
    --bg-secondary: #14161C;
    --text-primary: #EDEDED;
    --text-secondary: #A0A4AB;
    --accent: #8B5CF6; /* Electric Violet */
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

/* -----------------------------
   UTILITY
------------------------------ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 48px;
}

/* -----------------------------
   NAVBAR
------------------------------ */
.navbar {
    padding: 20px 0;
    background: transparent;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-secondary);
    margin-left: 32px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* -----------------------------
   HERO
------------------------------ */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual .visual-box {
    width: 100%;
    height: 360px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.2),
        rgba(139, 92, 246, 0.05)
    );
    border-radius: 20px;
}

/* -----------------------------
   BUTTONS
------------------------------ */
.btn {
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: #0E0F13;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #0E0F13;
}

/* -----------------------------
   SERVICES
------------------------------ */
.services {
    padding: 120px 0;
}

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

.service-card {
    background-color: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.service-card p {
    color: var(--text-secondary);
}

/* -----------------------------
   WHY JOLTWISE
------------------------------ */
.why {
    padding: 120px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.why-statement h2 {
    font-size: 2.4rem;
    line-height: 1.3;
}

.why-point {
    margin-bottom: 28px;
}

.why-point h4 {
    margin-bottom: 6px;
}

.why-point p {
    color: var(--text-secondary);
}

/* -----------------------------
   PROCESS
------------------------------ */
.process {
    padding: 120px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-number {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.step h4 {
    margin: 10px 0;
}

.step p {
    color: var(--text-secondary);
}

/* -----------------------------
   CTA
------------------------------ */
.cta {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 24px;
    font-size: 2.2rem;
}

/* -----------------------------
   FOOTER
------------------------------ */
.footer {
    padding: 60px 0;
    background-color: #0B0C10;
}

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

.footer p,
.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--accent);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* =============================
   RESPONSIVE REFINEMENTS
============================= */

/* ---------- Tablets & Small Laptops ---------- */
@media (max-width: 900px) {
    .hero-grid,
    .why-grid,
    .services-grid,
    .process-steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
}

/* ---------- Tablets ---------- */
@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links a {
        margin-left: 0;
        margin-right: 16px;
        font-size: 0.95rem;
    }

    .hero-grid {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {    
        background: none;
        min-height: 320px;
        display: flex;
        align-items: center;
    }
}

/* ---------- Mobile Devices ---------- */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .why-statement h2,
    .cta-inner h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .step {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .step:last-child {
        border-bottom: none;
    }

    .footer {
        text-align: center;
    }

    .footer-grid {
        gap: 24px;
    }
}

/* =============================
   MICRO-INTERACTIONS & POLISH
============================= */

/* Smooth global transitions */
a, button, .service-card, .step {
    transition: all 0.3s ease;
}

/* Navbar subtle underline on hover */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero visual soft pulse */
.hero-visual .visual-box {
    position: relative;
    overflow: hidden;
}

.hero-visual .visual-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(139, 92, 246, 0.25),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-visual .visual-box:hover::after {
    opacity: 1;
}

/* Service card accent glow on hover */
.service-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(139, 92, 246, 0.25);
}

/* Process step hover clarity */
.step:hover {
    transform: translateY(-4px);
}

.step:hover .step-number {
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

/* CTA button emphasis */
.cta .btn-primary {
    font-size: 1.05rem;
    padding: 14px 36px;
}

/* Footer link refinement */
.footer a {
    transition: color 0.25s ease;
}

/* Scroll fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Active nav link */
.nav-links a.active {
    color: var(--accent);
}

/* Active underline stays visible */
.nav-links a.active::after {
    width: 100%;
}

/* =============================
   FULL VIEWPORT HERO
============================= */

.hero-full {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay for readability */
.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        180deg,
        rgba(14, 15, 19, 0.45),
        rgba(14, 15, 19, 0.75)
    );
    display: flex;
    align-items: center;
}

/* Text styling */
.hero-full .hero-content {
    max-width: 600px;
}

.hero-full h1 {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-full p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .hero-full {
        height: 90vh;
    }

    .hero-full .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* =============================
   SERVICES FULL HERO
============================= */

.hero-services .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(14, 15, 19, 0.35),
        rgba(14, 15, 19, 0.65)
    );
}

.hero-services .hero-content {
    max-width: 720px;
}

.hero-services h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
}

.hero-services p {
    font-size: 1.05rem;
    max-width: 520px;
}

/* =============================
   SERVICES HERO IMAGE WASH
============================= */

.hero-services .hero-bg {
    filter: 
        brightness(1.25)
        contrast(0.75)
        saturate(0.6);
}

/* =============================
   ABOUT FULL HERO
============================= */

.hero-about {
    height: 90vh;
}

.hero-about .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(14, 15, 19, 0.25),
        rgba(14, 15, 19, 0.55)
    );
}

.hero-about .hero-bg {
    filter:
        brightness(1.3)
        contrast(0.7)
        saturate(0.5);
}

.hero-about .hero-content {
    max-width: 680px;
}

.hero-about h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.2;
}

.hero-about p {
    font-size: 1.05rem;
    max-width: 520px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-about {
        height: 85vh;
    }

    .hero-about .hero-content {
        text-align: left;
    }
}

/* =============================
   CONTACT FULL HERO
============================= */

.hero-contact {
    height: 85vh;
}

.hero-contact .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(14, 15, 19, 0.2),
        rgba(14, 15, 19, 0.45)
    );
}

.hero-contact .hero-bg {
    filter:
        brightness(1.4)
        contrast(0.6)
        saturate(0.4);
}

.hero-contact .hero-content {
    max-width: 520px;
}

.hero-contact h1 {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.hero-contact p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}
