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

:root {
    --primary-color: #bdc9ad;
    --secondary-color: #2d572c;
    --text-dark: #000000;
    --text-light: #ffffff;
    --bg-light: #fafafa;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: blur(0px);
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: #00000080;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(189, 201, 173, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0.6);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--text-dark);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    animation: fadeInScale 2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 0.7;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 999px;
    background: rgba(189, 201, 173, 0.92);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    background: rgba(189, 201, 173, 1);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

.btn-whatsapp::after {
    content: '→';
    margin-left: 12px;
    font-size: 18px;
    color: var(--secondary-color);
}

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

.hero-title {
    font-size: 120px;
    font-weight: 700;
    letter-spacing: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

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


.scroll-arrow {
    width: 1px;
    height: 30px;
    background-color: var(--text-light);
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--text-light);
    border-bottom: 1px solid var(--text-light);
    transform: rotate(45deg);
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 60px;
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.lead-text {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.highlight-text {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.gallery-section .section-title {
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    border-radius: 4px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay.show-label {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--text-light);
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* Pricing Section */
.pricing-section {
    background-color: var(--bg-light);
    padding-bottom: 0;
}

.pricing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-intro {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
    padding: 0 20px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(45, 87, 44, 0.1);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.pricing-card h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(45, 87, 44, 0.1);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-days {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.pricing-price {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.pricing-note {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.pricing-card:has(.pricing-note:only-child) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    height: 100%;
}

.pricing-info {
    text-align: center;
    padding: 0 20px;
}

.pricing-benefits {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pricing-condition {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
}

.pricing-note-bottom {
    margin-top: 30px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    font-style: italic;
    text-align: center;
}

/* Amenities Section */
.amenities-section {
    background-color: var(--bg-light);
}

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

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

.amenity-item {
    padding: 30px;
    background-color: white;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid rgba(45, 87, 44, 0.1);
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.amenity-item h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.amenity-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.amenity-item p:last-child {
    margin-bottom: 0;
}

.amenities-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amenity-photo {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    background-color: #f5f5f5;
}

.amenity-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.amenity-photo:hover img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border: 2px dashed rgba(45, 87, 44, 0.3);
    color: rgba(45, 87, 44, 0.5);
    font-size: 18px;
    font-weight: 500;
}

/* Скрыть placeholder когда есть изображение */
.amenity-photo img + .photo-placeholder {
    display: none;
}

/* Rules Section */
.rules-section {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.rules-section .section-title {
    color: var(--primary-color);
}

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

.rule-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(189, 201, 173, 0.2);
    transition: var(--transition);
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.rule-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.rule-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.rule-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.rule-card-split {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rule-card-part {
    flex: 1;
}

.rule-card-part:first-child {
    border-bottom: 1px solid rgba(189, 201, 173, 0.2);
    padding-bottom: 30px;
}

.rule-card-part:last-child {
    padding-top: 0;
}

.rule-card-part h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.rule-card-part p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Location Section */
.location-section {
    background-color: var(--bg-light);
}

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

.location-text {
    font-size: 18px;
    line-height: 1.8;
}

.location-list {
    list-style: none;
    margin: 30px 0;
}

.location-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(45, 87, 44, 0.1);
    font-size: 18px;
}

.location-time {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.location-address {
    margin-top: 30px;
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 500;
}

.location-address a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.location-address a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.location-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 400px;
}

.location-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

/* Contact Section */
.contact-section {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('logo icon.png');
    background-size: 120px 120px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 0.14;
    transform: rotate(45deg);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
}

.contact-section .section-title {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-link {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-link a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

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

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0;
    border-top: 1px solid rgba(189, 201, 173, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: fadeIn 0.3s ease-out;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 50px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 60px;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

.rule-card.fade-in {
    animation: fadeInCard 0.6s ease-out forwards;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .about-content,
    .location-content,
    .amenities-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .amenities-photos {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-additional {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #00000080;
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding-top: 60px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 30px;
        transform: translateY(-100%);
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu .nav-link {
        color: var(--text-light);
    }
    
    .nav-menu .nav-link::after {
        background-color: var(--primary-color);
    }
    
    .nav-menu .nav-link:hover {
        color: var(--primary-color);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 50px;
        letter-spacing: 5px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-additional {
        display: none;
    }
    
    .amenities-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .amenities-photos {
        flex-direction: row;
    }
    
    .amenities-photos .amenity-photo {
        flex: 1;
    }
    
    .rules-content {
        grid-template-columns: 1fr;
    }
    
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-intro {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 40px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .lead-text {
        font-size: 18px;
    }
    
    .about-text,
    .location-text {
        font-size: 16px;
    }

    /* Сделать паттерн логотипов заметнее на мобильных экранах */
    .contact-section::before {
        width: 180%;
        height: 180%;
        top: -40%;
        left: -40%;
        background-size: 70px 70px;
        opacity: 0.2;
    }
}

