/*
Theme Name: ricchEstate
Description: Специализированная тема для недвижимости
Version: 1.0
Author: ricchEstate Team
*/

/* Общие стили */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.page-template-default .site-main {
    padding: 5rem 0;
}
/* Секция поиска */
.search-section {
    border-bottom: 1px solid #e9ecef;
}

.lot-search-form {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Главный слайдер */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active,
.slider-slide:first-child {
    opacity: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Градиентный фон по умолчанию */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Навигация слайдера */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Индикаторы слайдера */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active,
.slider-indicator:first-child {
    background: white;
    transform: scale(1.2);
}

/* Блок "Нам доверяют" */
.trust-block {
    padding: 80px 0;
    background: #f8fafc;
}

.trust-content {
    text-align: center;
}


.trust-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.trust-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.trust-cards {
    margin-top: 40px;
}

.trust-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.trust-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
    line-height: 1;
}

.trust-card-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Блок "Наши услуги" */
.services-block {
    padding: 80px 0;
    background: #f1f5f9;
}

.services-content {
    position: relative;
}

.services-text {
    padding-right: 2rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.services-author {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.author-position {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

.services-button {
    background: #1e3a8a;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
}

.services-button:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.3);
}

.services-image {
    position: relative;
    text-align: center;
}

.services-image img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.services-image-placeholder {
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem 2rem;
    color: #64748b;
}

.services-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.services-image-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 991.98px) {
    
    .lot-search-form {
        margin-top: 0;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .trust-title {
        font-size: 2rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .lot-search-form {
        padding: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .trust-block {
        padding: 60px 0;
    }
    
    .trust-title {
        font-size: 1.75rem;
    }
    
    .trust-card {
        padding: 30px 15px;
        margin-bottom: 20px;
    }
    
    .trust-card-number {
        font-size: 2rem;
    }
    
    .services-block {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .services-description {
        font-size: 1rem;
    }
    
    .services-author {
        padding: 1rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
}

/* Основной контент */
.page-template-page-full .hero-section {
    align-items: center!important;
    flex-direction: column;
    justify-content: center;
}
.hero-section .wp-block-column {
    align-items: center!important;
    flex-direction: column;
    justify-content: center;
}
.page-template-page-full .wp-block-columns.alignfull {
    padding: 60px 0;
}
/* Стили для страниц */
.page-content {
    padding: 2rem 0;
}

.page-thumbnail {
    margin-bottom: 2rem;
}

.page-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.125rem; }
.entry-content h6 { font-size: 1rem; }

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Утилиты */
.text-decoration-none {
    text-decoration: none !important;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
