/* ========================================
   Gforce Ink — Modern Dark Theme
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #161616;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-text-dim: #999999;
    --color-accent-magenta: #e84393;
    --color-accent-cyan: #00d2d3;
    --color-accent-gradient: linear-gradient(135deg, #e84393, #00d2d3);
    --color-border: #222222;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(232, 67, 147, 0.15);
}

h1.nav-logo-wrapper,
.nav-logo-wrapper h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ========================================
   Skip Link
   ======================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-magenta);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   Focus Visible
   ======================================== */

:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: 2rem; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.25rem; font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.accent {
    color: var(--color-accent-magenta);
}

/* ========================================
   Layout
   ======================================== */

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

section {
    padding: 100px 0;
    position: relative;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav-logo .accent {
    color: var(--color-accent-magenta);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-text);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

.nav-backdrop.active {
    display: block;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-visual {
    padding-top: 70px;
    padding-bottom: 20px;
    text-align: center;
}

.hero-artwork {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-location {
    font-size: 1rem;
    color: var(--color-text-dim);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
    width: fit-content;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-dim), transparent);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-text-dim);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 220px;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(232, 67, 147, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-accent-magenta);
    color: var(--color-accent-magenta);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-magenta);
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(232, 67, 147, 0.3);
    border-radius: 100px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: var(--color-bg-alt);
}

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

.about-image {
    position: relative;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content p:last-of-type {
    margin-bottom: 32px;
}

/* ========================================
   Services Section
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(232, 67, 147, 0.3);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: rgba(232, 67, 147, 0.2);
    box-shadow: var(--shadow-glow);
}

.service-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent-magenta);
    border-radius: 50%;
}

.service-list li strong {
    color: var(--color-text);
    font-weight: 600;
}

.service-icon {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--color-accent-magenta);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--color-text);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Portfolio Section
   ======================================== */

.portfolio {
    background: var(--color-bg-alt);
}

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

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.portfolio-overlay {
    display: none;
}

.portfolio-note a {
    color: var(--color-accent-cyan);
    font-weight: 500;
}

.portfolio-note a:hover {
    color: var(--color-accent-magenta);
}

.portfolio-note {
    text-align: center;
    margin-top: 40px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* ========================================
   Contact Section
   ======================================== */

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

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

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(232, 67, 147, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent-magenta);
    margin-bottom: 16px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    color: var(--color-text);
}

.contact-card a {
    color: var(--color-accent-cyan);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--color-accent-magenta);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent-magenta);
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.1);
}

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

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--color-bg);
    color: var(--color-text);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 280px;
}

footer h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-accent-magenta);
    border-color: var(--color-accent-magenta);
    color: white;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.honeypot {
    display: none;
}

.form-success {
    display: none;
    margin-top: 16px;
    text-align: center;
    color: var(--color-accent-cyan);
    font-weight: 600;
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.lightbox-placeholder {
    text-align: center;
    padding: 80px 60px;
    background: var(--color-bg-card);
    border: 2px dashed var(--color-border);
    border-radius: 16px;
}

.lightbox-placeholder h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.lightbox-placeholder p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-magenta);
}

/* ========================================
   Animations
   ======================================== */


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}


[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    [data-animate].visible {
        opacity: 1;
        transform: none;
    }

    .scroll-indicator {
        display: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }
    
    .hero-artwork {
        object-position: center 15%;
    }
    
    .hero-content {
        padding-top: 42vh;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: var(--transition);
        border-left: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: auto;
        overflow: visible;
    }
    
    .hero-visual {
        display: block;
        position: relative;
        height: auto;
        min-height: 280px;
        padding: 70px 32px 0;
        box-sizing: border-box;
    }
    
    .hero-artwork {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 40vh;
        object-fit: contain;
        object-position: center 20%;
        border-radius: 12px;
        margin: 0 auto;
    }
    
    
    .hero-content {
        padding: 24px 16px;
        position: relative;
        padding-top: 0;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 481px) {

/* ========================================
   Utility Classes
   ======================================== */
/* ========================================
   Print Stylesheet
   ======================================== */

@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .navbar,
    .scroll-indicator,
    .hero-cta,
    .portfolio-item,
    .nav-toggle,
    .nav-backdrop,
    .skip-link {
        display: none !important;
    }

    section {
        padding: 20px 0;
    }

    .service-card,
    .contact-card {
        background: #f5f5f5;
        border-color: #cccccc;
    }

    .btn {
        background: #ffffff;
        color: #000000;
        border: 1px solid #000000;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }
}
