@charset "UTF-8";
/* === Variables === */
:root {
  --c-dark: #0f172a;
  --c-cream: #F4E7C3;
  --c-sky: #a6d3de;
  --c-accent: #FFF700;
  --c-body: #475569;
  --c-orange: #FC6400;
  --c-sky-light: #86C9D3;
  --c-muted: #767676;
  --c-stone: #B3AAA1;
}

/* === Base === */
html,
body {
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--c-dark);
}

img {
  max-width: 100%;
  height: auto;
}
img.max-width-300 {
  max-width: 300px;
}
img.max-width-400 {
  max-width: 400px;
}
img.max-width-500 {
  max-width: 500px;
}

.photo-tag {
  position: absolute;
  top: -20px;
  right: -35px;
  width: 140px;
  height: auto;
  transform: rotate(70deg);
  pointer-events: none;
}

.photo-rectangle {
  position: relative;
  display: inline-block;
}
.photo-rectangle::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -40px;
  width: 160px;
  height: 90px;
  background: url(../../img/rectangle.svg) no-repeat center/contain;
  transform: rotate(70deg);
  pointer-events: none;
}
.photo-rectangle.top-right::before {
  transform: rotate(0deg);
  left: -48px;
  top: -20px;
}
.photo-rectangle.bootom-right::before {
  transform: rotate(0deg);
  bottom: -15px;
  top: inherit;
}
.photo-rectangle.bootom-left::before {
  transform: rotate(65deg);
  bottom: -15px;
  top: inherit;
  left: -40px;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  outline: none !important;
}
.navbar-toggler:focus, .navbar-toggler:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}

/* === Nav === */
nav {
  z-index: 9999;
}
nav .active a {
  text-decoration: underline;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: max(90vh, 700px);
  color: #fff;
  display: flex;
  align-items: center;
}
.hero.home {
  background: #111827 url("../../img/Patrik_Ondrejech_Hero.png") center/cover no-repeat;
}
.hero.my-story {
  background: var(--c-stone) url("../../img/Patrik_Ondrejech_Story.png") left/contain no-repeat;
}
.hero.elections-2026 {
  background: #111827 url("../../img/Patrik_Ondrejech_Elections.png") center top/cover no-repeat;
}
.hero h1 {
  font-size: 80px;
  font-weight: 400 !important;
  line-height: 100px !important;
  position: relative;
  top: 160px;
}
.hero h1.my-story {
  line-height: 80px !important;
  font-size: 60px;
  top: 50px;
}
.hero h1.elections-2026 {
  line-height: 80px !important;
  font-size: 60px;
  top: 50px;
}
.hero .hero-overlay {
  background: radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.25));
  position: absolute;
  inset: 0;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-weight: 800;
  line-height: 1.07;
}

.eyebrow {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* === Sections === */
.section-cream {
  background: var(--c-cream);
}

.section-sky {
  background: var(--c-sky-light);
}

.section-stone {
  background: var(--c-stone);
}

/* === Buttons === */
.btn-cta {
  background: var(--c-accent);
  color: #000;
  font-weight: 500 !important;
  transition: all 0.25s ease;
}
.btn-cta:hover {
  background: #000;
  color: var(--c-accent);
}

/* === Typography Helpers === */
.lead-tight {
  line-height: 1.5;
}

.kicker {
  color: #0ea5b7;
  font-weight: 700;
}

/* === Initiatives === */
.initiative-card .card-img-top {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.initiative-card h5 {
  font-size: 15px;
}
.initiative-card p {
  color: var(--c-muted);
}

/* === Reasons === */
.reasons {
  color: #fff;
  padding-block: 2rem;
}
.reasons .reason {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.reasons .reason:last-child {
  margin-bottom: 0;
}
.reasons .reason-num {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-sky);
  font-weight: 800;
  font-size: 4rem;
  line-height: 80px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.reasons .reason-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  max-width: 45ch;
}
.reasons .reason-text {
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 991.98px) {
  .reasons .reason {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .reasons .reason-num {
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 1.5rem;
  }
  .reasons .reason-title {
    font-size: 1.4rem;
  }
}

/* === Footer === */
footer {
  background: #0b1220;
  color: #cbd5e1;
}
footer a {
  color: #e2e8f0;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === Helpers === */
.text-cream {
  color: var(--c-cream) !important;
}

.text-orange {
  color: var(--c-orange) !important;
}

.text-sky-light {
  color: var(--c-sky-light) !important;
}

.bg-sky {
  background: var(--c-sky-light);
}

.bg-cream {
  background: var(--c-cream);
}

.display-7 {
  font-size: 1.5rem;
}

/* === Response === */
/* === Extra small (xs) – max-width: 575.98px === */
/* === Small (sm) – max-width: 767.98px === */
/* === Medium (md) – max-width: 991.98px === */
/* === Large (lg) – max-width: 1199.98px === */
@media (max-width: 1199.98px) {
  .photo-rectangle::before {
    top: -20px;
    right: -10px;
    width: 160px;
    height: 80px;
  }
  .photo-rectangle.top-right::before {
    left: -20px;
    top: -20px;
  }
  .photo-rectangle.bootom-left::before {
    left: -30px;
  }
  .hero {
    min-height: max(75vh, 500px);
  }
  .hero.my-story {
    background: var(--c-stone) url("../../img/Patrik_Ondrejech_Story.png") left/cover no-repeat;
  }
  .hero h1 {
    top: 100px;
    font-size: 50px;
    line-height: 60px !important;
  }
  .hero h1.my-story {
    line-height: 35px !important;
    font-size: 25px;
    top: 90px;
  }
  .hero h1.elections-2026 {
    line-height: 35px !important;
    font-size: 25px;
    top: 90px;
  }
  .my-story img {
    max-width: 85%;
  }
}
/* === Extra large (xl) – max-width: 1399.98px === */