/* Дизайн в стиле старых русских сказок - структурированный */

/* Переменные - русские сказочные тона */
:root {
    --wood-dark: #4a3728;
    --wood-medium: #6b4e3d;
    --wood-light: #8b6f5e;
    --wood-accent: #a0826f;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --red: #8b4513;
    --red-light: #a0522d;
    --text-dark: #2c1810;
    --text-light: #5a4a3a;
    --bg-cream: #f5f0e8;
    --bg-white: #ffffff;
    --border-wood: #6b4e3d;
    --shadow-wood: 0 4px 15px rgba(74, 55, 40, 0.25);
    --shadow-wood-lg: 0 8px 25px rgba(74, 55, 40, 0.3);
    --shadow-wood-xl: 0 15px 40px rgba(74, 55, 40, 0.35);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-cream);
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(212, 175, 55, 0.03) 100px),
        repeating-linear-gradient(0deg, transparent, transparent 98px, rgba(212, 175, 55, 0.03) 100px);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Декоративные элементы резьбы - более заметные */
.decor {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 280px;
    max-height: 350px;
    filter: drop-shadow(0 6px 25px rgba(74, 55, 40, 0.5));
}

.decor:hover {
    opacity: 0.85;
}

.decor-top-left {
    top: 100px;
    left: 10px;
}

.decor-top-right {
    top: 100px;
    right: 10px;
}

.decor-bottom-left {
    bottom: 100px;
    left: 10px;
}

.decor-bottom-right {
    bottom: 100px;
    right: 10px;
}

.decor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(0.6) contrast(0.9) brightness(0.85);
}

.decor-flip {
    transform: scaleX(-1);
}

/* Навигация - деревянная панель в русском стиле */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(74, 55, 40, 0.98) 0%, rgba(107, 78, 61, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Десктоп - показываем обычное меню, скрываем бургер */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        height: auto !important;
        width: auto !important;
        background: transparent !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

.nav-link {
    color: var(--wood-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero секция */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) sepia(0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.88) 0%, rgba(107, 78, 61, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
    color: var(--gold-light);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* Секции */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    color: var(--gold-light);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
}

/* О заведении */
.about {
    background: var(--bg-cream);
    position: relative;
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.about-content-left {
    flex-direction: row;
}

.about-content-right {
    flex-direction: row;
}

.about-text {
    flex: 1.3;
}

.about-image-section {
    flex: 1;
}

.about-text {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-wood);
    border: 2px solid var(--wood-accent);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--wood-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.about-image-section {
    position: relative;
    height: fit-content;
    max-width: 400px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-decor-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    filter: sepia(0.2) contrast(0.98) brightness(0.92);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-wood);
    transition: all 0.3s ease;
    border: 2px solid var(--wood-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 220px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-wood-lg);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Галерея */
.gallery {
    background: white;
    position: relative;
}

.gallery-grid {
    display: none;
}

.gallery-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-main {
    margin-bottom: 1.5rem;
}

.gallery-main-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-wood-lg);
    border: 3px solid var(--wood-accent);
    background: var(--bg-cream);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-main-image:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 55, 40, 0.8);
    color: var(--gold-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    line-height: 1;
    padding: 0;
}

.gallery-nav:hover {
    background: rgba(74, 55, 40, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 20px;
}

.gallery-nav-next {
    right: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-wood);
    border: 3px solid var(--wood-accent);
    background: var(--bg-cream);
    width: 120px;
    height: 80px;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 0.8;
    transform: translateY(-3px);
    box-shadow: var(--shadow-wood-lg);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gallery-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item {
    display: none;
}

/* Модальное окно для галереи */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--gold-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.gallery-modal-close:hover {
    color: white;
}

.gallery-modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1rem;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Меню превью */
.menu-preview {
    background: var(--bg-cream);
    position: relative;
}

.menu-preview-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.menu-preview-left {
    grid-template-columns: 1fr 1.3fr;
}

.menu-preview-image {
    position: relative;
    height: fit-content;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-decor-image {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.2) contrast(0.98) brightness(0.92);
}

.menu-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.menu-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-wood);
    transition: all 0.3s ease;
    border: 2px solid var(--wood-accent);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    gap: 1.5rem;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-wood-lg);
    border-color: var(--gold);
}

.menu-card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: block;
}

.menu-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--wood-dark);
}

.menu-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.menu-card-arrow {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.menu-card:hover .menu-card-arrow {
    transform: translateX(5px);
}

.menu-preview-cta {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Банкеты и корпоративы */
.events {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    color: white;
    position: relative;
}

.events-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.events .section-title,
.events .section-subtitle {
    color: white;
}



.events-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-decor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: sepia(0.2) contrast(0.98) brightness(0.88);
}

.events-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.events-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.events-text p:last-child {
    margin-bottom: 0;
}

.events-text .lead {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
}

.hall-scheme {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.hall-scheme-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hall-scheme-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hall-scheme-image {
    width: 100%;
    height: auto;
    display: block;
    background: white;
    padding: 1rem;
}

.events-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.event-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

.event-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.event-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.event-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
}

.event-feature p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.hall-scheme {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.hall-scheme-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hall-scheme-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: white;
}

.hall-scheme-image {
    width: 100%;
    height: auto;
    display: block;
    padding: 1rem;
}

.booking-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-wood-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.booking-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.booking-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.booking-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.booking-info {
    margin-bottom: 1.5rem;
    flex: 1;
}

.booking-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.booking-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.booking-item strong {
    display: block;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.booking-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.booking-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.booking-item a:hover {
    opacity: 0.8;
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

/* Контакты, карта и отзывы */
.contacts {
    background: var(--bg-cream);
}

.contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.map-reviews-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contacts-info {
    width: 100%;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.map-reviews-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--wood-accent);
    box-shadow: var(--shadow-wood);
    transition: all 0.3s ease;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-wood-lg);
    border-color: var(--gold);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--wood-dark);
    font-family: 'Playfair Display', serif;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.contact-card a {
    color: var(--red);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    opacity: 0.8;
}

.map-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-wood-lg);
    border: 3px solid var(--wood-accent);
    background: white;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    flex: 1;
}

.map-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reviews-header-inline {
    margin-bottom: 1rem;
}

.reviews-header-inline h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin: 0 0 1rem 0;
}

.reviews-widget-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-wood-lg);
    border: 3px solid var(--wood-accent);
    background: white;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    flex: 1;
}

.reviews-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 30px);
    border: none;
    border-radius: 12px 12px 0 0;
}

.reviews-link-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: #b3b3b3;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 30px;
    line-height: 14px;
    box-sizing: border-box;
}

/* Футер */
.footer {
    background: var(--wood-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--gold);
    position: relative;
    z-index: 5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    max-width: 500px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.footer-text {
    opacity: 0.85;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-light);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Адаптивность - Планшеты */
@media (max-width: 1024px) {
    .decor {
        max-width: 200px;
        max-height: 250px;
        opacity: 0.6;
    }

    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item.large {
        grid-column: span 3;
        grid-row: span 1;
    }

    .menu-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .events-content {
        grid-template-columns: 1fr;
    }

    .events-features {
        grid-template-columns: 1fr;
    }

    .booking-card {
        position: static;
    }
}

/* Адаптивность - Мобильные */
@media (max-width: 768px) {
    .decor {
        max-width: 150px;
        max-height: 200px;
        opacity: 0.5;
    }

    .decor-top-left {
        top: 80px;
        left: 5px;
    }

    .decor-top-right {
        top: 80px;
        right: 5px;
    }

    .decor-bottom-left {
        bottom: 80px;
        left: 5px;
    }

    .decor-bottom-right {
        bottom: 80px;
        right: 5px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(74, 55, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem 0;
        box-shadow: var(--shadow-wood-lg);
        transition: left 0.3s ease;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: var(--gold-light);
        width: 100%;
        text-align: center;
    }

    .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
        color: var(--gold-light);
    }

    .nav-link::after {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 50px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 2rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-text .lead {
        font-size: 1.15rem;
    }

    .gallery-main-image-wrapper {
        aspect-ratio: 4/3;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-nav-prev {
        left: 10px;
    }

    .gallery-nav-next {
        right: 10px;
    }

    .gallery-thumb {
        width: 80px;
        height: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .menu-preview-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .menu-card-arrow {
        margin-left: 0;
    }

    .about-content,
    .about-content-left,
    .about-content-right {
        flex-direction: column;
    }
    
    .about-text,
    .about-image-section {
        flex: 1;
        width: 100%;
    }

    .about-image-section {
        order: -1;
        max-width: 100%;
    }

    .menu-preview-wrapper {
        grid-template-columns: 1fr;
    }

    .menu-preview-image {
        order: -1;
        max-width: 100%;
    }

    .events-text-image-wrapper {
        flex-direction: column;
    }
    
    .events-text,
    .events-image-section {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .events-image-section {
        order: -1;
    }

    .events-image-section {
        order: -1;
        max-width: 100%;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-nav-prev {
        left: 10px;
    }

    .gallery-nav-next {
        right: 10px;
    }

    .gallery-thumb {
        width: 80px;
        height: 60px;
    }

    .menu-preview-grid {
        grid-template-columns: 1fr;
    }

    .events-top-row {
        grid-template-columns: 1fr;
    }
    
    .events-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-wrapper {
        grid-template-columns: 1fr;
    }
    

    .map-reviews-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container,
    .reviews-container {
        height: auto;
    }
    
    .map-iframe-container,
    .reviews-iframe-container {
        min-height: 400px;
        height: 400px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .reviews-iframe-container {
        height: 400px;
    }

    .map-iframe-container {
        height: 300px;
    }

    .events-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-feature {
        padding: 1.25rem 1rem;
    }

    .hall-scheme {
        padding: 1.5rem;
    }

    .hall-scheme-title {
        font-size: 1.3rem;
    }

    .gallery-modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .gallery-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .reviews-widget-wrapper > div {
        height: 600px !important;
    }
}

/* Адаптивность - Маленькие мобильные */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .feature-card,
    .menu-card,
    .contact-card {
        padding: 1.75rem 1.25rem;
    }

    .booking-card {
        padding: 1.75rem 1.25rem;
    }

    .about-text {
        padding: 1.75rem 1.25rem;
    }

    .events-text {
        padding: 1.75rem 1.25rem;
    }

    .reviews-widget-wrapper > div {
        height: 500px !important;
    }
}
