/* ============================================================
   boot your mind — shared stylesheet
   No frameworks, no JS dependencies, no external requests.
============================================================ */

/* --- Fonts ------------------------------------------------ */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asap Condensed';
  src: url('../fonts/AsapCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Asap Condensed', Arial, sans-serif;
  line-height: 1.15;
  margin: 0 0 1rem;
}

/* --- Container -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header ----------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  position: relative;
}

.logo { flex-shrink: 0; }
.logo img { height: 52px; width: auto; margin-left: -5px; }

/* Desktop nav */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: 3px;
  transition: color 0.15s;
}
.site-nav a:hover { color: #e73439; text-decoration: none; }

/* Mobile hamburger — CSS-only, no JS */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  margin-right: 4px;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 991px) {
  .nav-toggle-label { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e4e4e4;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .site-nav a { padding: 13px 20px; border-radius: 0; font-size: 15px; }

  .nav-toggle:checked ~ .site-nav { display: block; }

  /* Animate hamburger to × */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --- Hero (home page only) -------------------------------- */
.hero {
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 50px 0;
}
.hero-desktop { background-image: image-set(url('../images/head_main_2.webp') type('image/webp'), url('../images/head_main_2.jpg') type('image/jpeg')); }
.hero-mobile  { background-image: image-set(url('../images/head_main_mobile_2.webp') type('image/webp'), url('../images/head_main_mobile_2.jpg') type('image/jpeg')); display: none; }

.hero-content { display: flex; flex-direction: column; }
.hero-logo-large { margin-bottom: 0; }
.hero-logo-large img { max-width: 280px; }

.hero h1 {
  font-size: 45px;
  text-transform: uppercase;
  margin: 30px 0 0;
  color: #fff; /* adjust if background is light */
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero h1 { font-size: 45px; line-height: 45px; margin-top: 20px; }
}

/* Mobile: swap hero images, show mobile heading block */
@media (max-width: 991px) {
  .hero-desktop { display: none; }
  .hero-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 50px 0;
  }
  .hero-mobile img { max-height: 230px; width: auto; margin: 0 auto; }

  .hero-heading-mobile { display: block !important; }
}

.hero-heading-mobile {
  display: none;
  padding: 50px 0;
}
.hero-heading-mobile h1 {
  font-size: 36px;
  line-height: 36px;
  text-transform: uppercase;
  margin: 16px 0 1rem;
}

/* --- Content sections ------------------------------------- */
.section { padding: 50px 0; }
.section-warm { background-color: #eeece3; }

.section-title {
  font-family: 'Bebas Neue', 'Asap Condensed', Arial, sans-serif;
  font-size: 45px;
  margin: 0 0 1.5rem;
}
@media (max-width: 991px) { .section-title { font-size: 40px; } }
@media (max-width: 767px) { .section-title { font-size: 34px; } }

/* --- Contact button --------------------------------------- */
.btn-contact {
  display: inline-block;
  background-color: #e73439;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  transition: background-color 0.15s;
}
.btn-contact:hover {
  background-color: rgba(231, 52, 57, 0.88);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 767px) { .btn-contact { font-size: 18px; } }

/* --- Subpage content -------------------------------------- */
.page-content {
  padding: 50px 0;
  max-width: 860px;
}
.page-content h1.page-title {
  font-size: 45px;
  margin: 0 0 2rem;
}
.page-content h2 { margin-top: 3rem; font-size: 28px; }
.page-content h3 { margin-bottom: 1rem; font-size: 20px; }
.page-content a { color: #e73439; }
.page-content a:hover { color: #c02028; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background-color: rgb(12, 12, 12);
  color: #fff;
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-copy { margin: 0; font-size: 14px; }
.footer-nav { display: flex; gap: 2px; }
.footer-nav a {
  color: #fff;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 3px;
  transition: color 0.15s;
}
.footer-nav a:hover { color: rgb(247, 194, 33); text-decoration: none; }

@media (max-width: 767px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
