/* ============================================
   RELOGIFY — Minimalistic Black & White Theme
   Font: Orbitron
============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   LAYOUT
============================================ */

.layout {
  display: flex;
  min-height: 100vh;
}

/* ============================================
   SIDEBAR
============================================ */

.sidebar {
  width: 220px;
  min-width: 220px;
  background-color: #000;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  padding: 40px 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 0 28px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.sidebar-logo a {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: #fff;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-logo a:hover {
  opacity: 0.7;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.4);
}

.nav-link.active {
  color: #fff;
  border-left-color: #fff;
}

/* ============================================
   MAIN CONTENT
============================================ */

.content {
  margin-left: 220px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 80px 60px;
}

.page-inner {
  max-width: 960px;
  width: 100%;
}

.page-title {
  font-size: 37px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

.divider {
  width: 48px;
  height: 2px;
  background-color: #fff;
  margin: 24px 0;
  opacity: 0.6;
}

.page-intro {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.9;
}

/* ============================================
   LOGO IMAGE
============================================ */

.sidebar-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.top-right-logo {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 200;
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.top-right-logo:hover {
  opacity: 1;
}

/* ============================================
   HOMEPAGE — SITE MAIN TITLE
============================================ */

.site-main-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}

.site-main-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: #fff;
  margin-bottom: 0;
}

.home-title-logo {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  object-fit: contain;
}

/* ============================================
   HOMEPAGE — SECTION BLOCKS
============================================ */

.section-block {
  margin-bottom: 32px;
}

.section-block-2 {
  margin-bottom:0px;
}

.section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.section-label-big {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(217, 195, 245);
  margin-bottom: 10px;
}

.section-text {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  line-height: 1.9;
  max-width: 580px;
}
.section-text-2 {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgb(133, 167, 235);
  line-height: 1.9;
  max-width: 100%;
}
.section-text-3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(231, 56, 94, 0.932);
  line-height: 1.9;
  max-width: 100%;
}
.section-text-4 {
  font-size: 1.267rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.881);
  line-height: 1.9;
  max-width: 100%;
  text-align: center;
}

/* ============================================
   HOMEPAGE — CONTACT
============================================ */

.contact-section {
  margin-top: 56px;
}

.contact-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}

.contact-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
}

.contact-box {
  padding: 28px 24px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
}

.contact-box-right {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================
   SECTION PAGES — SUBTITLE & ARTICLE LIST
============================================ */

.section-subtitle {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #d6d6d6;
  line-height: 1.7;
  margin-bottom: 28px;
}

.section-click-prompt {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-list li a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.article-list li a:hover {
  opacity: 0.55;
}

/* ============================================
   ARTICLE PAGES — TEXT & IMAGE LAYOUT SYSTEM
   ============================================

   Use this system on every article page:

   <div class="article-layout">
     <div class="article-text">
       <p>Your article text here...</p>
     </div>
     <div class="article-images">
       <div class="article-img-box">
         <img src="images/your-image.png" alt="Description">
       </div>
       <!-- Add more .article-img-box blocks for more images -->
     </div>
   </div>

   Each .article-img-box is equally sized.
   Images never touch text — 7px gap is enforced.
============================================ */

.article-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
}

.article-text {
  flex: 1;
  min-width: 0;
}

.article-text p {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.article-images {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
}

.article-img-box {
  width: 280px;
  height: 210px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

/* ============================================
   ARTICLE BODY (fallback for plain text pages)
============================================ */

.article-body {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  max-width: 640px;
}

/* ============================================
   CARDS (Homepage)
============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 28px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.03);
}

.card-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.85;
}

/* ============================================
   DONATION BUTTON
============================================ */

.donation-button {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  color: inherit;
  border: 2px solid currentColor;
  font-weight: 600;
  text-decoration: none;
  margin-top: 32px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.donation-button:hover {
  background-color: #fff;
  color: #000;
}

/* ============================================
   MOBILE TOGGLE BUTTON
============================================ */

.mobile-toggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 200;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', Arial, sans-serif;
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .content {
    margin-left: 0;
    padding: 80px 24px 40px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-boxes {
    grid-template-columns: 1fr;
  }

  .contact-box-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Article layout stacks on mobile */
  .article-layout {
    flex-direction: column;
  }

  .article-images {
    width: 100%;
    min-width: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .article-img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 37px;
  }

  .content {
    padding: 80px 20px 40px;
  }
}