/* ===== СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #F9F2F9;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ===== ЛАВАНДОВАЯ ПАЛИТРА ===== */
:root {
    --lavender-dark: #967AA1;
    --lavender: #B59BBE;
    --lavender-light: #D6C4DD;
    --lavender-soft: #F0E6F2;
    --lavender-bg: #F9F2F9;
    --white: #FFFFFF;
    --text-dark: #4A4A4A;
    --text-light: #FFFFFF;
    --gold: #D4AF37;
}

/* ===== МЕНЮ ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    border-bottom: 3px solid var(--lavender);
    box-shadow: 0 2px 15px rgba(150, 122, 161, 0.15);
    transition: all 0.3s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lavender-dark);
    text-decoration: none;
    letter-spacing: 1px;
}

/* ДЕСКТОПНОЕ МЕНЮ */
.nav-menu {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 500;
    display: block;
}

.nav-link:hover {
    background: var(--lavender-soft);
    color: var(--lavender-dark);
}

.nav-link.highlight {
    background: var(--lavender-dark);
    color: var(--white);
    font-weight: bold;
}

.nav-link.highlight:hover {
    background: var(--lavender);
}

/* БУРГЕР МЕНЮ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--lavender-dark);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    margin-top: 70px;
    width: 100%;
}

/* ===== ГАЛЕРЕЯ - БЕЗ ОТСТУПОВ ===== */
.gallery-container {
    width: 100%;
    position: relative;
}

.gallery-images {
    width: 100%;
    position: relative;
    min-height: 200px;
}

.gallery-image {
    width: 100%;
    display: none !important;
}

.gallery-image.active {
    display: block !important;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 15px;
    background: var(--lavender-bg);
}

.gallery-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--lavender);
    color: var(--lavender-dark);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-btn:hover {
    background: var(--lavender-soft);
    border-color: var(--lavender-dark);
    color: var(--lavender-dark);
}

.gallery-btn.active {
    background: var(--lavender-dark);
    border-color: var(--lavender-dark);
    color: var(--white);
}

/* ===== КНОПКА НА ГЛАВНОЙ ===== */
.hero-section div a {
    transition: all 0.3s;
}

.hero-section div a:hover {
    background: var(--lavender) !important;
    transform: translateY(-3px);
}

/* ===== ФИКСИРОВАННАЯ КНОПКА ЗАЯВКИ ===== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--lavender-dark);
    color: var(--white);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(150, 122, 161, 0.4);
    z-index: 999;
    transition: all 0.3s;
    border: 2px solid var(--lavender-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-btn:hover {
    background: var(--lavender);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(150, 122, 161, 0.5);
}

/* ===== ФУТЕР ===== */
.site-footer {
    background: var(--lavender-dark);
    color: white;
    padding: 40px 20px 25px;
    margin-top: 0;
    border-top: 5px solid var(--lavender-light);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===== ЗАЩИТА ОТ КОПИРОВАНИЯ ===== */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}
img {
    aspect-ratio: attr(width) / attr(height);
    width: 100%;
    height: auto;
}

/* ===== АДАПТИВНОСТЬ - ТЕЛЕФОН ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(150,122,161,0.2);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--lavender-soft);
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link.highlight {
        margin-top: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .floating-btn span {
        display: inline;
    }
    
    .floating-btn i {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .floating-btn i {
        font-size: 1.2rem;
    }
}
