* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    height: 100vh; /* Fallback for browsers that don't support custom properties */
    height: var(--vh, 100vh);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #002108 100%);
}

#mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f8f8f8;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: #000 0px 0px 2px;
}

.hero-content p {
    font-size: 1.5rem;
    color: #ffef7f;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 2rem;
    text-shadow: #000 0px 0px 4px;
    font-family: Tahoma, sans-serif;
}

.section {
    padding: 5rem 0;
}

.accent-section {
    background: #ffef7f;
    color: #000;
}

h2 {
    font-family: Tahoma, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: #f8f8f8;
    padding: 2rem;
    border-left: 4px solid #ffef7f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-item h3 {
    font-family: Tahoma, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.service-item p {
    margin: 0;
    text-align: left;
    color: #444;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage {
    text-align: center;
    padding: 2rem;
    background: #f5cc20;
    border-radius: 8px;
}

.advantage h3 {
    font-family: Tahoma, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.advantage p {
    margin: 0;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f8f8;
    padding: 3rem;
    border: 2px solid #f5cc20;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    font-family: Tahoma, sans-serif;
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.form-group input,
.form-group textarea {
    font-family: monospace;
    width: 100%;
    padding: 1rem;
    border: 2px solid #f5cc20;
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3a1a02;
}

.submit-btn {
    font-family: Tahoma, sans-serif;
    background: #f5cc20;
    color: #3a1a02;
    padding: 1rem 3rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #3a1a02;
    color: #f8f8f8;
}

.gallery-section {
    padding: 3rem 0 2rem;
    background: #002108;
}

.gallery-section h2 {
    color: #ffef7f;
    margin-bottom: 2rem;
}

.gallery-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 2rem 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
    height: 8px;
}

.gallery-strip::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.gallery-strip::-webkit-scrollbar-thumb {
    background: #f5cc20;
    border-radius: 4px;
}

.gallery-strip::-webkit-scrollbar-thumb:hover {
    background: #ffef7f;
}

.gallery-img {
    height: 200px;
    width: auto;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #f5cc20;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-img:hover {
    border-color: #ffef7f;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 204, 32, 0.3);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    color: #ffef7f;
}

.lightbox-title {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    color: #ffef7f;
    text-align: center;
    background: #000000aa;
    padding: 0.8rem;
    margin: 0;
    z-index: 1100;
    font-size: 1.5rem;
    font-weight: 400;
}

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

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 4px solid #f5cc20;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1200;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    color: #f5cc20;
}

.footer {
    background: #002108;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
    color: #ccc;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

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

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .gallery-strip {
        padding: 1rem 1rem 2rem;
    }

    .gallery-img {
        height: 150px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
        border: 2px solid #f5cc20;
    }
}