﻿/* MEŽEZERA PAGAIDU MĀJASLAPA
   Šajā failā vari mainīt krāsas, atstarpes un attēlu. */

/* 1. Krāsas un pamata iestatījumi */
:root {
  --forest: #173f37;
  --deep: #102f2a;
  --lime: #d3e67a;
  --cream: #f7f6ef;
  --muted: #66736c;
  --serif: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--deep);
  color: var(--forest);
  font-family: Arial, Helvetica, sans-serif;
}

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

/* 2. Šaurā josla lapas augšpusē */
.topline {
  min-height: 40px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--deep);
  color: #e9efe9;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.topline-divider {
  padding: 0 8px;
  color: #9da995;
}

.sun {
  margin-right: 8px;
  color: var(--lime);
  font-size: 15px;
}

.topline-note {
  color: #c6cfbb;
  font-size: 9px;
  letter-spacing: 0.16em;
}

/* 3. Gaišais fons un centrālā lapa */
.page-shell {
  min-height: calc(100vh - 40px);
  padding: 42px 5.5% 22px;
  background: linear-gradient(145deg, var(--cream), #e9ede2);
}

.notice-card {
  max-width: 1320px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 47, 42, 0.13);
}

/* 4. Logo un statusa rinda */
.brand-row {
  height: 94px;
  padding: 0 6.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--forest);
}

.brand-logo {
  display: block;
  width: 88px;
  height: 72px;
  object-fit: contain;
}
.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #71883a;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.14em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9bae55;
  box-shadow: 0 0 0 4px #eef1e3;
}

/* 5. Galvenais attēls un teksts
   FONA ATTĒLS: nomaini none pret sava attēla adresi, piemēram:
   --hero-image: url('fons.jpg');
   Attēla fails jāievieto tajā pašā mapē, kur style.css. */
.hero {
  --hero-image: url('fons.jpg');

  position: relative;
  min-height: 550px;
  height: min(66vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #364d3f;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

/* Tumšais pārklājums palīdz salasīt tekstu uz attēla. */
.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 31, 27, 0.82),
    rgba(9, 31, 27, 0.45) 58%,
    rgba(9, 31, 27, 0.12)
  ), linear-gradient(0deg, rgba(9, 31, 27, 0.3), transparent 45%);
  content: '';
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin-left: 10%;
  padding: 55px 24px 70px 0;
}

.eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 21px 0 22px;
  font: 400 clamp(52px, 7vw, 86px) / 0.99 var(--serif);
  letter-spacing: -0.035em;
}

.hero-content p {
  max-width: 470px;
  margin: 0;
  color: #eff1e9;
  font: 17px / 1.75 var(--serif);
}

/* 6. Tālruņa poga */
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  margin-top: 30px;
  padding: 15px 18px;
  background: var(--lime);
  color: var(--deep);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: #e1eea4;
}

.arrow {
  font-size: 16px;
}

/* Teksts attēla apakšējā labajā stūrī */
.hero-caption {
  position: absolute;
  right: 6%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.caption-line {
  width: 28px;
  height: 1px;
  background: var(--lime);
}

/* 7. Informācija zem attēla */
.card-footer {
  min-height: 70px;
  padding: 18px 6.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font: 14px var(--serif);
}

.card-footer a {
  color: var(--forest);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

.page-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  color: #718078;
  font-size: 8px;
  letter-spacing: 0.18em;
}

/* 8. Mazāki ekrāni: telefoni un planšetes */
@media (max-width: 650px) {
  .topline {
    min-height: 36px;
    padding: 0 5%;
    font-size: 8px;
  }

  .topline-note {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .page-shell {
    min-height: calc(100vh - 36px);
    padding: 16px 4%;
  }

  .brand-row {
    height: 76px;
    padding: 0 6%;
  }

  .brand-logo {
    width: 68px;
    height: 56px;
  }

  .status {
    max-width: 115px;
    font-size: 7px;
    line-height: 1.5;
    letter-spacing: 0.08em;
  }

  .hero {
    height: 68vh;
    min-height: 490px;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(9, 31, 27, 0.83),
      rgba(9, 31, 27, 0.35)
    ), linear-gradient(0deg, rgba(9, 31, 27, 0.32), transparent 50%);
  }

  .hero-content {
    margin-left: 7%;
    padding: 45px 7% 65px 0;
  }

  .eyebrow {
    font-size: 9px;
  }

  h1 {
    margin: 18px 0;
    font-size: clamp(48px, 13vw, 70px);
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-caption {
    right: 6%;
    bottom: 21px;
    font-size: 8px;
  }

  .card-footer {
    min-height: 67px;
    padding: 15px 6%;
    gap: 12px;
    font-size: 12px;
  }

  .card-footer a {
    font-size: 11px;
    white-space: nowrap;
  }

  .page-bottom {
    font-size: 7px;
  }
}

/* Ļoti šauriem telefoniem */
@media (max-width: 380px) {
  .topline-note {
    display: none;
  }

  .status {
    max-width: 98px;
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

