/* ====== GLOBAL ====== */

{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #e6e6e6;
    line-height: 1.5;
}

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

/* ====== HEADER ====== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #4da6ff;
}

/* ====== LANGUAGE SWITCH ====== */

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-switch button {
    padding: 4px 10px;
    font-size: 13px;
    background: #222;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
}

.lang-switch button:hover {
    background: #4da6ff;
    color: #000;
}

/* ====== BURGER ====== */

.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
}

.burger span {
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ====== NAV ====== */

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav a:hover {
    color: #fff;
}

/* ====== HERO ====== */

.hero {
    min-height: 100vh;
    background: url('images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.hero-inner {
    max-width: 700px;
    background: rgba(0,0,0,0.65);
    padding: 32px 24px;
    border-radius: 10px;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 20px;
}

/* ====== BUTTONS ====== */

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    background: #4da6ff;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: inline-block;
    transform: translateZ(0);
}

/* ====== НЕОНОВАЯ ПОДСВЕТКА ====== */

.btn:hover {
    transform: scale(1.06);
    box-shadow:
        0 0 6px rgba(77,166,255,0.7),
        0 0 12px rgba(77,166,255,0.6),
        0 0 20px rgba(77,166,255,0.5),
        inset 0 0 8px rgba(77,166,255,0.4);
    border-color: rgba(77,166,255,0.8);
}

.whatsapp:hover {
    box-shadow:
        0 0 6px rgba(37,211,102,0.8),
        0 0 14px rgba(37,211,102,0.7),
        0 0 22px rgba(37,211,102,0.6),
        inset 0 0 10px rgba(37,211,102,0.5);
    border-color: rgba(37,211,102,0.9);
}

.email:hover {
    box-shadow:
        0 0 6px rgba(255,204,0,0.9),
        0 0 14px rgba(255,204,0,0.8),
        0 0 22px rgba(255,204,0,0.7),
        inset 0 0 10px rgba(255,204,0,0.6);
    border-color: rgba(255,204,0,1);
}

/* ====== ГРАДИЕНТНЫЙ БЛИК ====== */

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn:hover::before {
    left: 120%;
}

/* ====== МАГНИТНЫЙ ЭФФЕКТ ====== */

.btn.magnet {
    transition: transform 0.15s ease-out;
}

.btn.magnet:hover {
    transform: scale(1.1);
}

/* ====== SERVICES ====== */

.section {
    padding: 60px 16px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    background: #161616;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #2a2a2a;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #4da6ff;
}

.icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* ====== GALLERY ====== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.photo {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.photo:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(77,166,255,0.5);
}

/* ====== ABOUT ====== */

.about p {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #ccc;
}

/* ====== CONTACT ====== */

.location {
    text-align: center;
    color: #bbb;
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #151515;
    color: #eee;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 110px;
}

/* ====== FOOTER ====== */

.footer {
    background: #101010;
    padding: 16px;
    text-align: center;
    color: #777;
    font-size: 13px;
}

/* ====== LIGHTBOX ====== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -32px;
    right: -6px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        padding: 10px;
        border-radius: 8px;
        gap: 10px;
    }

    .nav.open {
        display: flex;
    }
}