
header.wp-block-template-part {
    max-width: 1280px;
    margin: 0 auto;
}
.fi-weather--compact{
  --fi-text:#0b1220;
  --fi-sub:rgba(11,18,32,.62);
  --fi-bd:rgba(15,23,42,.10);

  display:inline-flex;
  align-items:center;
  gap:8px;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--fi-text);
  line-height:1;
  white-space:nowrap;
}

.fi-weather--compact .fi-pill{
  display:inline-flex;
  align-items:baseline;
  gap:6px;

  padding:6px 10px;
  border:1px solid var(--fi-bd);
  border-radius:999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.fi-weather--compact .fi-pill__k{
  font-size:12px;
  color:var(--fi-sub);
}

.fi-weather--compact .fi-pill__v{
  font-size:14px;
  font-weight:800;
  letter-spacing:-.2px;
}

.fi-weather--compact .fi-pill__u{
  font-size:11px;
  color:var(--fi-sub);
  font-weight:700;
}

.fi-weather--compact .fi-weather__status{
  font-size:12px;
  color:var(--fi-sub);
}

.fi-weather--compact.is-ready .fi-weather__status{ display:none; }

.fi-weather--compact.is-error .fi-weather__status{
  color: rgba(239, 68, 68, .85);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f0f2f5;
    overflow-x: hidden;
}

/* NAVBAR */
.floating-navbar {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: white;
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 100;
}

.logo-text { font-weight: 900; font-size: 24px; letter-spacing: -1px; color: #333; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 700; font-size: 13px; text-transform: uppercase; transition: color 0.3s;}
.nav-links a:hover { color: #0F4C75; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.search-btn { background: none; border: none; font-size: 18px; cursor: pointer; }

/* HERO SECTION */
.hero-section {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden; /* Важно, чтобы повернутая картинка не вылезала */
}

/* Блок картинки */
.hero-image {
    width: 65%; /* Чуть шире, чтобы захватить маяк */
    height: 100%;
    position: relative;
}

/* Стили самой картинки с поворотом */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Здесь меняем угол самой фотографии.
       scale(1.1) нужен, чтобы при повороте не появились белые края.
    */
    transform: scale(1.1) rotate(-3deg); 
    transform-origin: center center;
    transition: transform 5s ease; /* Плавный эффект при загрузке */
}

/* Эффект легкого движения при наведении (опционально) */
.hero-image:hover img {
    transform: scale(1.15) rotate(-1deg);
}

/* Правый блок */
.hero-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* Чуть уже, чтобы не закрывать фото */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-separator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Можно добавить тень к волне, чтобы отделить её от фото */
    filter: drop-shadow(-10px 0 15px rgba(0,0,0,0.2));
}

.content-text {
    color: white;
    max-width: 500px;
    padding-left: 100px; /* Больший отступ из-за новой формы волны */
    padding-right: 20px;
    text-align: left; /* Выровнял по левому краю для стиля */
}

.title {
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #0F4C75;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* BOTTOM SEARCH */
.bottom-search {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px 10px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
}

.search-label { font-weight: 800; color: #333; margin-right: 15px; white-space: nowrap;}
.bottom-search input { border: none; flex-grow: 1; font-size: 16px; outline: none; padding: 5px; border-bottom: 2px solid #eee; margin-right: 10px;}
.search-submit { background: none; border: none; font-size: 20px; cursor: pointer; padding: 10px; border-radius: 50%; }

@media (max-width: 768px) {
    .hero-section { flex-direction: column; }
    .hero-image { width: 100%; height: 50vh; }
    .hero-image img { transform: none; } /* Убираем поворот на телефоне */
    .hero-content { width: 100%; position: relative; background: #0F4C75; padding: 40px 20px; }
    .wave-separator { display: none; }
    .content-text { padding: 0; text-align: center; }
}
