/* =========================================================
   /assets/css/style.css
   LooneyAve — Sleek Future-Ready Homepage
   ========================================================= */

/* -------------------------
   RESET / BASE
------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1F4FFF;
    --blue-soft: #2a5bff;
    --green: #39FF14;
    --orange: #f97316;

    --bg-dark: #050816;
    --bg-dark-soft: #070b18;
    --bg-page: #f5f6fb;

    --panel-dark: #0b1020;
    --panel-light: #ffffff;

    --text-main: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --text-on-dark: #e5e7eb;

    --border-soft: rgba(148, 163, 184, 0.35);
    --border-dark-soft: rgba(148, 163, 253, 0.35);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* -------------------------
   HEADER
------------------------- */
.header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e3e6f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo-img {
    height: 56px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
    color: var(--blue);
    transform: translateY(-1px);
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-size: 13px;
}

.nav-cta:hover {
    background: var(--blue);
    color: #ffffff;
}

/* GRID DOT MENU BUTTON */
/* toggle button */
/* GRID DOT BUTTON */
.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 300;
    margin-left: auto;
}

.nav-toggle span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    position: absolute;
}

.nav-toggle span:nth-child(1) { top: 4px; left: 4px; }
.nav-toggle span:nth-child(2) { top: 4px; right: 4px; }
.nav-toggle span:nth-child(3) { bottom: 4px; left: 4px; }
.nav-toggle span:nth-child(4) { bottom: 4px; right: 4px; }

/* MOBILE MENU — LEFT SLIDE */
/* MOBILE MENU (SLIDE-IN LEFT) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: #ffffff;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: left 0.35s ease;
    z-index: 250;
}

/* MENU LINKS */
.mobile-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 600;
    display: block;
}

/* CTA BUTTON INSIDE MENU */
.mobile-menu a.nav-cta {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--blue);
    text-align: center;
}

/* ACTIVE STATE (MATCHES JS .open CLASS) */
.mobile-menu.open {
    left: 0;
}

/* MOBILE BREAKPOINT */
@media (max-width: 640px) {
    .nav {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
}


.service-price {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0 18px;
    color: var(--blue);
}

.service-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--text-main);
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition: 0.2s ease;
}

.service-btn:hover {
    opacity: 0.85;
}

.service-btn.featured {
    background: var(--blue);
}
/* Make all service buttons clickable */
.service-btn,
.service-card a,
.service-card .service-btn {
    cursor: pointer;
}

/* Ensure the whole link is clickable */
.service-btn {
    display: inline-block;
    text-decoration: none;
}

/* Optional: make the entire card clickable if you want */
.service-card {
    position: relative;
    z-index: 1;
}


/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    backdrop-filter: blur(4px);
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
}





/* -------------------------
   HERO
------------------------- */
.hero {
    position: relative;
    background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
    color: var(--text-on-dark);
    padding: 90px 0 80px;
    overflow: hidden;
}

/* subtle texture via gradient, not noise image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

/* orbit + glow, toned down */
.hero-bg-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 253, 0.25);
    top: -180px;
    right: -140px;
    pointer-events: none;
    opacity: 0.7;
}

.hero-bg-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(31, 79, 255, 0.45), transparent 60%);
    top: 40px;
    right: 40px;
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.8;
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 1;
}

.hero-text {
    max-width: 520px;
}

.hero-pill {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c7d2fe;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    padding: 4px 12px;
    border: 1px solid rgba(129, 140, 248, 0.6);
    margin-bottom: 14px;
}

.hero-text h1 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #f9fafb;
}

.hero-text p {
    font-size: 15px;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.btn-primary {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 6px 18px rgba(31, 79, 255, 0.28);
    transition: 0.22s ease;
}

.btn-primary:hover {
    background: var(--blue-soft);
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 10px 26px rgba(31, 79, 255, 0.38);
}

.btn-ghost {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 253, 0.4);
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.22s ease;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: var(--blue);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-soft);
}

.hero-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(55, 65, 81, 0.8);
}

/* hero dashboard */
.hero-dashboard {
    position: relative;
    flex: 1;
    min-height: 260px;
}

.hero-orbit-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 253, 0.35);
    pointer-events: none;
}

.hero-orbit-outer {
    width: 320px;
    height: 320px;
    top: -10px;
    left: 40px;
}

.hero-orbit-inner {
    width: 200px;
    height: 200px;
    top: 60px;
    left: 110px;
}

.hero-panel {
    position: absolute;
    border-radius: 16px;
    background: rgba(11, 16, 32, 0.96);
    border: 1px solid rgba(148, 163, 253, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.hero-panel-main {
    width: 320px;
    top: 10px;
    right: 0;
}

.hero-panel-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: rgba(10, 16, 32, 0.98);
    border-bottom: 1px solid rgba(30, 64, 175, 0.7);
}

.hero-panel-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.hero-panel-header .dot.red { background: #ff5f57; }
.hero-panel-header .dot.yellow { background: #febc2e; }
.hero-panel-header .dot.green { background: #28c840; }

.hero-panel-title {
    margin-left: 6px;
    font-size: 11px;
    color: var(--text-soft);
}

.hero-panel-body {
    padding: 12px 12px 14px;
}

.hero-ui-row {
    margin-bottom: 10px;
}

.hero-ui-line {
    height: 6px;
    border-radius: 999px;
    background: #111827;
    margin-bottom: 6px;
}

.hero-ui-line.wide {
    width: 80%;
    background: linear-gradient(90deg, var(--blue), var(--blue-soft));
}
.hero-ui-line.mid {
    width: 55%;
}
.hero-ui-line.small {
    width: 40%;
}

.hero-ui-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-ui-card {
    height: 60px;
    border-radius: 10px;
    background: radial-gradient(circle at top, rgba(148, 163, 253, 0.35), #020617);
    border: 1px solid rgba(148, 163, 253, 0.5);
}

/* side panels */
.hero-panel-tag {
    width: 200px;
    top: 190px;
    right: 40px;
    padding: 10px 12px 12px;
}

.hero-tag-label {
    display: inline-block;
    font-size: 11px;
    color: #c7d2fe;
    margin-bottom: 6px;
}

.hero-panel-tag p {
    font-size: 12px;
    color: var(--text-soft);
}

.hero-panel-stat {
    width: 160px;
    top: 40px;
    left: 10px;
    padding: 10px 12px 12px;
}

.hero-stat-label {
    font-size: 11px;
    color: var(--text-soft);
}

.hero-stat-number {
    display: block;
    font-size: 26px;
    color: var(--green);
    margin: 4px 0;
}

.hero-stat-caption {
    font-size: 11px;
    color: var(--text-soft);
}

@media (max-width: 640px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
        text-align: center;
    }
}

/* -------------------------
   SECTIONS
------------------------- */
.section {
    padding: 70px 0;
}

.section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.section-head h2 {
    font-size: 28px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.section-head p {
    font-size: 14px;
    color: var(--text-muted);
}

/* -------------------------
   SERVICES
------------------------- */
.services {
    background: #f5f6fb;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--panel-light);
    border-radius: 16px;
    padding: 20px 18px 22px;
    border: 1px solid #e3e6f0;
    position: relative;
    overflow: hidden;
    transition: 0.22s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(31, 79, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: 0.22s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(31, 79, 255, 0.5);
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-tag.hot {
    color: var(--blue);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.service-card ul {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.service-card li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
}

.service-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--green);
    position: absolute;
    left: 0;
    top: 7px;
}

.service-card,
.service-card * {
    position: relative;
    z-index: 5;
}


/* -------------------------
   PORTFOLIO
------------------------- */
.portfolio {
    background: #ffffff;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portfolio-frame {
    border-radius: 18px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(31, 79, 255, 0.18), rgba(57, 255, 20, 0.08));
}

.portfolio-screen {
    border-radius: 12px;
    height: 160px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(148, 163, 253, 0.6);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    transition: 0.22s ease;
}

.portfolio-screen.placeholder {
    background: linear-gradient(135deg, #e3e6f0, #cbd5f5);
}

.portfolio-item:hover .portfolio-screen {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.25);
}

.portfolio-info h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* -------------------------
   PROCESS
------------------------- */
.process {
    background: #f5f6fb;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-step {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px 20px;
    border: 1px solid #e3e6f0;
}

.step-number {
    display: inline-block;
    font-size: 12px;
    color: var(--blue);
    margin-bottom: 6px;
}

.process-step h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.process-step p {
    font-size: 13px;
    color: var(--text-muted);
}

/* -------------------------
   ABOUT
------------------------- */
.about {
    background: #ffffff;
}

.about-inner {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.about-main h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.about-main p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.about-side {
    min-width: 260px;
}

.about-card {
    background: #f5f6fb;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #e3e6f0;
}

.about-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.about-card ul {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.about-card li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
}

.about-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--blue);
    position: absolute;
    left: 0;
    top: 7px;
}

@media (max-width: 640px) {
    .about-side {
        text-align: center;
        width: 100%;
    }

    .about-card {
        margin: 0 auto;
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    .about-card ul {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }
}


/* -------------------------
   CONTACT
------------------------- */
.contact {
    background: #f5f6fb;
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 22px 24px;
    border: 1px solid #e3e6f0;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #d0d4e5;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: 0.18s ease;
    background: #f9fafb;
}

.contact-form select {
    margin-bottom: 12px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-top: 4px;
    margin-bottom: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px rgba(31, 79, 255, 0.15);
    background: #ffffff;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* -------------------------
   FOOTER
------------------------- */
.footer {
    background: #020617;
    color: var(--text-soft);
    padding: 18px 0 20px;
    border-top: 2px solid var(--green);
}

.footer-inner {
    text-align: center;
    font-size: 13px;
}

.footer-note {
    margin-top: 4px;
    color: #6b7280;
}

/* -------------------------
   RESPONSIVE
------------------------- */
@media (max-width: 960px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-dashboard {
        align-self: center;
        width: 100%;
        max-width: 360px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-gallery {
        grid-template-columns: repeat(2, 1, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .service-grid,
    .portfolio-gallery,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* SUCCESS MODAL */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: #fff;
    padding: 40px 32px;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-close {
    position: absolute;
    top: 20px;
    right: 26px;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
}

/*--------------------*/
/*TESTIMONIALS SECTION*/
/*--------------------*/

.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #374151;
}

.testimonial-name {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}
