:root {
  --primary: #004c97;
  --light: #f5f7fa;
  --dark: #1a1a1a;
  --radius: 10px;
  font-family: "Roboto", sans-serif;
 
}

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  
 
  
}

.background-blur {
	
  position: fixed; 	
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  
	
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), 	
    url("img/bg_pic2.jpg");
    
  background-size: cover;          
  background-position: center;     
  background-repeat: no-repeat;
  
  filter: blur(5px); 	
  opacity: 0.6; 	
}

/* ---------- Fejléc ---------- */
.header-container {
  
  /*box-shadow: 0 2px 6px rgba(0,0,0,0.1);*/
  
}

.top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  gap: 10px;
}

.header_infoblock {
  height: 80px;
  object-fit: contain;
}

.logo-area {
  text-align: center;
  flex: 1 1 250px;
}

.logo {
  height: 100px;
  width: auto;
}

.slogan {  
  color: #63D2E0;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 5px;
}

.social a {
  color: var(--primary);
  font-size: 2rem;
  text-decoration: none;
}

/* ---------- Menü ---------- */
.navbar {
  display: flex;
  justify-content: flex-end; 
  flex-wrap: wrap;
  background: linear-gradient(to right, rgba(99, 210, 224, 0),#ffffff 15%,#63D2E0 100%);
  
  /*background: #63D2E0;*/
}

.navbar a {
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
}

.navbar a:hover {
  background: #B9EBF1;
}

.content-container-main {
  
  padding: 40px 20px;              
  min-height: 80vh;               
  display: flex;
  align-items: center;             
  justify-content: center;
  opacity: 0.8;
}

.main-pic  {
 display: flex;               
  flex-direction: row;       
  align-items: center;       
justify-content: center; 
}
 
.main-pic img {
  width: 400px;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 15px solid black;
  border-radius: 2px;
  filter: grayscale(40%);
  
   
}

.main-contact{
	display: flex;               
	flex-direction: row;       
	align-items: center;       
	justify-content: center; 
}

.main-remember{
	width: 100px;
	height: auto;
	
	display: block;
}

.main-pic img.contact-icon {
  width: 100px; 
  height: auto;

}

.main-contact h3 {
  margin-top: 0.5rem;
  color: black;
  text-align: center;
}

.main-contact p {
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.5;
  color: #388993;
}

.main-contact p {
  
  text-align: center;
}


.media-block{
	display: flex;               
  flex-direction: row;       
  align-items: center;       
justify-content: center; 
	
}
.main-social-icon
{
	width: 100px;
	height: auto;
}
  

/* ---------- Csempe szekció ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.tile {
  
  /*border-radius: var(--radius);*/
  border-radius: 0.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s;
}

.tile:hover {
  transform: translateY(-4px);
}

.tile img {
  width: 100%;
  border-radius: 0.25rem;
  object-fit: cover;
  height: 180px;
}



#hirek
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	
	max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.hir-elem
{
	width: 90%;
  background: #DEFDFF; 	
  color: #34808A;     	
  border-radius: 5px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
  overflow: hidden; 
  
  padding: 15px; 
  margin-bottom: 20px; 
  transition: all 0.3s ease-in-out;
  
}

.hir-elem h3{
	text-align: center;
	margin-top: 0; 
   margin-bottom: 5px;
   
}

.hir-elem h3 a
{
	color: #63D2E0;
	text-decoration: none;
	text-transform: uppercase;
	
	
}

.hir-elem h3 a:hover
{
	color: #388993;
	
	
	
}

.gyasz-hir {
    border: 10px solid black;
	background-image: url("img/remember.png");
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 100px;
	padding-bottom: 60px;
	font-weight: bold;
	
	
	
}


.gyasz-hir h3 a {
    color: black; 
    text-transform: uppercase;
    text-decoration: none;
	text-align: center;
	margin-top: 0; 
   margin-bottom: 5px;
	
}

.gyasz-hir p
{
	
	margin-top: 5%;
}

.hir-elem p {
  
  text-align: justify;
  padding-top: 25px;
}


#project-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.project-item {
  display: flex;
  flex-direction: column;
  background: #DEFDFF;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.project-pic  {
 display: flex;               
  flex-direction: row;       
  align-items: center;       
justify-content: center;  
  gap: 1rem;    
   
}


.project-pic img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  display: block;
   
}

.project-pic img.contact-icon {
  width: 100px; 
  height: auto;

}

.project h3 {
  margin-top: 0.5rem;
  color: #34808A;
  text-align: center;
}

.project p {
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.5;
  color: #388993;
}

.project-contact p {
  
  text-align: center;
}

.project-contact h3 {
  
  text-align: center;
  color: #34808A;
}



/* ---------- Mobilbarát beállítások ---------- */
@media (max-width: 700px) {
  .top-section {
    flex-direction: column;
    text-align: center;
  }

  .navbar a {
    flex: 1 1 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .tile img {
    height: 150px;
  }
}