/*
Theme Name: Techiyard
Theme URI: https://techiyard.net
Author: Najaf Ali
Description: Custom WordPress Theme for Techiyard
Version: 1.0
Text Domain: techiyard
*/

/* ========================================
   GLOBAL BASE STYLES
   ======================================== */

:root {
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    color: #0C0042;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #08DF7D;
    color: #0C0042;
}

.tracking-tightish {
    letter-spacing: -0.02em;
}

.tracking-tighter1 {
    letter-spacing: -0.045em;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #08DF7D;
    outline-offset: 3px;
    border-radius: 6px;
}

/* ========================================
   COMMON COMPONENTS (Buttons, Links, etc.)
   ======================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: -0.01em;
    padding: .95rem 1.6rem;
    border-radius: 999px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: #08DF7D;
    color: #0C0042;
    box-shadow: 0 1px 2px rgba(12, 0, 66, .08), 0 0 0 0 rgba(8, 223, 125, 0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -6px rgba(8, 223, 125, .55);
    background: #0FE889;
}

.btn-primary:active {
    transform: translateY(0px) scale(.98);
}

.btn-primary .arrow {
    transition: transform .4s var(--ease);
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .28);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-2px);
}

.btn-dark {
    background: #0C0042;
    color: #fff;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -8px rgba(12, 0, 66, .45);
    background: #180D57;
}

.btn-dark .arrow {
    transition: transform .4s var(--ease);
}

.btn-dark:hover .arrow {
    transform: translateX(4px);
}

.btn-outline-ink {
    background: #fff;
    color: #0C0042;
    border: 1.5px solid #E7E4F4;
}

.btn-outline-ink:hover {
    border-color: #0C0042;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -8px rgba(12, 0, 66, .25);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
}

.link-arrow svg {
    transition: transform .35s var(--ease);
}

.link-arrow:hover svg {
    transform: translate(3px, -3px);
}

/* ========================================
   NAVIGATION
   ======================================== */

/* Nav underline */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #08DF7D;
    transition: width .3s var(--ease);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mega menu */
#mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.mega-open #mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   GLOBAL COMPONENTS
   ======================================== */

/* Card hover lift */
.lift {
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.lift:hover {
    transform: translateY(-6px);
}

/* Chip / eyebrow */
.eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Form inputs */
input[type=text],
input[type=email],
input[type=tel],
input[type=url],
select,
textarea {
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
    border-color: #08DF7D !important;
    box-shadow: 0 0 0 4px rgba(8, 223, 125, .15);
}