:root {
    --accent: #a8a8a8;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #f0f0f0;
    --smoke: url('https://images.unsplash.com/photo-1518819796429-6d1b9c4d58ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

a {
    color: #aaa;
}

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

/* Шапка */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(168, 168, 168, 0.2);
    transition: all 0.3s;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: all 0.3s;
}

header.scrolled .header-content {
    padding: 0.5rem 0;
}

.logo {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    font-size: 1.3rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Бургер меню */
.burger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--light);
    margin: 5px;
    transition: all 0.3s ease;
}

.burger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--accent);
}

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

.burger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--accent);
}

/* Герой */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;

overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), 
                var(--smoke) center/cover;
    z-index: -1;
    animation: smokeAnimation 20s infinite alternate;
}

@keyframes smokeAnimation {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.05) translate(-20px, -20px); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
}

.hero-content {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.pricing-info {
    background: rgba(168, 168, 168, 0.1);
    border-left: 3px solid var(--accent);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0 5px 5px 0;
}

.pricing-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pricing-info .price {
    color: var(--accent);
    font-weight: 600;
}

.btn {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    margin-right: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn:hover {
    background: rgba(168, 168, 168, 0.1);
}

.btn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(168, 168, 168, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: smokeClick 0.8s forwards;
}

@keyframes smokeClick {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(10); opacity: 0; }
}

.btn-solid {
    background: var(--accent);
    color: var(--dark);
}

.btn-solid:hover {
    background: rgba(168, 168, 168, 0.8);
}

/* Секции */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent);
    margin: 1rem auto 0;
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Мастера */
.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.master-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(168, 168, 168, 0.1);
}

.master-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.master-photo {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.master-info {
    padding: 1.5rem;
}

.master-info h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.master-info p {
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.master-specialty {
    color: var(--accent);
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(168, 168, 168, 0.1);
    border-radius: 20px;
}

/* Календарь */
.calendar {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(168, 168, 168, 0.1);
    position: relative;
}

.calendar-xscroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-title {
    color: var(--accent);
    font-weight: 500;
}

.calendar-nav {
    display: flex;
    gap: 1rem;
}

.calendar-nav button {
    background: rgba(168, 168, 168, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-nav button:hover {
    background: rgba(168, 168, 168, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 500;
    padding: 0.5rem;
    color: var(--accent);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.calendar-day:hover {
    background: rgba(168, 168, 168, 0.1);
}

.calendar-day.available {
    background: rgba(168, 168, 168, 0.05);
    color: var(--light);
}

.calendar-day.available:hover {
    background: rgba(168, 168, 168, 0.2);
}

.calendar-day.booked {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.today {
    border: 1px solid var(--accent);
}

.calendar-day.selected {
    background: rgba(168, 168, 168, 0.3);
    color: var(--dark);
    font-weight: 600;
}

/* Форма бронирования */
.booking-form {

    position: absolute;
    width: 105%;
    top: 0;
    left: 0;
    max-width: 800px;
    margin: -1px;
    background: #101010;
    border-radius: 10px;
    border: 1px solid rgba(168, 168, 168, 0.1);
    padding: 2rem;
    z-index: 10;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-email {
    visibility: hidden;
    display: none;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 168, 168, 0.3);
    border-radius: 5px;
    color: var(--light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.pocicy-wrapper {
    margin: 10px 0 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Калькулятор в форме */
.calculator-in-form {
    background: rgba(168, 168, 168, 0.05);
    border-radius: 5px;
    padding: 1rem;
    border: 1px solid rgba(168, 168, 168, 0.2);
    max-width: 300px;
    margin: auto;
    margin-bottom: 1.5rem;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calculator-header h3 {
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
}

.calculator-input-group {
    margin-bottom: 0.8rem;
}

.calculator-input-group label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.8rem;
}

.calculator-number-input {
    display: flex;
    align-items: center;
}

.calculator-number-input input {
    width: 50px;
    padding: 0.4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    border-radius: 5px;
    margin: 0 0.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

.calculator-number-input input::-webkit-outer-spin-button,
.calculator-number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calculator-number-input button {
    padding: 0.4rem 0.8rem;
    background: rgba(168, 168, 168, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.calculator-number-input button:hover {
    background: rgba(168, 168, 168, 0.2);
}

.calculator-result {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 168, 168, 0.2);
}

.calculator-result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.calculator-result-value {
    color: var(--accent);

font-weight: 600;
}

.calculator-total {
    margin-top: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--accent);
}

/* Мероприятия */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(168, 168, 168, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-info {
    padding: 1.5rem;
}

.event-info h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.event-info .date {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

/* Отзывы */
.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin: 0 1rem;
    border: 1px solid rgba(168, 168, 168, 0.1);
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-author {
    color: var(--accent);
    font-weight: 500;
}

/* Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-icon img {
    height: 1rem;
}

.contact-text a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--accent);
}

.map {
    height: 400px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(168, 168, 168, 0.2);
}

/* Подвал */
footer {
    background-color: var(--darker);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(168, 168, 168, 0.2);
}

.footer-logo {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Модальное окно подтверждения */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--darker);
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    padding: 1.5rem;
    position: relative;
    border: 1px solid rgba(168, 168, 168, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-title {
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}



/* Когда модальное окно активно - размываем и затемняем фон */
.age-gate-active #site-content {
    filter: blur(8px) brightness(0.7);
    pointer-events: none;
    user-select: none;
}

#age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#age-verification-modal {
    background-color: #000;
    padding: 30px 40px 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.age-verification-btn {
    width: 100%;
    min-height: 60px;
    min-width: 140px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: larger;
}

.age-verification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.age-verification-btn:active {
    transform: translateY(0);
}

#age-verification-yes {
    background-color: #4CAF50;
    color: white;
}

#age-verification-no {
    background-color: #f44336;
    color: white;
}

#age-verification-rejected {
    display: none;
    color: white;
    font-size: 24px;
    text-align: center;
    max-width: 600px;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

#age-verification-rejected h2 {
    margin-bottom: 15px;
}


/* Адаптивность */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .map {
        height: 300px;
    }

    .logo {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 100;
        border-left: 1px solid rgba(168, 168, 168, 0.2);
    }

    nav ul.active {
        right: 0;
    }
    
    nav li {
        margin: 1.5rem 0;
    }
    
    .burger {
        display: block;
    }

    .hero {
        height: auto;
        display: block;
        position: relative;
    }

    .hero-content {
        margin: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .calendar {
        padding: 2rem .5rem;
    }
}