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

:root {
    --color-white: #FFFFFF;
    --color-red: #E63946;
    --color-pink: #FFB3C1;
    --color-yellow: #FFD60A;
    --color-blue: #4361EE;
    --color-purple: #9D4EDD;
    --color-green: #06A77D;
    --color-dark: #1a1a2e;
    --color-gray: #f5f5f5;
    --color-text: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

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

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

.section {
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-dark);
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-image-footer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

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

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 20px;
}

.lang-btn {
    padding: 6px 12px;
    border: 2px solid var(--color-dark);
    background: transparent;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.lang-btn.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1563297975-80a8b36684b2?w=1920');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

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

.abstract-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--color-red);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--color-yellow);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: var(--color-pink);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--color-purple);
    top: 30%;
    right: 25%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ЖЕЛТЫЙ ТЕКСТ ЗАМЕНЕН НА ЧЕРНЫЙ */
.hero-content .highlight {
    color: #000000;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #c5303a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-gray);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--color-red);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
    background: var(--color-gray);
    border-radius: 10px;
    transition: var(--transition);
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--color-dark);
}

.feature p {
    color: #666;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--color-dark);
    background: transparent;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

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

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-overlay p {
    margin-bottom: 5px;
}

.gallery-overlay .price {
    font-size: 1.3rem;
    color: var(--color-yellow);
    font-weight: 700;
    margin: 15px 0;
}

.btn-inquire {
    padding: 10px 30px;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-inquire:hover {
    background: var(--color-yellow);
    color: var(--color-dark);
}

/* Exhibitions Section */
.exhibitions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

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

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

.exhibition-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge.current {
    background: var(--color-green);
    color: var(--color-white);
}

.exhibition-info {
    padding: 30px;
}

.exhibition-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.exhibition-info .artist {
    color: var(--color-red);
    font-weight: 600;
    margin-bottom: 10px;
}

.exhibition-info .dates {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.exhibition-info .description {
    color: #666;
}

/* Wine Bar Section */
.wine-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
}

.wine-bar h2 {
    color: var(--color-white);
}

.wine-bar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wine-bar-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.wine-bar-text .lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--color-yellow);
    font-style: italic;
}

.wine-bar-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.95;
}

.wine-menu {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.menu-item i {
    font-size: 2rem;
    color: var(--color-yellow);
    min-width: 40px;
}

.menu-item h3 {
    margin-bottom: 5px;
    color: var(--color-white);
}

.menu-item p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.hours {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.hours i {
    font-size: 2rem;
    color: var(--color-yellow);
}

.wine-bar-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact {
    background: var(--color-gray);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
}

.info-item a {
    color: var(--color-dark);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--color-red);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

.contact-form form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-white);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-yellow);
}

.footer-bottom {
    text-align: center;
    opacity: 0.7;
}

.footer-bottom i {
    color: var(--color-red);
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .language-switcher {
        margin-right: 0;
        margin-bottom: 15px;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

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

    .about-content,
    .wine-bar-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-tagline {
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }

    .language-switcher {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .lang-btn {
        flex: 1;
        text-align: center;
    }
}