@font-face {
    font-family: 'Black Gold';
    src: url('../fonts/black-gold.woff2') format('woff2'),
        url('../fonts/black-gold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Parfumerie Script';
    src: url('../fonts/parfumerie-script.woff2') format('woff2'),
        url('../fonts/parfumerie-script.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bantayog';
    src: url('../fonts/bantayog.woff2') format('woff2'),
        url('../fonts/bantayog.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --black: #000000;
    --taupe: #7A7368;
    --beige: #D4C7B4;
    --white: #FFFFFF;
    --gold: #D4C7B4;
    --dark-bg: #0A0A0A;
    --darker-bg: #050505;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --border-light: rgba(212, 199, 180, 0.2);
    --border-medium: rgba(212, 199, 180, 0.3);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Account for fixed header */
}

body {
    font-family: 'Bantayog', 'Cormorant Garamond', serif;
    color: var(--black);
    background-color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Улучшение производительности для анимаций */
.hero-content,
.section-header,
.service-item,
.gallery-item,
.testimonial-slide,
.fixed-btn,
.mobile-menu-btn,
.lang-selector {
    will-change: transform;
}

/* Глобальные стили для ссылок */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--beige);
}

/* Добавление focus-visible для доступности */
*:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.9);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    justify-self: start;
}

.logo-container img {
    height: 100px;
    width: auto;
    max-width: 200px;
}

.logo {
    height: 100px;
}

.site-nav {
    justify-self: center;
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--beige);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    font-family: 'Bantayog', sans-serif;
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--white);
}

.header-right {
    display: flex;
    align-items: center;
    justify-self: end;
    /* gap: 15px; */
}

.lang-selector {
    display: flex;
    font-size: 0;
    gap: 0;
    margin-right: 20px;
    background: rgba(122, 115, 104, 0.1);
    border: 1px solid rgba(212, 199, 180, 0.3);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: var(--beige);
    text-decoration: none;
    font-family: 'Bantayog', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
}

.lang-option:not(:last-child) {
    border-right: 1px solid rgba(212, 199, 180, 0.2);
}

.lang-option.active {
    background-color: var(--taupe);
    color: var(--white);
}

.lang-option:hover:not(.active) {
    background-color: rgba(212, 199, 180, 0.1);
    color: var(--white);
    transform: scale(1.05);
}

.reservation-btn a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--beige);
    border-radius: 30px;
    color: var(--beige);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Bantayog', sans-serif;
    font-weight: 500;
}

.reservation-btn a:hover {
    background-color: var(--beige);
    color: var(--black);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--beige);
    cursor: pointer;
    margin-left: 10px;
    background: rgba(122, 115, 104, 0.1);
    border: 1px solid rgba(212, 199, 180, 0.3);
    border-radius: 8px;
    padding: 12px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn:hover {
    background: rgba(212, 199, 180, 0.1);
    border-color: rgba(212, 199, 180, 0.5);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Анимация иконки при открытии меню */
.mobile-menu-btn.active {
    background: linear-gradient(135deg, var(--taupe), rgba(122, 115, 104, 0.8));
    border-color: var(--beige);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(122, 115, 104, 0.4);
}

.mobile-menu-btn.active i {
    animation: rotateIcon 0.3s ease;
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

/* Эффект свечения при hover */
.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-btn:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    background: url('../images/hero-overlay.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    /* Account for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    background-size: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

/* Делает логотип гибким */
.hero-logo img {
    /* ширина будет от 180 px до 480 px
       и одновременно составлять 40 % ширины вьюпорта */
    width: clamp(280px, 40vw, 780px);
    height: auto;
    /* сохраняем пропорции */
    max-width: 100%;
    /* чтобы никогда не вылазил за контейнер */
}


.main-logo {
    max-width: 80%;
    height: auto;
}

.tagline {
    font-family: 'Bantayog', serif;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: var(--beige);
    font-weight: 400;
}

.est {
    font-family: 'Bantayog', serif;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--beige);
    margin-bottom: 30px;
}

.hero-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--taupe), rgba(122, 115, 104, 0.8));
    color: var(--white);
    text-decoration: none;
    font-family: 'Bantayog', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(122, 115, 104, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--beige), rgba(212, 199, 180, 0.9));
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 115, 104, 0.4);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(122, 115, 104, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Black Gold', 'Cormorant Garamond', serif;
    font-size: 42px;
    color: var(--beige);
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.feather-divider {
    display: flex;
    height: 50px;
    justify-content: center;
    margin: 0 0;
}

/* Плавная анимация «вверх-вниз» для feather-divider */
.feather-divider img {
    /* задаём анимацию */
    animation: floatY 4s ease-in-out infinite;
}

/* ключевые кадры анимации */
@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* About Section */
.about-section {
    background-color: var(--black);
    color: var(--beige);
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background-color: #0A0A0A;
    color: var(--beige);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/feather-pattern.svg');
    background-size: 100px;
    opacity: 0.03;
    pointer-events: none;
}

/* Service Categories & Tabs */
.service-categories {
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(122, 115, 104, 0.3);
}

.category-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    color: var(--beige);
    font-family: 'Bantayog', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--beige);
    transition: width 0.3s ease;
}

.category-tab:hover::after,
.category-tab.active::after {
    width: 100%;
}

.category-tab.active {
    color: var(--white);
}

.category-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.category-content.active {
    display: block;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(122, 115, 104, 0.2);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-family: 'Bantayog', serif;
    font-size: 20px;
    color: var(--beige);
    margin-bottom: 8px;
}

.service-info p {
    color: var(--taupe);
    font-size: 16px;
}

.service-price {
    min-width: 100px;
    text-align: right;
}

.service-price span {
    font-size: 20px;
    font-weight: 600;
    color: var(--beige);
}

.service-note {
    margin-top: 30px;
    text-align: center;
    color: var(--taupe);
    font-style: italic;
    font-size: 14px;
}

.service-note p {
    margin-bottom: 5px;
}

.reservation-cta {
    text-align: center;
    margin-top: 40px;
}

.reserve-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--taupe);
    color: var(--white);
    text-decoration: none;
    font-family: 'Bantayog', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.reserve-btn:hover {
    background-color: var(--beige);
    color: var(--black);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--black);
    color: var(--beige);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: all 0.3s var(--transition-smooth);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #0A0A0A;
    color: var(--beige);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/feather-pattern.svg');
    background-size: 100px;
    opacity: 0.03;
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.8));
    border: 1px solid var(--border-medium);
    padding: 50px 40px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 15px 35px var(--shadow-dark);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--beige), var(--taupe), var(--beige));
    opacity: 0.7;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 199, 180, 0.05), transparent 70%);
    pointer-events: none;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px var(--shadow-dark);
    border-color: var(--beige);
}

.testimonial-content:hover::before {
    opacity: 1;
}

.testimonial-text {
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.testimonial-text p {
    font-size: 20px;
    line-height: 1.8;
    font-style: italic;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.testimonial-text p::before {
    content: '"';
    font-size: 60px;
    color: var(--beige);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
}

.testimonial-text p::after {
    content: '"';
    font-size: 60px;
    color: var(--beige);
    opacity: 0.3;
    position: absolute;
    bottom: -40px;
    right: -15px;
    font-family: serif;
}

.author-rating {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.author-rating i {
    color: var(--gold);
    margin: 0 3px;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.author-name {
    font-weight: 600;
    font-size: 20px;
    color: var(--beige);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    color: var(--beige);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(122, 115, 104, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--beige);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    background-color: var(--black);
    color: var(--beige);
    padding-bottom: 20px;
}

.contact-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    color: var(--taupe);
    margin-top: 5px;
}

.contact-map {
    flex: 1;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-links {
    text-align: center;
}

.social-links h3 {
    font-family: 'Bantayog', serif;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(122, 115, 104, 0.2);
    color: var(--beige);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--taupe);
    color: var(--white);
    transform: translateY(-5px);
}

/* Fixed Bottom Buttons */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 900;
}

.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Bantayog', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.fixed-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.fixed-btn:hover::before {
    left: 100%;
}

.call-btn {
    background: linear-gradient(135deg, var(--taupe), rgba(122, 115, 104, 0.8));
    color: var(--white);
}

.call-btn:hover {
    background: linear-gradient(135deg, rgba(122, 115, 104, 0.9), var(--taupe));
    box-shadow: 0 6px 20px rgba(122, 115, 104, 0.4);
}

.appointment-btn {
    background: linear-gradient(135deg, var(--beige), rgba(212, 199, 180, 0.8));
    color: var(--black);
}

.appointment-btn:hover {
    background: linear-gradient(135deg, rgba(212, 199, 180, 0.9), var(--beige));
    box-shadow: 0 6px 20px rgba(212, 199, 180, 0.4);
    color: var(--black);
}

.fixed-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.fixed-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.fixed-btn:hover i {
    transform: scale(1.1);
}

.fixed-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #0A0A0A;
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(122, 115, 104, 0.2);
}

.modal-header h3 {
    font-family: 'Black Gold', serif;
    color: var(--beige);
    font-size: 24px;
    font-weight: 400;
}

.close-modal {
    background: none;
    border: none;
    color: var(--taupe);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--beige);
}

.modal-body {
    padding: 20px;
}

/* Reservation Form */
.reservation-form {
    background-color: transparent;
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--taupe);
    color: var(--beige);
    font-family: 'Bantayog', sans-serif;
    border-radius: 4px;
}

.form-group input::placeholder {
    color: rgba(212, 199, 180, 0.6);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--taupe);
    border: none;
    color: var(--white);
    font-family: 'Bantayog', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.submit-btn:hover {
    background-color: var(--beige);
    color: var(--black);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px 0;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 48px;
    color: var(--beige);
    margin-bottom: 20px;
}

.success-message p {
    font-size: 18px;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    padding-top: 0;
}

.footer-logo img {
    height: 300px;
}

.copyright {
    color: var(--taupe);
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fadeIn {
    animation: fadeIn 1s ease;
}

/* Responsive Styles */
/* Tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        max-width: 600px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        justify-items: flex-start;
    }

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

    .section-header h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .main-header {
        display: flex;
        justify-content: space-between;
        padding: 8px 15px;
    }

    .logo-container {
        justify-self: auto;
    }

    .logo-container img {
        height: 80px;
        max-width: 160px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100vh;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(10, 10, 10, 0.95));
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        z-index: 1100;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    nav ul li {
        margin: 0;
        opacity: 0;
        animation: slideInFromRight 0.3s ease forwards;
    }

    nav ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    nav ul li:nth-child(2) {
        animation-delay: 0.2s;
    }

    nav ul li:nth-child(3) {
        animation-delay: 0.3s;
    }

    nav ul li:nth-child(4) {
        animation-delay: 0.4s;
    }

    nav ul li:nth-child(5) {
        animation-delay: 0.5s;
    }

    nav ul li a {
        font-size: 18px;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    nav ul li a:hover {
        background-color: rgba(212, 199, 180, 0.1);
        transform: translateX(-10px);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-right {
        justify-self: auto;
        /* gap: 10px; */
    }

    .reservation-btn {
        display: none;
    }

    .lang-selector {
        margin-right: 10px;
    }

    .hero {
        margin-top: 70px;
        padding: 20px 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-logo img {
        width: clamp(250px, 60vw, 400px);
    }

    .tagline {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .section-header h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    section {
        padding: 50px 0;
    }

    .category-tabs {
        gap: 5px;
        margin-bottom: 25px;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .service-item {
        align-items: flex-start;
        padding: 20px 0;
        gap: 10px;
    }

    .service-price {
        margin-top: 0;
        text-align: left;
        align-self: flex-end;
    }

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

    .gallery-item {
        height: 200px;
    }

    .testimonial-content {
        padding: 30px 20px;
        margin: 0 10px;
        border-radius: 12px;
    }

    .testimonial-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .testimonial-text p::before,
    .testimonial-text p::after {
        font-size: 40px;
    }

    .testimonial-text p::before {
        top: -15px;
        left: -10px;
    }

    .testimonial-text p::after {
        bottom: -30px;
        right: -10px;
    }

    .author-name {
        font-size: 16px;
    }

    .author-rating i {
        font-size: 16px;
    }

    .fixed-buttons {
        flex-direction: row;
        justify-content: center;
        bottom: 15px;
        gap: 15px;
        padding: 0 20px;
    }

    .fixed-btn {
        flex: 1;
        max-width: 200px;
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }

    .contact-map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo-container img {
        height: 60px;
        max-width: 140px;
    }

    .hero {
        margin-top: 60px;
        min-height: 70vh;
    }

    .hero-logo img {
        width: clamp(200px, 70vw, 320px);
    }

    .tagline {
        font-size: 14px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .est {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    section {
        padding: 40px 0;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .service-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(122, 115, 104, 0.15);
    }

    .service-info h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .service-info p {
        font-size: 14px;
        line-height: 1.5;
    }

    .service-price span {
        font-size: 18px;
    }

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

    .gallery-item {
        height: 180px;
        border-radius: 8px;
        overflow: hidden;
    }

    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 12px;
        min-width: fit-content;
        flex-shrink: 0;
    }

    .testimonial-content {
        padding: 20px 15px;
        margin: 0 5px;
    }

    .testimonial-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .author-name {
        font-size: 16px;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-item {
        gap: 10px;
    }

    .contact-item i {
        font-size: 18px;
        margin-top: 2px;
    }

    .contact-map {
        height: 200px;
        border-radius: 8px;
    }


    .modal-content {
        width: 95%;
        margin: 0 auto;
        border-radius: 12px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h3 {
        font-size: 20px;
    }

    .modal-body {
        padding: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }

    .footer-logo img {
        height: 200px;
    }

    /* Улучшение читаемости на маленьких экранах */
    .service-note {
        font-size: 13px;
        line-height: 1.5;
        margin-top: 20px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Скрываем выпадашку GTranslate */
.lang-selector .goog-te-combo,
.lang-selector #google_translate_element2 {
    display: none !important;
}

.lang-selector:hover {
    border-color: rgba(212, 199, 180, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Стили для ссылок GTranslate */
.lang-selector .glink {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: var(--beige);
    text-decoration: none;
    font-family: 'Bantayog', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
}

/* Разделитель между языками */
.lang-selector .glink:not(:last-child) {
    border-right: 1px solid rgba(212, 199, 180, 0.2);
}

/* Hover эффект для неактивных языков */
.lang-selector .glink:hover:not(.gt-current-lang) {
    background-color: rgba(212, 199, 180, 0.1);
    color: var(--white);
    transform: scale(1.05);
}

/* Эффект свечения для активного языка */
.lang-selector .gt-current-lang {
    background-color: var(--taupe);
    color: var(--white);
}

.lang-selector .gt-current-lang::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(212, 199, 180, 0.3), transparent);
    pointer-events: none;
    border-radius: 8px;
}

/* Анимация загрузки селектора */
.lang-selector.loaded {
    animation: slideInRight 0.6s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fix: горизонтальная раскладка языкового селектора в хедере */
.main-header .lang-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
}

.main-header .lang-selector .glink,
.main-header .lang-selector a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* Адаптивность для языкового селектора */
@media (max-width: 768px) {
    .lang-selector {
        margin-right: 10px;
        border-radius: 20px;
    }

    .lang-selector .glink {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .lang-selector {
        border-radius: 18px;
    }

    .lang-selector .glink {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 35px;
    }
}

/* Дополнительные медиа-запросы для улучшенной адаптивности */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .hero-logo img {
        width: clamp(180px, 80vw, 280px);
    }

    .section-header h2 {
        font-size: 24px;
    }

    .fixed-buttons {
        padding: 0 10px;
    }

    .modal-content {
        width: 98%;
    }

    .testimonial-content {
        padding: 25px 15px;
        margin: 0 5px;
    }

    .testimonial-text p {
        font-size: 15px;
    }

    .testimonial-text p::before,
    .testimonial-text p::after {
        font-size: 35px;
    }

    .contact-content {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 10px 0;
    }

    .hero-content {
        padding: 0 15px;
    }

    section {
        padding: 30px 0;
    }
}

/* Large screens improvements */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

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

    .section-header h2 {
        font-size: 48px;
    }
}

/* Print styles */
@media print {

    .fixed-buttons,
    .mobile-menu-btn,
    .modal,
    nav {
        display: none !important;
    }

    .main-header {
        position: static;
        background: transparent;
        color: black;
    }

    .hero {
        margin-top: 0;
        min-height: auto;
        page-break-after: always;
    }
}