/* Цветовая палитра в стиле логотипа НД (синий + красный) */
:root {
    /* Основные цвета из логотипа */
    --nd-blue: #2c3e50;        /* Темно-синий */
    --nd-blue-light: #3498db;  /* Светло-синий */
    --nd-red: #c0392b;         /* Приглушенный красный */
    --nd-red-light: #e74c3c;   /* Яркий красный */
    
    /* Нейтральные тона */
    --dark-bg: #1a1d23;
    --dark-card: #252a32;
    --dark-text: #e8e8e8;
    --dark-border: #3a4049;
    
    --light-bg: #f8f9fa;
    --light-card: #ffffff;
    --light-text: #2c3e50;
    --light-border: #e0e0e0;
    
    /* Акцентные */
    --accent: #3498db;
    --accent-dark: #2980b9;
    
    /* Тени */
    --shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
    --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    background-color: var(--nd-blue);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    font-weight: 600;
    background: linear-gradient(135deg, white, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--nd-red-light);
}

.nav-link.whatsapp {
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Герой-секция */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(26, 29, 35, 0.85), rgba(26, 29, 35, 0.9)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-overlay {
    width: 100%;
    padding: 40px 0;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--nd-red), var(--nd-red-light));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    background: linear-gradient(135deg, white, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-location i {
    color: var(--nd-red-light);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nd-blue), var(--nd-blue-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--nd-blue);
    border: 2px solid var(--nd-blue);
}

.btn-outline:hover {
    background: var(--nd-blue);
    color: white;
    transform: translateY(-3px);
}

.btn-call {
    background: linear-gradient(135deg, var(--nd-red), var(--nd-red-light));
    color: white;
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    color: var(--nd-blue);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Преимущества */
.features {
    padding: 100px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--nd-blue-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--nd-blue), var(--nd-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--nd-blue);
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Размещение */
.accommodation {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-card));
    color: white;
}

.dark-bg .section-title {
    color: white;
}

.dark-bg .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.room-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 35px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--nd-red);
}

.room-card.featured {
    border: 2px solid var(--nd-red);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--nd-red), var(--nd-red-light));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-type {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.room-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--nd-red-light);
}

.room-price span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.room-features {
    margin-bottom: 30px;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.room-feature i {
    color: var(--nd-blue-light);
    width: 20px;
}

.extra-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--dark-border);
}

.info-card i {
    font-size: 2rem;
    color: var(--nd-blue-light);
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Контакты */
.contacts {
    padding: 100px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--nd-blue), var(--nd-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--nd-blue);
}

.address, .phone-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nd-blue);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.phone-link:hover {
    color: var(--nd-red);
}

.small-text {
    font-size: 0.9rem;
    color: #666;
}

.quick-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.map-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--nd-blue), var(--dark-bg));
    color: white;
    padding: 25px;
    z-index: 1;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    display: flex;
    align-items: flex-end;
    padding: 40px 25px 25px;
}

.map-navigation {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.map-navigation p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--nd-blue);
}

.map-navigation i {
    color: var(--nd-red);
    width: 20px;
}

/* Футер */
.footer {
    background: var(--nd-blue);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--nd-red);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--nd-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--nd-red-light);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* WhatsApp фиксированная кнопка */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .room-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nd-blue);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features, .accommodation, .contacts {
        padding: 70px 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .quick-buttons {
        flex-direction: column;
    }
    
    .quick-buttons .btn {
        width: 100%;
    }
}
