/* ============================================
   AK's Shop and Performance — Styles
   Charcoal + Coral | Clean Minimalist
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --charcoal-900: #1a1d23;
    --charcoal-800: #2d3139;
    --charcoal-700: #374151;
    --charcoal-600: #4b5563;
    --charcoal-500: #6b7280;
    --charcoal-400: #9ca3af;
    --charcoal-300: #d1d5db;
    --charcoal-200: #e5e7eb;
    --charcoal-100: #f3f4f6;
    --charcoal-50: #f9fafb;
    --coral-500: #F97066;
    --coral-400: #fb877e;
    --coral-300: #fda49b;
    --coral-600: #e8554a;
    --white: #ffffff;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal-700);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--coral-500);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 200;
    font-size: 14px;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--charcoal-200);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--coral-500);
    background: var(--charcoal-900);
    border-radius: 6px;
    padding: 4px 8px;
    letter-spacing: -0.02em;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--charcoal-800);
    letter-spacing: -0.01em;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav a {
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal-600);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav a:hover {
    color: var(--charcoal-900);
}

.nav-cta {
    background: var(--charcoal-900);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 500 !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--coral-500);
    transform: translateY(-1px);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal-700);
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0 80px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    color: var(--charcoal-900);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal-500);
    max-width: 440px;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn-coral {
    background: var(--coral-500);
    color: var(--white);
}

.btn-coral:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 112, 102, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal-700);
    border: 1.5px solid var(--charcoal-300);
}

.btn-outline:hover {
    border-color: var(--charcoal-700);
    color: var(--charcoal-900);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    flex: 1;
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--charcoal-900);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--charcoal-400);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--charcoal-200);
    margin: 0 24px;
    flex-shrink: 0;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-500);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    pointer-events: none;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header.light {
    color: var(--white);
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    color: var(--charcoal-900);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--charcoal-500);
    line-height: 1.7;
    font-weight: 300;
}

.text-coral {
    color: var(--coral-500);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--charcoal-50);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--charcoal-200);
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s var(--ease-smooth);
}

.service-card:hover {
    border-color: var(--coral-500);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-100);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--coral-500);
    transition: background 0.2s;
}

.service-card:hover .service-icon {
    background: rgba(249, 112, 102, 0.1);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal-900);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--charcoal-500);
    line-height: 1.7;
    font-weight: 300;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-body {
    font-size: 15px;
    color: var(--charcoal-500);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal-700);
}

.about-feature svg {
    color: var(--coral-500);
    flex-shrink: 0;
}

/* --- Why --- */
.why {
    padding: 100px 0;
    background: var(--charcoal-900);
}

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

.why-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.3s;
}

.why-card:hover {
    border-color: var(--coral-500);
}

.why-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--coral-500);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--charcoal-400);
    line-height: 1.7;
    font-weight: 300;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: var(--coral-500);
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    font-weight: 300;
}

.cta-actions {
    flex-shrink: 0;
}

.btn-white {
    background: var(--white);
    color: var(--coral-500);
}

.btn-white:hover {
    background: var(--charcoal-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--charcoal-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 15px;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--charcoal-200);
    border-radius: 10px;
    color: var(--coral-500);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-400);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 14px;
    color: var(--charcoal-700);
    font-weight: 400;
    line-height: 1.6;
}

.contact-value a {
    color: var(--charcoal-700);
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--coral-500);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--charcoal-200);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal-700);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal-900);
    background: var(--charcoal-50);
    border: 1.5px solid var(--charcoal-200);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(249, 112, 102, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(249, 112, 102, 0.08);
    border: 1px solid rgba(249, 112, 102, 0.2);
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--charcoal-700);
    font-weight: 400;
}

.form-success svg {
    color: var(--coral-500);
    flex-shrink: 0;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-900);
    padding: 64px 0 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: var(--charcoal-400);
    font-weight: 300;
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: var(--charcoal-400);
    transition: color 0.2s;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--coral-500);
}

.footer-contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-contact a {
    font-size: 14px;
    color: var(--charcoal-400);
    transition: color 0.2s;
    font-weight: 300;
}

.footer-contact a:hover {
    color: var(--coral-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--charcoal-500);
    font-weight: 300;
}

/* --- Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for reduced motion or no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

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

    .about-grid,
    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        border-left: 1px solid var(--charcoal-200);
        padding: 90px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease-out);
        z-index: 105;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav a {
        font-size: 16px;
    }

    .nav-cta {
        margin-top: 8px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 104;
    }

    .nav-overlay.show {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 0 60px;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 320px;
    }

    .hero-stats {
        gap: 0;
    }

    .stat-divider {
        margin: 0 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}
