/*
Theme Name: TeckOps
Theme URI: https://example.com/teckops
Author: TeckOps
Author URI: https://example.com
Description: Custom starter WordPress theme for TeckOps.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: teckops
*/

:root {
    --teckops-bg: #ffffff;
    --teckops-text: #0f172a;
    --teckops-primary: #501270;
    --teckops-primary-light: #f7edff;
    --teckops-muted: #64748b;
    --teckops-border: #e2e8f0;
    --teckops-soft: #f8fafc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: var(--teckops-text);
    background: var(--teckops-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Audiowide', 'Roboto', Arial, sans-serif;
    letter-spacing: 0.02em;
}

a {
    color: inherit;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header,
.site-footer {
    border-bottom: 1px solid var(--teckops-border);
    padding: 1rem 0;
}

.site-footer {
    border-top: 1px solid var(--teckops-border);
    border-bottom: 0;
    margin-top: 3rem;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-title {
    margin: 0;
    font-size: 1.35rem;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--teckops-muted);
}

.main-navigation a:hover {
    color: var(--teckops-primary);
}

.content-area {
    padding: 2rem 0;
}

.entry-title {
    margin-top: 0;
}

/* Landing Page */

.teckops-landing-body {
    background: #fff;
}

.teckops-landing {
    color: #0f172a;
}

.landing-shell {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.landing-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
}

.landing-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.landing-logo img {
    width: auto;
    height: 40px;
}

.landing-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.landing-nav a {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-nav a:hover {
    color: var(--teckops-primary);
}

.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 1.2rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
}

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

.landing-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.landing-mobile-menu a {
    text-decoration: none;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
}

.landing-mobile-menu.is-open {
    display: flex;
}

.landing-header.menu-open .mobile-menu-open {
    display: none;
}

.landing-header.menu-open .mobile-menu-close {
    display: inline;
}

.nav-cta {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 45px;
    padding: 0.65rem 1.55rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--teckops-primary);
    color: #fff;
    border: 1px solid var(--teckops-primary);
}

.btn-primary:hover {
    background: #43105d;
    border-color: #43105d;
}

.btn-outline {
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: rgba(80, 18, 112, 0.35);
    color: var(--teckops-primary);
}

.btn-sm {
    min-height: 38px;
    padding: 0.55rem 1.1rem;
    font-size: 0.83rem;
}

.hero-section {
    position: relative;
    z-index: 0;
    min-height: 88vh;
    padding: 0;
    overflow: hidden;
    background: #0b0812;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(8, 5, 15, 0.65), rgba(8, 5, 15, 0.75));
}

.hero-video-vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(80, 18, 112, 0.18), rgba(11, 8, 18, 0.82));
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-top: 52px;
}

.pill {
    display: inline-block;
    margin: 0;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(80, 18, 112, 0.28);
    background: rgba(80, 18, 112, 0.05);
    color: var(--teckops-primary);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-title {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(2.15rem, 5.8vw, 4.45rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.hero-title span,
.contact-section h2 span {
    color: var(--teckops-primary);
}

.hero-section .hero-title span {
    color: #d4b3ff;
}

.hero-copy {
    max-width: 640px;
    margin: 1rem auto 0;
    color: rgba(241, 245, 249, 0.9);
    font-size: clamp(1rem, 2.1vw, 1.16rem);
}

.hero-actions {
    margin-top: 1.45rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    margin: 4.8rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
}

.hero-section .btn-outline {
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.2);
    border-color: rgba(241, 245, 249, 0.45);
}

.hero-section .btn-outline:hover {
    color: #ffffff;
    border-color: rgba(241, 245, 249, 0.8);
    background: rgba(15, 23, 42, 0.35);
}

.hero-stats div {
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--teckops-primary);
    font-family: 'Audiowide', 'Roboto', Arial, sans-serif;
}

.hero-stats span {
    color: #64748b;
    font-size: 0.88rem;
}

.section {
    padding: 5.6rem 0;
}

.section-muted {
    background: var(--teckops-soft);
}

.section-heading {
    text-align: center;
    margin-bottom: 3.3rem;
}

.section-heading h2 {
    margin: 0.85rem 0 0;
    font-size: clamp(1.75rem, 3.8vw, 2.8rem);
    line-height: 1.15;
}

.section-heading > p:last-child {
    margin: 0.9rem auto 0;
    max-width: 700px;
    color: #64748b;
}

.cards-grid {
    display: grid;
    gap: 1.1rem;
}

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

.cards-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--teckops-border);
    border-radius: 18px;
    background: #fff;
    padding: 1.45rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    border-color: rgba(80, 18, 112, 0.3);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.service-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.9rem;
    background: rgba(80, 18, 112, 0.1);
    color: var(--teckops-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.service-icon i {
    line-height: 1;
}

.service-card h3,
.project-content h3,
.why-card h3 {
    margin: 0.9rem 0 0.45rem;
    font-size: 1.1rem;
}

.service-card p,
.project-content p,
.why-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.93rem;
}

.tech-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--teckops-border);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    padding: 0.65rem 1.15rem;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tech-tag:hover {
    border-color: rgba(80, 18, 112, 0.35);
    color: var(--teckops-primary);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.tech-tag i {
    color: var(--teckops-primary);
    font-size: 1rem;
}

.tech-tag img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    flex-shrink: 0;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-banner {
    height: 155px;
    background: linear-gradient(135deg, rgba(80, 18, 112, 0.2), rgba(80, 18, 112, 0.09), rgba(80, 18, 112, 0.02));
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.35rem;
}

.project-category {
    width: fit-content;
    font-size: 0.74rem;
    border-radius: 999px;
    background: rgba(80, 18, 112, 0.12);
    color: var(--teckops-primary);
    padding: 0.22rem 0.65rem;
    font-weight: 600;
}

.why-layout {
    display: grid;
    gap: 2rem;
}

.why-copy p {
    color: #64748b;
    max-width: 590px;
}

.why-copy .btn {
    margin-top: 1rem;
}

.process-strip {
    position: relative;
    overflow: hidden;
    background: var(--teckops-primary);
    padding: 4rem 0;
}

.process-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

.process-strip .landing-shell {
    position: relative;
    z-index: 1;
}

.process-caption {
    text-align: center;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    font-weight: 600;
}

.process-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid div {
    text-align: center;
    color: #fff;
}

.process-grid span {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
    font-weight: 700;
}

.process-icon {
    display: block;
    margin: 0 auto 0.55rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.process-grid p {
    margin: 0.65rem 0 0;
    font-weight: 600;
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 20%);
    width: 620px;
    height: 350px;
    border-radius: 999px;
    background: rgba(80, 18, 112, 0.08);
    filter: blur(95px);
    pointer-events: none;
}

.contact-grid .card {
    text-align: center;
    border-color: #f1f5f9;
    background: var(--teckops-soft);
}

.contact-form {
    margin: 2rem auto 0;
    width: min(760px, 100%);
    padding: 1.4rem;
    border: 1px solid var(--teckops-border);
    border-radius: 18px;
    background: #fff;
    display: grid;
    gap: 1rem;
    text-align: left;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.85rem;
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
}

.contact-form label span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--teckops-border);
    border-radius: 12px;
    padding: 0.72rem 0.82rem;
    font: inherit;
    color: #0f172a;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(80, 18, 112, 0.55);
    box-shadow: 0 0 0 2px rgba(80, 18, 112, 0.08);
}

.contact-form-message {
    grid-column: 1 / -1;
}

.contact-notice {
    width: min(760px, 100%);
    margin: 1.4rem auto 0;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-notice-success {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.contact-notice-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.contact-card i {
    display: block;
    font-size: 1.45rem;
    color: var(--teckops-primary);
}

.contact-card p {
    margin: 0.45rem 0 0;
    color: #334155;
    font-weight: 600;
}

.landing-footer {
    background: var(--teckops-soft);
    border-top: 1px solid #f1f5f9;
    padding: 3.4rem 0 2rem;
}

.scroll-toggle-btn {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 70;
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid rgba(80, 18, 112, 0.32);
    border-radius: 999px;
    background: rgba(80, 18, 112, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.26);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.scroll-toggle-btn:hover {
    background: #43105d;
    transform: translateY(-2px);
}

.scroll-toggle-btn i {
    font-size: 0.95rem;
}

.scroll-toggle-btn.is-up i::before {
    content: '\f077';
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-brand img {
    height: 42px;
    width: auto;
}

.footer-brand p {
    max-width: 370px;
    font-size: 0.9rem;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid var(--teckops-border);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    border-color: rgba(80, 18, 112, 0.35);
    color: var(--teckops-primary);
    background: rgba(80, 18, 112, 0.05);
}

.landing-footer h3 {
    margin: 0 0 0.8rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #94a3b8;
}

.landing-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.landing-footer li a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
}

.link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-footer li a:hover {
    color: var(--teckops-primary);
}

.footer-bottom {
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--teckops-border);
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
    color: #94a3b8;
    font-size: 0.78rem;
}

.animate-delay-1 {
    animation-delay: 0.25s;
    animation-fill-mode: both;
}

.animate-delay-2 {
    animation-delay: 0.45s;
    animation-fill-mode: both;
}

@media (min-width: 700px) {
    .hero-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem;
    }

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

    .cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .landing-nav {
        display: inline-flex;
    }

    .nav-cta {
        display: inline-flex;
    }

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

    .cards-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
        gap: 2.2rem;
    }
}
