/* Морская палитра и шрифты */
:root {
    --bg-surface: #04121c;     /* Темно-синий океан */
    --bg-mid: #020a10;         /* Глубоководье */
    --bg-abyss: #000000;       /* Бездна */
    
    --text-moonlight: #a8bccc; /* Тускло-серебряный текст */
    --accent-cyan: #3b7b8f;    /* Приглушенный морской зеленый */
    
    --font-heading: 'Cinzel', serif;
    --font-text: 'Merriweather', serif;
}

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

body {
    font-family: var(--font-text);
    background-color: var(--bg-surface);
    color: var(--text-moonlight);
    line-height: 2;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Навигация */
.nautical-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(4, 18, 28, 0.85);
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(59, 123, 143, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #e0e6ed;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #728a9c;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(59, 123, 143, 0.8);
}

/* Главный экран (Эффект тумана) */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, #0a2030 0%, #04121c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(59, 123, 143, 0.1);
}

.hero-content {
    max-width: 750px;
    padding: 0 2rem;
    animation: ghostlyFadeIn 4s ease-in-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #e0e6ed;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(59, 123, 143, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 3.5rem;
    color: #8da4b5;
}

.scroll-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid rgba(59, 123, 143, 0.5);
    color: #e0e6ed;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s ease;
    background: transparent;
}

.scroll-btn:hover {
    background: rgba(59, 123, 143, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: inset 0 0 20px rgba(59, 123, 143, 0.3), 0 0 20px rgba(59, 123, 143, 0.2);
}

/* Секции легенд (Эффект погружения) */
.tale-section {
    padding: 10rem 0;
    transition: background-color 0.5s ease;
}

.depth-1 { background-color: var(--bg-surface); }
.depth-2 { background-color: var(--bg-mid); }
.depth-3 { background-color: var(--bg-abyss); }

.text-only-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.tale-text h2 {
    font-size: 3rem;
    color: #e0e6ed;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.tale-text h3 {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-family: var(--font-text);
    font-weight: 300;
}

/* Декоративный разделитель */
.text-separator {
    width: 40px;
    height: 1px;
    background-color: var(--accent-cyan);
    margin: 0 auto 3rem auto;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.tale-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    text-align: justify;
    text-align-last: center;
    color: var(--text-moonlight);
}

/* Подвал */
.nautical-footer {
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--bg-abyss);
    border-top: 1px solid rgba(59, 123, 143, 0.1);
}

.nautical-footer p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #e0e6ed;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0.7;
}

.nautical-footer .copyright {
    font-family: var(--font-text);
    font-size: 0.85rem;
    color: #556a7a;
    margin-top: 2rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Анимации */
@keyframes ghostlyFadeIn {
    0% { opacity: 0; filter: blur(20px); transform: scale(0.95); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
/* --- Стили для страницы Sightings --- */

/* Уменьшенный баннер для второстепенных страниц */
.sub-hero {
    height: 60vh;
    background: radial-gradient(circle at center, #071722 0%, #020a10 100%);
    border-bottom: 1px solid rgba(59, 123, 143, 0.2);
}

/* Подсветка активной ссылки в меню */
.active-link {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(59, 123, 143, 0.8);
    border-bottom: 1px solid var(--accent-cyan);
    padding-bottom: 5px;
}

/* Контейнер для бортовых журналов */
.logs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* Карточка записи */
.log-entry {
    margin-bottom: 5rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(59, 123, 143, 0.3);
    position: relative;
    transition: border-color 0.4s ease;
}

.log-entry:hover {
    border-left-color: var(--accent-cyan);
}

/* Декоративная точка на линии */
.log-entry::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: var(--bg-surface);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.log-date {
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.log-ship {
    font-size: 2rem;
    color: #e0e6ed;
    margin-bottom: 1.5rem;
}

.log-entry p {
    margin-bottom: 1.5rem;
    color: var(--text-moonlight);
    font-size: 1.1rem;
    text-align: left; /* Возвращаем стандартное выравнивание для удобства чтения */
}

.log-note {
    font-style: italic;
    font-size: 0.95rem !important;
    opacity: 0.6;
}
