:root {
    --accent-light: #EFE976;
    --accent-soft: #EBE386;
    --primary: #FFC500;
    --primary-dark: #ECB72E;
    --primary-deep: #F6AA21;

    --bg-color: #1a1a1a;
    --card-bg: #252525;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #333;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.side-menu {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #000;
    overflow-x: hidden;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.side-menu.open {
    width: 300px;
}

.logo-container-sidebar {
    padding: 0 20px 40px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 30px;
}

.side-menu a {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.side-menu a:hover,
.side-menu a:focus {
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar-contact {
    margin-top: auto;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, #0a0a0a, #000);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-contact a {
    font-size: 1.2rem;
    color: var(--primary-deep);
    font-weight: bold;
    letter-spacing: 1px;
}

.sidebar-contact a:hover {
    color: var(--primary);
    transform: none;
}

.side-menu .closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.side-menu .closebtn:hover {
    color: var(--primary);
}

.menu-trigger {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 900;
    font-size: 24px;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.menu-trigger:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 197, 0, 0.4);
}

header {
    display: none;
}

#main {
    transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
}

#main.shifted {
    margin-left: 300px;
}

.hero {
    height: 100vh;
    background: radial-gradient(circle at center, #2a2a2a 0%, #1a1a1a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            rgba(239, 233, 118, 0.03) 0,
            rgba(239, 233, 118, 0.03) 1px,
            transparent 1px,
            transparent 50px);
    z-index: 1;
    animation: slowRotate 60s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--primary-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(255, 197, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    margin: 10px;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-deep));
    color: #000;
    box-shadow: 0 5px 15px rgba(246, 170, 33, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 170, 33, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.section {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-item {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.catalog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-deep));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #2a2a2a;
}

.catalog-item:hover::before {
    transform: scaleX(1);
}

.catalog-item .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.catalog-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.catalog-item p {
    color: var(--text-muted);
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.feature {
    text-align: center;
}

.feature h3 {
    font-size: 3.5rem;
    color: var(--primary-deep);
    margin-bottom: 10px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
}

.contacts {
    background: #111;
    position: relative;
    overflow: hidden;
}

.contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-card i {
    font-size: 24px;
    color: var(--primary);
    background: rgba(255, 197, 0, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-details h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    text-align: center;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 197, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
    background: #111;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .contacts-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        min-width: 100%;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .side-menu.open {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .mobile-menu-trigger {
        display: none;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .about-features {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .menu-trigger {
        width: 45px;
        height: 45px;
        font-size: 20px;
        top: 20px;
        left: 20px;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .contact-card i {
        margin-bottom: 10px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}