/* Custom Fonts */
@font-face {
    font-family: 'Racing Engine Sharps';
    src: url('../fonts/RacingEngine-Sharps.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Teko', 'Racing Engine Sharps', 'Inter', sans-serif;

    --primary-color: #00ff88;
    --secondary-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #00ff88;
    --background-dark: #000000;
    --background-light: #0f0f0f;

    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 6rem;
    --section-space: clamp(4.5rem, 8vw, 8rem);
    --section-space-tight: clamp(3rem, 6vw, 4.5rem);
    --nav-offset: 6rem;
}

/* Loading Screen */
.loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: loaderFailsafeHide 0s linear 4s forwards;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loaderFailsafeHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.loading-content {
    text-align: center;
    animation: fadeInScale 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.6),
                 0 0 60px rgba(0, 255, 136, 0.4);
    font-family: 'Inter', sans-serif;
    padding-right: 0.2em;
}

.loading-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    margin: 0 auto 2rem auto;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
    display: block;
}

.loading-bar {
    display: none;
}

.loading-progress {
    display: none;
}

.matrix-dot {
    display: none;
}

.loading-wheel {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 2rem;
    animation: spinWheel 1.5s linear infinite;
}

.wheel-outer {
    width: 100%;
    height: 100%;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5),
                inset 0 0 20px rgba(0, 255, 136, 0.3);
}

.wheel-spokes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 50%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transform-origin: top center;
}

.spoke:nth-child(1) { transform: translate(-50%, 0) rotate(0deg); }
.spoke:nth-child(2) { transform: translate(-50%, 0) rotate(60deg); }
.spoke:nth-child(3) { transform: translate(-50%, 0) rotate(120deg); }
.spoke:nth-child(4) { transform: translate(-50%, 0) rotate(180deg); }
.spoke:nth-child(5) { transform: translate(-50%, 0) rotate(240deg); }
.spoke:nth-child(6) { transform: translate(-50%, 0) rotate(300deg); }

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--primary-color);
}

.loading-text {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spinWheel {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Animated Motorcycle Wheel Background */
#laser-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 2rem);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(0, 255, 136, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-link:focus-visible,
.social-link:focus-visible,
.work-link:focus-visible,
.service-detail-link:focus-visible,
.contact-button:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    min-height: 100svh;
    padding: var(--nav-offset) 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    width: min(100%, 1100px);
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo-img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 255, 136, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-description p {
    margin: 0.5rem 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease 0.6s backwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

/* Quote Section */
.quote-section {
    padding: var(--section-space) 2rem;
    background-color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.main-quote {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.main-quote p {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.signature {
    display: flex;
    justify-content: center;
}

.signature-svg {
    width: 200px;
    height: 60px;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: var(--section-space) 2rem;
    background-color: #0a0a0a;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: var(--space-7);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: var(--text-color);
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 0.95;
    color: var(--primary-color);
    margin-top: var(--space-1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image .workshop-preview {
    min-height: 370px;
    aspect-ratio: auto;
    border: 1px solid rgba(0, 255, 136, 0.2);
    background:
        linear-gradient(160deg, rgba(0, 255, 136, 0.07) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%),
        repeating-linear-gradient(120deg, rgba(0, 255, 136, 0.05) 0 2px, transparent 2px 18px),
        #121615;
}

.about-image .workshop-preview span {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.28);
}

/* Image Grid Section */
.image-grid-section {
    padding: var(--section-space-tight) 2rem;
    background-color: var(--background-dark);
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item.large {
    grid-column: span 2;
}

.grid-item.wide {
    grid-column: span 2;
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Image Placeholder */
.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.image-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.image-placeholder.photo-frame {
    padding: 0;
    overflow: hidden;
}

.project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Work Section */
.work-section {
    padding: var(--section-space) 2rem;
    background-color: var(--background-light);
    position: relative;
    z-index: 1;
}

.services-intro {
    max-width: 760px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: -2rem 0 2.25rem;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .work-cards {
        grid-template-columns: 1fr;
    }
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(21, 24, 21, 0.95) 0%, rgba(6, 8, 7, 0.95) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 255, 136, 0.25);
}

.work-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 32 / 9;
    min-height: clamp(118px, 10vw, 178px);
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 255, 136, 0.15);
}

.work-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.2rem;
    box-sizing: border-box;
    border: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}


.service-graphic {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(145deg, #111714 0%, #050806 100%);
    isolation: isolate;
}

.service-graphic::before,
.service-graphic::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.performance-graphic {
    background: linear-gradient(152deg, #14231a 0%, #0a100d 52%, #030404 100%);
}

.performance-graphic::before {
    inset: 0;
    background:
        radial-gradient(circle at 52% 54%, rgba(0, 255, 136, 0.26) 0%, rgba(0, 255, 136, 0) 42%),
        radial-gradient(circle at 51% 56%, rgba(0, 255, 136, 0.18) 0%, rgba(0, 255, 136, 0) 58%),
        repeating-linear-gradient(116deg, rgba(0, 255, 136, 0.12) 0 2px, rgba(0, 0, 0, 0) 2px 12px);
    opacity: 0.9;
    z-index: 0;
}

.motorcycle-graphic {
    background: linear-gradient(150deg, #1a211f 0%, #0b1110 52%, #040505 100%);
}

.motorcycle-graphic::before {
    inset: 0;
    background:
        radial-gradient(circle at 54% 54%, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0) 45%),
        radial-gradient(circle at 54% 56%, rgba(0, 255, 136, 0.12) 0%, rgba(0, 255, 136, 0) 62%),
        repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(0, 0, 0, 0) 1px 10px);
    opacity: 0.9;
    z-index: 0;
}

.service-graphic span {
    z-index: 2;
}

.service-graphic::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(1, 5, 3, 0.65) 100%),
        linear-gradient(90deg, rgba(0, 255, 136, 0) 0%, rgba(0, 255, 136, 0.11) 45%, rgba(0, 255, 136, 0) 100%);
    z-index: 1;
}

.service-icon {
    position: absolute;
    top: 56%;
    left: 50%;
    width: clamp(92px, 28%, 160px);
    height: clamp(92px, 28%, 160px);
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #97ffd0;
    filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.45));
}

.speedometer-icon {
    transform: translate(-50%, -47%);
}

.wrench-icon {
    transform: translate(-50%, -48%) rotate(-7deg);
}

.icon-stroke {
    stroke: currentColor;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-needle {
    stroke: #7dffbf;
    stroke-width: 6;
    stroke-linecap: round;
}

.icon-core {
    fill: #7dffbf;
}

.work-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    background: rgba(3, 5, 4, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 18px 18px;
    margin-top: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.work-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 136, 0.35);
    background: rgba(0, 255, 136, 0.08);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.work-card-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.6vw, 2.1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-color);
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.work-card-content p {
    font-size: 0.96rem;
    color: #c8ceca;
    line-height: 1.75;
    margin-bottom: 1.7rem;
    max-width: 45ch;
}

.work-link {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    color: #05130d;
    background: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.work-link:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 24px rgba(0, 255, 136, 0.3);
    background-color: #68ffb9;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.service-detail-card {
    padding: var(--space-5);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    background: linear-gradient(170deg, rgba(10, 14, 11, 0.98) 0%, rgba(4, 6, 5, 0.95) 100%);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.service-detail-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.service-detail-card h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 0.95;
    margin-bottom: var(--space-3);
}

.service-detail-summary {
    color: #d2d8d4;
    line-height: 1.75;
    margin-bottom: var(--space-4);
}

.service-detail-list {
    list-style: none;
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.service-detail-list li {
    position: relative;
    padding-left: 1.1rem;
    color: #c2c9c5;
    line-height: 1.65;
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.55);
}

.service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #04110c;
    background: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.service-detail-link:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.26);
    background: #66ffb8;
}

.work-card-image .image-placeholder span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

@media (max-width: 1200px) {
    .work-card-image {
        aspect-ratio: 24 / 9;
        min-height: 126px;
    }

    .service-icon {
        width: clamp(96px, 30%, 164px);
        height: clamp(96px, 30%, 164px);
    }
}

@media (max-width: 900px) {
    .work-card-image {
        aspect-ratio: 20 / 9;
        min-height: 134px;
    }

    .service-icon {
        width: clamp(100px, 33%, 172px);
        height: clamp(100px, 33%, 172px);
    }
}

@media (max-width: 640px) {
    .work-card-image {
        aspect-ratio: 16 / 8;
        min-height: 126px;
    }

    .service-icon {
        width: clamp(94px, 38%, 150px);
        height: clamp(94px, 38%, 150px);
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-space) 2rem;
    background-color: var(--background-dark);
    position: relative;
    z-index: 1;
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.025);
}

.gallery-info {
    margin-top: 1rem;
}

.gallery-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Social Section */
.social-section {
    padding: var(--section-space) 2rem;
    background-color: var(--background-light);
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.social-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

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

.social-link.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    padding: var(--section-space) 2rem;
    background-color: var(--background-dark);
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 0.96;
    margin-bottom: var(--space-6);
}

.contact-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Footer */
.footer {
    padding: var(--space-6) 2rem;
    background-color: var(--background-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .work-cards {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .grid-item.large,
    .grid-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-offset: 5.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem;
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .work-cards {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .work-card-content {
        padding: 1.2rem;
    }

    .work-card-content p {
        margin-bottom: 1.25rem;
    }

    .work-link,
    .service-detail-link,
    .contact-button {
        min-height: 44px;
        padding: 0.85rem 1rem;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-5);
    }

    .service-detail-card {
        padding: var(--space-4);
    }

    .services-intro {
        margin: -1.2rem 0 1.5rem;
        font-size: 0.98rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .social-link {
        width: min(320px, 100%);
        margin: 0 auto;
        padding: 0.65rem 0.8rem;
        border: 1px solid rgba(0, 255, 136, 0.2);
        border-radius: 12px;
        font-size: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-height: 620px) {
    .hero {
        align-items: flex-start;
        padding-top: calc(var(--nav-offset) + 0.9rem);
    }

    .hero-content {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .hero-logo {
        margin-bottom: 1rem;
    }

    .hero-logo-img {
        max-width: 100px;
        max-height: 100px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 13vh, 4.6rem);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.9rem;
    }

    .hero-description {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav-container {
        padding: 1rem 0.5rem;
        width: 100%;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .hero-logo-img {
        max-width: 180px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .hero {
        padding: var(--nav-offset) 0.5rem 2rem 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 3rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.7rem;
    }
    
    .quote-section,
    .about-section,
    .gallery-section,
    .social-section,
    .contact-section {
        padding: 4rem 0.5rem;
    }
    
    .work-section {
        padding: 4rem 0.25rem;
    }
    
    .work-section .container {
        padding: 0 0.25rem;
    }
    
    .work-cards {
        gap: 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .work-card {
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .work-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 8;
        min-height: 122px;
        border: none;
        box-sizing: border-box;
    }
    
    .work-card-image .image-placeholder {
        border: none;
        padding: 0.85rem;
    }
    
    .work-card-content {
        padding: 1rem;
        width: 100%;
    }

    .service-detail-card {
        padding: 1.1rem;
    }

    .service-detail-card h3 {
        line-height: 1.03;
    }

    .service-detail-summary {
        line-height: 1.65;
    }
    
    .work-card-content h3 {
        font-size: 1.5rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .work-link {
        width: 100%;
        text-align: center;
    }

    .service-detail-link {
        width: 100%;
        justify-content: center;
    }

    .about-image .workshop-preview {
        min-height: 250px;
    }
}
}
