/* --- Színek --- */
:root {
    --main-red: #d40000;
    --main-black: #111;
    --main-white: #fff;
    --main-darkgrey: #424549;
    --main-grey: #d2d2d2;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--main-white);
    color: var(--main-black);
}
[data-bs-theme="dark"] body {
    background-color: #0d0d0d;
    color: #f1f1f1;
}

/* Common tipograpy */
.section-title {
    color: var(--main-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-title {
  position: relative;
  padding-left: 0.8em;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 40px;
  background: var(--main-red);
  border-radius: 0%;
  transform: translateY(-50%);
  /*box-shadow: 0 0 10px rgba(244, 143, 143, 0.6);*/
}

.text-justify {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;  /* Szó elválasztást is engedélyez*/
}


/* HOTLINE SVG CSS */
.decor-svg {
  /* float: right;*/
  width: 100%;
  /*border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);   */
}


/* Navbar */
.navbar {
    background-color: var(--main-white);
}
[data-bs-theme="dark"] .navbar {
    background-color: var(--main-black);
}

.navbar-brand, .navbar-nav .nav-link {
    color: var(--teszt-black) !important;
}

.navbar-brand span {
    color: var(--main-red);
    font-weight: bold;
}
.btn-theme {
    color: var(--main-black);
    border: 1px solid var(--main-red);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
[data-bs-theme="dark"] .btn-theme {
    color: var(--main-white);
}
.btn-theme:hover {
    background-color: var(--main-red);
}

/* Slider */
.carousel-item img {
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.85);
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.25);
    
    background: rgb(254, 253, 253, 0.5);
    /*border-style: solid;
    border-color: rgb(255, 68, 0);
    border-width: 2px;*/

    border-radius: 10px;
    padding: 1rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}
.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption h3 {
    color: var(--main-red);
    font-weight: bold;
}
.carousel-caption p {
    color: var(--main-white);
}

.carousel-indicators button {
    background-color: var(--main-white) !important
}

/* Rólunk */

/* NEWS card fade-up animation */
.reveal{
    opacity:0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible{
    opacity:1;
    transform: translateY(0);
}

/* NEWS */
.section-padding { 
    padding:2rem 0; 
}

#news.section-padding {
  padding-top: 0rem;  /* eddigi 4 helyett csak 0rem felül */
}

.news-card {
    border: 1px solid;
    border-color: var(--main-grey);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--main-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}
[data-bs-theme="dark"] .news-card {
    background: #222;
    border-color: var(--main-darkgrey);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.news-card .card-title {
    color: var(--main-red);
}

.news-card .card-body {
    /*flex: 1;
    display: flex;*/
    flex-direction: column;
    justify-content: space-between;
}

.about-cards-images {
  max-width: 80px;   /* igény szerint módosítható */
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain; 
  margin-top: 10px; /* opcionális: kis tér a szöveg és a kép között */  
}


/* COUNTERS - ikon + number */
.counter-section{
    padding:3.5rem 0;
    text-align:center;
    background: linear-gradient(90deg, rgba(212,0,0,0.08), rgba(0,0,0,0.02));
}
.counter-box{ padding:1.2rem 0; }
.counter-icon{ font-size:2.2rem; color:var(--main-red); margin-bottom:.35rem; }
.counter-number{ font-size:2rem; font-weight:700; }
.counter-label{ color: #6c757d; }

[data-bs-theme="dark"] .counter-label{ color:#cfcfcf; }


/* PARTNEREINK */
#partners {
    background: #f8f8f8; /* világos, de nem vakító */
    padding: 4rem 0;
}

[data-bs-theme="dark"] #partners {
    background: #e8e8e8; /* kissé szürkés fehér, ne legyen éles */
}

.partner-logo {
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.08);
    opacity: 1;
}


/* Lábjegyzet */
footer {
    background: var(--main-black);
    color: var(--main-white);
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* A navbar icon minig fehér */
/*.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");     
}*/

#themeToggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}


/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero .container {
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    z-index: 2;
}






