@charset "utf-8";
/* CSS Document */

:root {
    --primary-color: #8B4513;
    --secondary-color: #D4A76A;
    --accent-color: #5D4037;
    --light-color: #FFF8F0;
    --dark-color: #3E2723;
    --text-color: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}



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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

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

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

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(62, 39, 35, 0.95);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--light-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
}


 .fa-bars:before { content: "☰"; }
        .fa-times:before { content: "✕"; }
        .fa-chevron-left:before { content: "‹"; }
        .fa-chevron-right:before { content: "›"; }
        .fa-mouse-pointer:before { content: "👉"; }
        .fa-arrows-alt-h:before { content: "↔"; }
        .fa-map-marker-alt:before { content: "📍"; }
        .fa-clock:before { content: "🕐"; }
        .fa-phone:before { content: "📞"; }
        .fa-envelope:before { content: "✉"; }
        

/* Стили для иконки Telegram */
.telegram-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    transition: var(--transition);
    background-color: white;
    padding: 0px;
}

.social-links a:hover .telegram-icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

/* Если хотите использовать Font Awesome стиль с PNG */
.fa-telegram {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('/images/tg.png');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover .fa-telegram {
    background-color: var(--secondary-color);
}

        .fas, .fab {
            font-family: 'Open Sans', sans-serif;
            font-style: normal;
        }

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/navbg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

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

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

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--dark-color);
    font-style: normal;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-logo span {
    color: white;
}

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

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

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Menu Slider Section */
.menu-slider {
    position: relative;
    padding: 100px 0;
    background-color: #f9f5f0;
}

.slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: white;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.01);
}

.slide-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(139, 69, 19, 0.85);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    font-family: 'Open Sans', sans-serif;
}

.slider-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

.dot:hover {
    background-color: var(--secondary-color);
}

.menu-instruction {
    text-align: center;
    margin-top: 30px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.menu-instruction p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-instruction i {
    color: var(--primary-color);
    font-style: normal;
}

/* Fullscreen Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-container {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    font-family: 'Open Sans', sans-serif;
}

.modal-close-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.modal-slider-container {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.modal-slider-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.modal-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.modal-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.modal-slider-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin: 0 20px;
    z-index: 10;
    font-family: 'Open Sans', sans-serif;
}

.modal-slider-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.modal-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-dot.active {
    background-color: var(--secondary-color);
}

.modal-dot:hover {
    background-color: var(--primary-color);
}

.modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Styles for Menu Slider */
@media (max-width: 992px) {
    .slider-container {
        padding: 0 50px;
    }
    
    .modal-container {
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .slider-container {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 10px;
    }
    
    .modal-close-btn {
        top: -40px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .slider-container {
        padding: 0 30px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slide-number {
        font-size: 0.8rem;
        padding: 4px 12px;
        bottom: 15px;
        right: 15px;
    }
    
    .menu-instruction {
        font-size: 1rem;
    }
    
    .modal-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 25px;
    }
}