/* =========================================
   HERO (главная)
   ========================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/hero.jpg') center/cover;
    opacity: 0.3;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-subtitle + .hero-buttons {
    margin-top: 12px;
}

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

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =========================================
   ABOUT
   ========================================= */
.about {
    background: var(--white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 8px solid var(--white);
    box-shadow: 0 15px 40px var(--shadow);
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* =========================================
   ROOMS (номера и коттеджи)
   ========================================= */
.rooms {
    background: var(--cream);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.room-card .room-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 20px 20px;
}
.room-card .room-card-actions {
    margin-top: auto;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-hover);
}

.room-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.room-info {
    padding: 30px;
}

.room-info h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.room-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}
.room-price .price-value { font-size: 1.3rem; }
.room-price .price-period { font-size: 0.75rem; }

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    color: var(--text-light);
    font-size: 0.9rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.room-feature-tag {
    background: var(--light-gray);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.room-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.room-card-actions a,
.room-card-actions button {
    flex: 1;
    min-width: 120px;
}

.btn-book {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: block;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

.btn-book:hover {
    background: var(--primary-light);
}

.btn-book-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-book-accent:hover {
    background: var(--accent-hover, #d97706);
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: 2px solid var(--light-gray);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.price-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.price-table tr:hover {
    background: var(--cream);
}

.price-table .price-cell {
    font-weight: 700;
    color: var(--primary);
}

/* Коттедж прайс-лист (доп. блок) */
.price-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
}

.price-table-wrapper {
    overflow-x: auto;
}

.table-category {
    background: var(--cream);
    font-weight: 700;
    color: var(--primary-dark);
}

/* =========================================
   КАЛЬКУЛЯТОР МЕРОПРИЯТИЙ (event)
   ========================================= */
.event-option {
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.event-option:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow);
}

.event-option.active {
    border-color: var(--accent);
    background: rgba(201,162,39,0.08);
    box-shadow: 0 10px 30px var(--shadow);
}

.event-option h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.event-option .price-tag {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* =========================================
   УСЛУГИ
   ========================================= */
.services {
    background: var(--white);
}

.service-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--light-gray);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   ГАЛЕРЕЯ
   ========================================= */
.gallery {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item:nth-child(5) {
    grid-row: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =========================================
   ОТЗЫВЫ
   ========================================= */
.reviews {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.review-rating {
    margin-bottom: 15px;
}

.review-rating i {
    color: var(--accent);
    font-size: 1.1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-author h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========================================
   КОНТАКТЫ
   ========================================= */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
