/* Стили главной страницы (Index CSS) */

.section {
    padding: 90px 0;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}
.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}
.bg-light {
    background-color: var(--color-bg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 85px; 
    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(59, 40, 24, 0.9) 0%, rgba(59, 40, 24, 0.6) 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(201, 151, 56, 0.2);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--color-accent);
    margin-bottom: 25px;
    color: var(--color-accent);
    font-weight: 500;
}
.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);
    font-style: italic;
}
.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}
.halls-info {
    margin-top: 30px;
    background: var(--color-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}
.halls-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.3rem;
}
.halls-info li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #444;
}
.halls-info li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
}
.img-main {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--color-accent);
}
.service-icon-wrap {
    font-size: 3rem;
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.service-card p {
    color: #666;
    font-size: 1rem;
}
.highlight-card {
    background: var(--color-primary);
    color: #fff;
}
.highlight-card h3 {
    color: var(--color-accent);
}
.highlight-card p {
    color: #e0e0e0;
}
.highlight-card:hover {
    border-bottom-color: #fff;
}

/* Reviews Section */
.reviews {
    position: relative;
    color: #fff;
    padding: 100px 0;
}
.reviews-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}
.reviews-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 40, 24, 0.85); /* Темно-коричневый слой */
    z-index: 2;
}
.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    min-height: 220px;
}
.review-card {
    display: none;
    animation: fadeIn 0.6s ease;
}
.review-card.active {
    display: block;
}
.review-stars {
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.review-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.5;
}
.review-author {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.slider-btn {
    background: transparent;
    border: 2px solid var(--color-accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Contacts Section */
.contacts-wrapper {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.contacts-info {
    padding: 60px;
    flex: 1;
}
.contacts-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}
.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: 26px;
    height: 26px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.contacts-list strong {
    color: var(--color-primary);
}
.phone-link-big {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.vk-link {
    color: #4a76a8;
    font-weight: 600;
}
.vk-link:hover, .phone-link-big:hover {
    color: var(--color-accent);
}
.contacts-image {
    flex: 1;
    min-height: 400px;
}
.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 { grid-template-columns: 1fr; }
    .contacts-wrapper { flex-direction: column; }
    .contacts-info { padding: 40px 20px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .review-text { font-size: 1.2rem; }
}