/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #333;
}

.btn-reserve {
    background: #c9a050;
}

.btn-reserve:hover {
    background: #b08940;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 49px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    border-color: #c9a050;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    font-size: 0.875rem;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slider .slide {
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 15px 25px;
    display: flex;
    gap: 15px;
}

.now-open {
    font-weight: 600;
    text-transform: uppercase;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 3rem;
    text-align: center;
}

/* Overview Section */
.overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.overview-card {
    position: relative;
    overflow: hidden;
}

.card-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.card-content h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 60px 0;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.feature-content h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f8f8;
}

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

.contact-block h2 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #c9a050;
}

.contact-block address {
    font-style: normal;
    line-height: 1.8;
}

.contact-block a {
    color: #c9a050;
}

.contact-block a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.75rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Menu Section */
.menu-section {
    padding: 80px 0;
}

.menu-category {
    margin-bottom: 50px;
}

.menu-category h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a050;
}

.menu-list {
    display: grid;
    gap: 25px;
}

.menu-item h3 {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.menu-item p {
    color: #666;
    font-size: 0.875rem;
}

/* CTA Block */
.cta-block {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #c9a050;
}

.footer p {
    margin-bottom: 10px;
    color: #aaa;
}

.footer a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c9a050;
}

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

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-block {
        grid-template-columns: 1fr;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


.booking-form-container > h1 {
    text-align: center;
}

.booking-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    margin: 20px;
}
.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.booking-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-weight: 600;
    color: #444;
    font-size: 1.1em;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

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

.error-message {
    color: #e74c3c;
    font-size: 0.9em;
    min-height: 20px;
}

.response-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    display: none;
}

.response-message.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.response-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.response-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.response-message h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.response-message p {
    font-size: 1.1em;
    line-height: 1.6;
}

.success-icon, .error-icon {
    font-size: 3em;
    margin-bottom: 10px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.submit-btn {
    background: linear-gradient(135deg, #000 0%, #c9a050 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form-container {
        padding: 25px;
    }
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.02);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ff4444;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-caption span {
    margin: 0 10px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 10px;
}

.lightbox-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lightbox-thumbnails img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-thumbnails img.active {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.05);
}

/* Keyboard focus styles */
.lightbox-prev:focus,
.lightbox-next:focus,
.lightbox-close:focus {
    outline: 2px solid #fff;
    border-radius: 50%;
}

#lightbox-thumbnails-container {
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 15px;
    }
    
    .lightbox-close {
        font-size: 2.5rem;
        top: -30px;
    }
    
    .lightbox-caption {
        bottom: -70px;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .lightbox-thumbnails {
        bottom: -130px;
    }
    
    .lightbox-thumbnails img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
    
    .lightbox-thumbnails {
        bottom: -160px;
    }
}



/* Navigation - Desktop */
.nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #c9a050;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a050;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-reserve {
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.phone {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.phone:hover {
    color: #667eea;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    /* Скрыть навигацию на мобильных */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-list li a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }
    
    .nav-list li a::after {
        display: none;
    }
    
    /* Показать бургер на мобильных */
    .burger-menu {
        display: flex;
    }
    
    /* Скрыть обычные элементы на мобильных */
    .header-actions {
        display: none;
    }
}

/* Tablet breakpoint */
@media (max-width: 768px) {
    .nav {
        width: 250px;
    }
    
    .header-inner {
        padding: 15px 15px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .nav {
        width: 100%;
    }
    
    .nav-list li a {
        font-size: 16px;
        padding: 15px 0;
    }
}