:root {
    --primary-deep: #1e5f8a;
    --primary: #3a8bc2;
    --primary-light: #5ba3d4;
    --accent-gold: #d4a84b;
    --accent-gold-light: #e8c478;
    --accent-cream: #fdfbf7;
    --accent-sand: #f5efe6;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: rgba(255,255,255,0.9);
    --gradient-hero: linear-gradient(135deg, rgba(20,70,110,0.85) 0%, rgba(40,100,150,0.75) 50%, rgba(60,130,180,0.7) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
    --shadow-soft: 0 8px 32px rgba(30,95,138,0.12);
    --shadow-glow: 0 0 40px rgba(212,168,75,0.2);
}

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

html {
    scroll-behavior: auto;
}

.highlight-title {
  color: #e8c478;
  font-size: 24px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--accent-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
}

/* Header */
.header {
    background: rgba(30, 95, 138, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(232, 196, 120, 0.5);
    box-shadow: 0 6px 35px rgba(212,168,75,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(30, 95, 138, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(232, 196, 120, 0.5);
    box-shadow: 0 6px 35px rgba(212,168,75,0.3);
}

.header.scrolled .logo,
.header.scrolled .nav a {
    color: var(--text-light);
}

.header.scrolled .logo span {
    color: var(--accent-gold-light);
}

.header.scrolled .burger span {
    background: var(--text-light);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo span {
    display: block;
    font-size: 0.7rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold-light);
    transition: color 0.3s;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: var(--gradient-hero),
    url('images/cover.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Wave decoration */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23f5efe6' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: var(--text-light);
    animation: fadeUp 1s ease-out;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 2.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0rem;
    font-weight: 500;
    color: var(--accent-gold-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-tagline {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Booking Form */
.booking-form {
    background: rgba(20,60,100,0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: fadeUp 1s ease-out 0.3s both;
}

.booking-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 180px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.3);
    box-shadow: 0 0 20px rgba(212,168,75,0.3);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.btn {
    display: block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(212,168,75,0.35);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212,168,75,0.5);
    background: linear-gradient(135deg, #e0b45c 0%, #f0d088 100%);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    border-radius: 16px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 35px rgba(58,139,194,0.3);
}

/* Slider Section */
.slider-section {
    padding: 5rem 2rem;
    background: var(--accent-sand);
    position: relative;
    overflow: hidden;
}

.slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23fdfbf7' d='M0,40 C240,0 480,80 720,40 C960,0 1200,80 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top center;
    background-size: cover;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-deep);
}

.section-header p {
    color: var(--primary);
    font-weight: 400;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0rem 0;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 auto;
    width: 350px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(30,95,138,0.15);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30,95,138,0.2);
    border-color: var(--accent-gold);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slide:hover img {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(20,50,80,0.95));
    color: var(--text-light);
    text-align: center;
}

.slide-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--accent-gold-light);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-overlay p {
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(30,95,138,0.1);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about-section {
    padding: 1rem 2rem;
    background: var(--accent-cream);
    position: relative;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-headerh2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-deep);
    margin-bottom: 1rem;
}

.about-header .divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.about-header .divider::before {
    content: '⚓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-cream);
    padding: 0 1rem;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.about-content {
    background: white;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(30,95,138,0.08);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-light);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23fdfbf7' d='M0,60 C360,100 720,20 1080,60 C1260,80 1380,100 1440,100 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top center;
    background-size: cover;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0rem;
}

.map-header {
    text-align: center;
    margin-bottom: 1rem;
}

.map-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.map-header p {
    font-size: 1.1rem;
    color: var(--accent-gold-light);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    border: 3px solid rgba(255,255,255,0.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    margin-top: 1rem;
}

.map-info-card {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 0rem;
    text-align: center;
    transition: all 0.3s ease;
}

.map-info-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.map-info-card .icon {
    width: 60px;
    height: 60px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.2rem;
    font-size: 2.5rem;
}

.map-info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold-light);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.map-info-card p {
    font-size: 0.95rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    margin: 0;
}

/* Мобильные - вертикально */
@media (max-width: 768px) {
    .map-info {
        flex-direction: row;
        gap: 1.2rem;
    }
    
    .map-info-card {
        width: 1;
        padding: 0.5rem;
    }
    
    .map-info-card h4 {
        font-size: 1.1rem;
    }
    
    .map-info-card p {
        font-size: 0.9rem;
        margin: 0;
    }
}

/* Footer */
.footer {
    margin-top: 0;
    background: #1e3a4d;
    color: var(--text-light);
    padding: 0rem 2rem 2rem;
    position: relative;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
}

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

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--accent-gold-light);
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    padding-left: 0.5rem;
    color: var(--accent-gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold-light);
}


/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 2rem 2rem; /* отступ сверху для хедера */
    gap: 1rem; /* меньший gap */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto; /* добавляем скролл */
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Обычные ссылки */
.mobile-menu a:not(.nav-btn) {
    color: var(--primary-deep);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.8rem 1.5rem;
    border: 1.5px solid rgba(58,139,194,0.2);
    border-radius: 12px;
    background: rgba(91,163,212,0.05);
    width: 85%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(30,95,138,0.08);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu a:not(.nav-btn):hover {
    background: rgba(91,163,212,0.12);
    border-color: var(--accent-gold);
    transform: translateY(0);
}

/* Кнопка "Забронировать" */
.mobile-menu .nav-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #1a1a1a !important;
    padding: 0.9rem 2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(212,168,75,0.3);
    width: 85%;
    max-width: 320px;
    text-align: center;
    border: none;
    text-decoration: none;
}

.mobile-menu .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212,168,75,0.4);
}

.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .slide {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 1rem 60px;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-group {
        min-width: 100%;
    }

    .btn {
        width: 100%;
    }

    .slide {
        width: 280px;
        height: 350px;
    }

.about-section {
        padding: 1rem 0.75rem;
    }
    
    .about-content {
        padding: 0rem 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

.slider {
    scroll-padding: 0 calc(50% - 140px); /* половина ширины слайда 280/2 */
}

}

/* Animations on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Content */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 120px 2rem 4rem;
    background: var(--accent-cream);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-header {
    margin-bottom: 2rem;
}

.content-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-deep);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.content-header h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary);
    font-weight: 400;
}

.content-body {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(30,95,138,0.08);
    position: relative;
    overflow: hidden;
}

.content-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
}

.content-body p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.content-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .page-content {
        padding: 100px 1rem 3rem;
    }

    .content-body {
        padding: 2rem 1.5rem;
    }
}

/* Cabin Gallery */
.cabin-gallery {
    margin-bottom: 3rem;
}

.cabin-gallery:last-child {
    margin-bottom: 0;
}

.cabin-gallery h3 {
    font-size: 1.5rem;
    color: var(--primary-deep);
    margin-bottom: 1rem;
}

.cabin-gallery p {
    margin-bottom: 1.5rem;
}

.cabin-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30,95,138,0.12);
}

.cabin-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0;
}

.cabin-slider-track::-webkit-scrollbar {
    display: none;
}

.cabin-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.cabin-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.cabin-slider-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.cabin-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.cabin-slider-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-deep);
}

@media (max-width: 600px) {
    .cabin-slide img {
        height: 280px;
    }
}

/* ==================== */
/* Blockquotes */
/* ==================== */
blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.4rem 1.6rem 1.4rem 1.8rem;
    background: linear-gradient(135deg, #f4f9fd 0%, white 100%);
    border-radius: 16px 16px 16px 4px;
    border-left: 3px solid var(--primary);
    box-shadow: 0 6px 24px rgba(30,95,138,0.1);
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

blockquote p:first-child::before {
    content: '💬';
    margin-right: 0.35rem;
}

blockquote p {
    margin-bottom: 0;
}

blockquote p:not(:last-child) {
    margin-bottom: 0.8rem;
}

blockquote::before {
    content: '💬';
    margin-right: 0.4rem;
}

@media (max-width: 768px) {
    blockquote {
        padding: 1.2rem 1.4rem 1.2rem 1.5rem;
        border-radius: 14px 14px 14px 4px;
    }
}

@media (max-width: 600px) {
    blockquote {
        padding: 1rem 1.2rem 1rem 1.3rem;
        border-radius: 12px 12px 12px 4px;
        font-size: 1rem;
    }
}

/* Кнопка в меню */

.nav-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: #1a1a1a !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 30px;
    font-weight: 600;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(212,168,75,0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.08em;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212,168,75,0.5);
    background: linear-gradient(135deg, #e0b45c 0%, #f0d088 100%);
}

.nav-btn::after {
    display: none;
}

/* ==================== */
/* Card Table Style */
/* ==================== */
table.card-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.card-table thead {
    display: none;
}

.card-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-table tbody tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(30,95,138,0.1);
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.card-table tbody tr:hover {
    background: white;
}

.card-table td {
    display: block;
    padding: 0.2rem 1rem;
    border-bottom: none;
    font-size: 1rem;
    width: auto;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.card-table td:first-child {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-sizing: border-box;
    margin: 0 1.5rem;
    width: 100%;
    border: 1px solid rgba(8, 8, 8, 0.16);
    border-bottom: none;
}

.card-table td:first-child::before {
    content: '📅';
    margin-right: 0.5rem;
}

.card-table td:nth-child(2) {
    padding: 1rem 1.5rem;
    margin: 0 1.5rem;
    width: 100%;
    border-left: 1px solid rgba(8, 8, 8, 0.16);
    border-right: 1px solid rgba(8, 8, 8, 0.16);
}

.card-table td:nth-child(3) {
    background: rgba(234, 154, 14, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 0.5rem 1.5rem;
    color: var(--primary-deep);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(8, 8, 8, 0.16);
    border-top: none;
}

.card-table td:nth-child(3)::before {
    content: '⏱';
    font-size: 1.3rem;
}

.card-table td:last-child a {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
}

/* ==================== */
/* Tables */
/* ==================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30,95,138,0.1);
}

thead {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: var(--text-light);
}

th {
    padding: 1.2rem 1.5rem;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(30,95,138,0.08);
    font-size: 1rem;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--accent-sand);
}

tbody tr:nth-child(even) {
    background: rgba(245,239,230,0.5);
}

tbody tr:nth-child(even):hover {
    background: var(--accent-sand);
}

/* Мобильная адаптация — карточки */
@media (max-width: 768px) {
    table {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    thead {
        display: none;
    }

    tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    tbody tr {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(30,95,138,0.1);
        padding: 0rem;
        gap: 0;
        overflow: hidden;
    }

    tbody tr:nth-child(even) {
        background: white;
    }

    tbody tr:hover,
    tbody tr:nth-child(even):hover {
        background: white;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.2rem;
        border-bottom: none;
        font-size: 0.95rem;
    }

    td:first-child {
        background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
        color: white;
        font-weight: 600;
        font-size: 1.05rem;
        justify-content: center;
        padding: 1rem 1.2rem;
        border-radius: 10px 10px 0 0;
        border: 1px solid rgba(8, 8, 8, 0.16);
        border-bottom: none;
    }

    td:first-child::before {
        display: none;
    }

    td:nth-child(2) {
        padding: 1rem 1.2rem;
        border: 1px solid rgba(8, 8, 8, 0.16);
        border-top: none;
        justify-content: center;
    }

    td:nth-child(2)::before {
        display: none;
    }

    td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-deep);
        margin-right: 1rem;
    }
}

/* ==================== */
/* Lists */
/* ==================== */
ul, ol {
    margin: 1.2rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

ul li,
ol li {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    padding: 0.45rem 0 0.45rem 3.5rem;
    position: relative;
}

/* Маркированный */
ul li::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 1.2rem;
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 7px rgba(212,168,75,0.35);
}

/* Нумерованный */
ol {
    counter-reset: list-counter;
}

ol li {
    counter-increment: list-counter;
}

ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 1rem;
    top: 0.6rem;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

/* ==================== */
/* Review */
/* ==================== */
p.review {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.2rem 2rem 1.8rem;
    margin: 1.5rem 0;
    box-shadow: 0 6px 24px rgba(30,95,138,0.08);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    overflow: hidden;
}

p.review::before {
    content: '★★★★★';
    display: block;
    color: var(--accent-gold);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

p.review::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
}


/* ==================== */
/* Фигуры */
/* ==================== */
figure {
    margin: 1.5rem 0;
}

figure img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

figcaption {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    padding-top: 0.6rem;
    font-style: italic;
}

/* ==================== */
/* Увеличить фото */
/* ==================== */

figure img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    object-fit: contain;
}

/* ==================== */
/* Цены */
/* ==================== */

.price-notice {
    position: relative;
    padding: 28px 30px;
    margin: 32px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.1), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.08), transparent 50%),
        linear-gradient(150deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.85;
    color: #1e293b;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 40px rgba(99, 102, 241, 0.07);
}

.price-notice:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(99, 102, 241, 0.12);
}

/* Градиентная рамка через маску */
.price-notice::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #a78bfa, #38bdf8);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.price-notice strong {
    color: #4f46e5;
    font-weight: 700;
    font-size: 16px;
}

/* ==================== */
/* Кнопка брони */
/* ==================== */

.btn-wrap {
    text-align: center;
}

.btn-gold {
    display: inline-block;
    width: 85%;
    max-width: 320px;
    padding: 1rem 2rem;
    background: linear-gradient(
        90deg,
        #d4a84b,
        #e8c86d,
        #f5dfa0,
        #e8c86d,
        #d4a84b
    );
    background-size: 200% 100%;
    color: #1a1a1a !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    box-shadow:
        0 3px 15px rgba(212, 168, 75, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: shimmer 3s linear infinite;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 24px rgba(212, 168, 75, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-gold:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(212, 168, 75, 0.25);
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* ==================== */
/* Для палуб */
/* ==================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    touch-action: none;
}
.lightbox.active {
    display: block;
}
.lightbox-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: grab;
}
.lightbox-container.dragging {
    cursor: grabbing;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.1s ease-out;
    user-select: none;
    -webkit-user-select: none;
}
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 1px 5px;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s;
}
.lightbox-close:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.05);
}
.close-icon {
    font-size: 25px;
    color: #fff;
    line-height: 1;
}
.close-text {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}
.lightbox-controls {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
}
.lightbox-controls button {
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #fff;
    background: rgba(60, 60, 60, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}
.lightbox-controls button:hover {
    background: rgba(80, 80, 80, 1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}
#zoom-reset {
    font-size: 28px;
}

/* Кнопка поворота - скрыта на десктопе, видна на мобильных */
#rotate-btn {
    display: none;
}
#rotate-btn svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
}

@media (max-width: 768px) {
    #rotate-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==================== */
/* Заголовок для других страниц */
/* ==================== */

/* Page Title - красивый заголовок для страниц */
.page-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-deep);
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Мобильная адаптация - уменьшаем межстрочное расстояние */
@media (max-width: 768px) {
    .page-title {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .page-title::after {
        width: 60px;
        margin-top: 0.8rem;
    }
}