* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #030712;
    --color-surface: #111827;
    --color-surface-alt: #1f2937;
    --color-border: rgba(249, 115, 22, 0.3);
    --color-primary: #f97316;
    --color-primary-hover: #ef4444;
    --color-primary-light: #fb923c;
    --color-primary-dark: #dc2626;
    --color-text: #ffffff;
    --color-text-muted: #9ca3af;
    --color-text-secondary: #6b7280;
    --color-text-accent: #d1d5db;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(3, 7, 18, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f97316, #ef4444);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(to right, #f97316, #ef4444);
    border-radius: 8px;
    color: white !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: linear-gradient(to right, #fb923c, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 160px 0 120px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.logo-wrapper {
    margin-bottom: 48px;
    display: block;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-svg {
    width: 100%;
    height: auto;
    max-width: 1400px;
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

@media (min-width: 1400px) {
    .logo-svg {
        width: 1400px;
        max-width: 1400px;
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .logo-svg {
        width: 100%;
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .logo-svg {
        max-width: 100%;
    }
}

.logo-svg:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 20px rgba(249, 115, 22, 0.5));
    color: #f97316;
}

.logo-image {
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(249, 115, 22, 0.5));
}

.hero-title {
    display: none;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-description {
    font-size: 20px;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 160px 0;
    background: var(--color-surface);
    scroll-margin-top: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

.service-milling:hover .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(20, 20, 20, 0.2) 100%),
    url('img/tokar.png');
    background-size: cover;
    background-position: center;
    transition: all 1s ease;
}

.service-3dprint:hover .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(20, 20, 20, 0.2) 100%),
    url('img/3dprint.jpg');
    background-size: cover;
    background-position: center;
    transition: all 1s ease;
}

.service-airsoft:hover .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(20, 20, 20, 0.2) 100%),
    url('img/airsoft.jpg');
    background-size: cover;
    background-position: center;
    transition: all 1s ease;
}

.service-image-wrapper {
    height: 240px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-milling .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.7) 100%),
                url('img/tokar.png');
    background-size: cover;
    background-position: center;
}

.service-3dprint .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.7) 100%),
    url('img/3dprint.jpg');
    background-size: cover;
    background-position: center;
}

.service-airsoft .service-image-wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.7) 100%),
                url('img/airsoft.jpg');
    background-size: cover;
    background-position: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    background: rgba(249, 115, 22, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.2;
}

.service-description {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    flex: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 18px;
}

.service-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(to right, #f97316 0%, #ef4444 50%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
    background: linear-gradient(to right, #fb923c 0%, #f97316 50%, #ef4444 100%);
}

.service-button:active {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 160px 0;
    background: var(--color-bg);
    scroll-margin-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.25);
    background: var(--color-surface-alt);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 500;
}

.contact-link:hover .contact-value {
    color: var(--color-primary);
}

.contact-link:hover .contact-icon {
    color: var(--color-primary-light);
    border-color: rgba(249, 115, 22, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 160px 0;
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(to right, #f97316 0%, #ef4444 50%, #dc2626 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    background: linear-gradient(to right, #fb923c 0%, #f97316 50%, #ef4444 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 48px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.25);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text);
    background: linear-gradient(to right, #f97316 0%, #ef4444 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--color-text-muted);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--color-primary);
    background: rgba(249, 115, 22, 0.1);
    transform: rotate(90deg);
}

.price-table {
    margin-bottom: 32px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    transition: all 0.2s ease;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background: rgba(249, 115, 22, 0.1);
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 8px;
    margin-left: -12px;
    margin-right: -12px;
}

.price-service {
    flex: 1;
    color: var(--color-text);
    font-size: 16px;
    padding-right: 24px;
}

.price-value {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
}

.price-note {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.5);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 68, 68, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 20px;
        padding: 16px 0;
    }

    .nav-links {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .nav-cta {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hero-section {
        padding: 140px 0 80px 0;
        min-height: auto;
    }

    .services-section,
    .contact-section,
    .cta-section {
        padding: 100px 0;
    }
}

    .services-section,
    .contact-section,
    .cta-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .service-content {
        padding: 24px;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .price-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .services-section,
    .contact-section,
    .cta-section {
        padding: 60px 0;
    }

    .service-image-wrapper {
        height: 200px;
    }

    .contact-card {
        padding: 24px;
    }
}
