/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - белый, черный, стальной, зеленый */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-steel: #6c757d;
    --color-green: #28a745;
    --color-green-dark: #1e7e34;
    --color-gray-light: #f8f9fa;
    --color-gray-dark: #343a40;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --header-height: 80px;
    
    /* Transitions */
    --transition-default: all 0.3s ease;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-default);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

.navbar {
    height: var(--header-height);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Logo */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
}

.logo-img {
    height: 56px;
    width: auto;
    transition: var(--transition-default);
    filter: brightness(0) invert(1); /* Make logo white on dark header */
}

.nav-logo a:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

/* Navigation Menu (Mobile by default) */
.nav-menu {
    display: none;
    list-style: none;
    gap: 30px;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Desktop Navigation Menu */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        transform: none;
        transition: none;
        width: auto;
        gap: 40px;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-controls {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .language-selector {
        order: 1; /* Языковой селектор будет первым */
    }

    .nav-cta {
        order: 2; /* Кнопка будет последней */
    }

}

.nav-menu.active {
    display: flex;
    transform: translateY(0);
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-default);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-green);
    transition: var(--transition-default);
}

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

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition-default);
    font-size: 14px;
    font-weight: 500;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-green);
}

.globe-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.current-lang {
    font-weight: 600;
    text-transform: uppercase;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: var(--transition-default);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--color-gray-light);
    color: var(--color-green);
}

/* CTA Button (Centered) */
.nav-cta {
    display: flex;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-default);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reservation {
    background: var(--color-green);
    color: var(--color-white);
    border: 2px solid var(--color-green);
    padding: 10px 20px;
    font-size: 12px;
}

.btn-reservation:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
    border: 2px solid var(--color-green);
}

.btn-primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* Mobile Menu Toggle (Always visible) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.bar {
    width: 100%;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-default);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: blur(1.5px);
}

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

/* Hero image fallback styles */
.hero-background img:not([src]), 
.hero-background img[src=""],
.hero-background img[src*="placeholder"] {
    background: linear-gradient(135deg, 
        var(--color-steel) 0%, 
        var(--color-gray-dark) 50%, 
        var(--color-black) 100%);
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero Social Media Icons */
.hero-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 200px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;

    /* Enhanced glassmorphism effect */
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);

    /* Glass reflection effect */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );

    /* Enhanced shadows */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-green);
    color: var(--color-green);
    transform: translateY(-5px);

    /* Enhanced hover shadows */
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(40, 167, 69, 0.3);

    /* Enhanced glass effect on hover */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );

    /* Stronger blur on hover */
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Scroll Down Indicator - Mouse Style */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-white);
    cursor: pointer;
    animation: fadeInUp 1s ease-out 1s both;
    z-index: 10;
    pointer-events: none;
}

.scroll-indicator > * {
    pointer-events: auto;
}

.scroll-mouse {
    width: 15px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-wheel {
    width: 2px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.scroll-text {
    font-size: 0.48rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.scroll-indicator:hover .scroll-mouse {
    transform: translateY(-3px);
    border-color: var(--color-green);
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator:hover .scroll-wheel {
    background: var(--color-green);
}

.scroll-indicator:hover .scroll-text {
    opacity: 1;
    color: var(--color-green);
}

/* Scroll Wheel Animation */
@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}


/* Hall Buttons */
.hall-buttons {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hall-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hall-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 15px 12px;
    text-decoration: none;
    color: var(--color-white);

    /* Enhanced Glassmorphism effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;

    /* Glass reflection effect */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );

    /* Enhanced shadows */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hall-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;
}

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

.hall-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);

    /* Enhanced hover shadows */
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);

    /* Enhanced glass effect on hover */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );

    /* Stronger blur on hover */
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.hall-btn-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hall-btn-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hall-btn-subtitle {
    font-size: 0.85rem;
    margin: 2px 0 0 0;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.1;
}

.hall-btn-service .hall-btn-content h3 {
    margin-bottom: 2px;
}

/* ========================================
   SECTIONS BASE STYLES
======================================== */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-steel);
    max-width: 600px;
    margin: 0 auto;
}


/* Menu Modal Styles */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-modal.show {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.menu-modal-header {
    background: var(--color-dark);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.menu-modal-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-modal-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-logo-img {
    height: 40px;
    width: auto;
}

.menu-modal-header h2 {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin: 0;
}

.menu-modal-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-modal-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.menu-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.menu-loading-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.menu-error-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20;
}

.error-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.error-content h3 {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: white;
}

.error-content p {
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   HALLS SECTION
======================================== */
.halls-section {
    padding: 30px 0 60px 0;
    background-image: url('../images/backround.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.halls-section .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.halls-section .section-header {
    margin-bottom: 30px;
}

.halls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.hall-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
}

.hall-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hall-image {
    height: 250px;
    overflow: hidden;
}

.hall-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hall-card:hover .hall-image img {
    transform: scale(1.1);
}

.hall-info {
    padding: 30px;
    text-align: center;
}

.hall-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: 10px;
}

.hall-info p {
    color: var(--color-steel);
}

/* ========================================
   BANQUETS SECTION
======================================== */
.banquets-section {
    padding: 30px 0 60px 0;
    background-image: url('../images/backround.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.banquets-section .section-header {
    margin-bottom: 30px;
}

.banquets-section .section-title {
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banquets-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.banquet-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-white);
    border-radius: 15px;
    transition: var(--transition-default);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: 20px;
}

.service-item p {
    color: var(--color-steel);
    line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    padding: 30px 0 60px 0;
    background-image: url('../images/backround.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

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

.about-section .section-title {
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
    max-width: 900px;
    width: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-card p {
    margin-bottom: 20px;
    color: var(--color-steel);
    line-height: 1.8;
    text-align: justify;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    padding: 30px 0 60px 0;
    background-image: url('../images/backround.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.contact-section .section-header {
    margin-bottom: 30px;
}

.contact-section .section-title {
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--color-black);
    margin-bottom: 15px;
}

.contact-item p {
    color: var(--color-steel);
    font-size: 1rem;
    margin: 0;
    margin-bottom: 8px;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-link {
    color: var(--color-steel);
    text-decoration: none;
    transition: var(--transition-default);
}

.contact-link:hover {
    color: var(--color-green);
    text-decoration: underline;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.telegram-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-default);
}

.telegram-link:hover svg {
    transform: scale(1.1);
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hours-row .day {
    font-weight: 500;
    color: var(--color-steel);
    font-size: 0.9rem;
}

.hours-row .time {
    font-weight: 600;
    color: var(--color-black);
    font-size: 1rem;
}

/* Contact Map */
.contact-map {
    text-align: center;
}

.contact-map h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.feedback-form input,
.feedback-form textarea {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition-default);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--color-green);
}

/* ========================================
   MODAL STYLES
======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    color: var(--color-steel);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

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

.modal-content h2 {
    font-family: var(--font-secondary);
    margin-bottom: 30px;
    text-align: center;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
}

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

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--color-steel);
    margin-bottom: 10px;
}

.footer-hours {
    text-align: center;
}

.footer-hours .working-hours {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-hours .hours-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-hours .day {
    font-weight: 500;
    color: var(--color-steel);
    font-size: 0.9rem;
}

.footer-hours .time {
    font-weight: 600;
    color: var(--color-white);
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-default);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--color-green);
    background: rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-dark);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-steel);
    font-size: 14px;
}

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


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.55rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    
    .about-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-card {
        padding: 25px 15px;
    }

    /* Footer tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-hours {
        order: 2;
    }
}

@media (max-width: 768px) {
    /* Hall Buttons Mobile */
    .hall-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 400px;
    }

    .hall-btn {
        min-height: 65px;
        padding: 12px 10px;
        backdrop-filter: blur(15px) saturate(150%);
        -webkit-backdrop-filter: blur(15px) saturate(150%);
    }

    .hall-btn-content h3 {
        font-size: 1rem;
    }

    .hall-btn-subtitle {
        font-size: 0.8rem;
    }

    /* Disable transform animation on mobile for hall buttons */
    .hall-btn:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(20px) saturate(170%);
        -webkit-backdrop-filter: blur(20px) saturate(170%);
    }

    /* Sections mobile unified spacing */
    .halls-section,
    .banquets-section,
    .about-section {
        padding: 25px 0 50px 0;
    }

    .halls-section .section-header,
    .banquets-section .section-header,
    .about-section .section-header {
        margin-bottom: 25px;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 25px 0 50px 0;
    }

    .contact-section .section-header {
        margin-bottom: 25px;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .about-card {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .contact-map h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

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

    /* Header Mobile */
    .logo-img {
        height: 44px;
    }
    
    
    .nav-item {
        padding: 15px 0;
    }
    
    .nav-controls {
        gap: 10px;
    }

    .btn-reservation {
        padding: 7px 14px;
        font-size: 10px;
    }

    /* Language Selector Mobile */
    .language-selector {
        margin: 0;
    }

    .current-lang {
        display: none;
    }

    .lang-toggle {
        padding: 6px;
        gap: 0;
    }

    .globe-icon {
        width: 20px;
        height: 20px;
    }

    .lang-dropdown {
        right: -10px;
        min-width: 120px;
    }

    /* Hero Mobile */
    .hero-title {
        font-size: 2.125rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-social {
        gap: 15px;
        margin-top: 120px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-indicator {
        bottom: 25px;
        gap: 8px;
    }
    
    .scroll-mouse {
        width: 13px;
        height: 21px;
        border-radius: 6px;
    }

    .scroll-wheel {
        width: 1.5px;
        height: 3px;
        top: 3px;
    }

    .scroll-text {
        font-size: 0.42rem;
        letter-spacing: 1px;
    }
    
    /* Sections Mobile */
    :root {
        --section-padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .halls-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .banquet-services {
        grid-template-columns: 1fr;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ========================================
   iOS SPECIFIC OPTIMIZATIONS
======================================== */
/* Detect iOS devices with touch support */
@supports (-webkit-touch-callout: none) {
    .hall-btn {
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
        will-change: transform, backdrop-filter;
    }

    .hall-btn:hover {
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
    }
}

/* Optimize for high DPI displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2) {
    .hall-btn {
        backdrop-filter: blur(10px) saturate(130%);
        -webkit-backdrop-filter: blur(10px) saturate(130%);
    }

    .hall-btn:hover {
        backdrop-filter: blur(14px) saturate(150%);
        -webkit-backdrop-filter: blur(14px) saturate(150%);
    }
}

/* ========================================
   FALLBACK FOR UNSUPPORTED DEVICES
======================================== */
/* Fallback for devices that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .hall-btn {
        background: rgba(255, 255, 255, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
    }

    .hall-btn:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
    }
}

@media (max-width: 768px) {

    /* Menu modal mobile */
    .menu-modal-header {
        padding: 15px 20px;
    }

    .menu-modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-logo-img {
        height: 30px;
    }

    .menu-modal-close {
        padding: 4px;
    }

    .error-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    /* Hero Very Small Mobile */
    .hero {
        min-height: 500px;
    }

    /* Menu modal very small mobile */
    .menu-modal-header {
        padding: 12px 15px;
    }

    .menu-modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-logo-img {
        height: 25px;
    }

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

    .error-content h3 {
        font-size: 1.3rem;
    }

    /* Hall Buttons Very Small Mobile */
    .hall-buttons {
        margin-top: 25px;
    }

    .hall-buttons-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;
    }

    .hall-btn {
        min-height: 50px;
        padding: 8px 6px;
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
    }

    .hall-btn-content h3 {
        font-size: 0.85rem;
    }

    .hall-btn-subtitle {
        font-size: 0.7rem;
    }

    /* Disable transform animation on very small screens for hall buttons */
    .hall-btn:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
    }

    .container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    /* Social icons optimization for very small screens */
    .hero-social {
        gap: 12px;
        margin-top: 40px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-price {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
}

/* ========================================
   FOOTER STYLES (Updated)
   ======================================== */

.footer {
    background: #111;
    color: #fff;
    padding: 40px 0 20px;
    font-family: sans-serif;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link svg {
    stroke: #fff;
    transition: stroke 0.3s;
}

.social-link:hover svg {
    stroke: #f0c040;
}

.social-link-with-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #fff;
}

.social-link-with-label svg {
    stroke: #fff;
    transition: stroke 0.3s;
}

.social-link-with-label:hover svg {
    stroke: #f0c040;
}

.social-link-with-label span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.social-link-with-label:hover span {
    color: #f0c040;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        text-align: center;
        width: 100%;
    }

    .footer-hours .working-hours {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .social-link-with-label span {
        font-size: 0.65rem;
    }

    /* Disable animations for social icons on mobile to prevent sticking */
    .social-icon:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }
}