/* Стили для главной страницы (Index CSS) */

.section {
    padding: 80px 0;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 30px;
    font-weight: 800;
}
.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}
.bg-light {
    background-color: var(--color-bg);
}
.mt-4 { margin-top: 1.5rem; }

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding-top: 80px; 
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градиент для читаемости */
    background: linear-gradient(to right, rgba(46, 125, 50, 0.95) 0%, rgba(46, 125, 50, 0.7) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 650px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
    font-weight: 600;
    font-family: var(--font-heading);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}
.hero-title .highlight {
    color: var(--color-accent);
}
.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* About Section */
.about-grid, .events-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text p, .events-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}
.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-icon {
    font-size: 2rem;
    background: var(--color-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-primary);
}
.feature-item strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
    display: block;
}
.img-main {
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.menu-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--color-primary);
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top-color: var(--color-accent);
}
.menu-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}
.menu-card-content p {
    color: #555;
    font-size: 1rem;
}

/* Events Section */
.events-list {
    margin-top: 20px;
}
.events-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-text);
}

/* Reviews Section */
.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    min-height: 220px;
}
.review-card {
    display: none;
    animation: fadeIn 0.5s ease;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.review-card.active {
    display: block;
}
.review-stars {
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.review-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #444;
}
.review-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.slider-btn {
    background: var(--color-primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--color-accent);
}

/* Contacts Section */
.contacts-wrapper {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.contacts-info {
    padding: 60px;
    flex: 1;
}
.contacts-list {
    margin-top: 30px;
}
.contacts-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #444;
}
.contacts-list svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.contacts-list strong {
    font-family: var(--font-heading);
    color: var(--color-text);
}
.phone-link-big {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-accent);
}
.vk-link {
    color: #2787F5;
    font-weight: 600;
}
.phone-link-big:hover, .vk-link:hover {
    text-decoration: underline;
}
.contacts-image {
    flex: 1;
    min-height: 350px;
}
.facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив */
@media (max-width: 992px) {
    .about-grid, .events-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contacts-wrapper { flex-direction: column; }
    .events-wrapper .events-image { order: -1; } /* Картинка сверху на мобильных */
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .review-card { padding: 30px 20px; }
    .contacts-info { padding: 40px 20px; }
}