/* Alap reset és globális stílusok */

@font-face {
    font-family: 'capture_it'; /*a name to be used later*/
    src: url('fonts/capture_it/Capture_it.ttf'); /*URL to font*/
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: #737373;
  color: #042940;
  line-height: 1.6;
}

/* Konténer */
.container {
  width: 90%;
  margin: 0 auto;
}

/* Navigáció */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  text-decoration: none;
}

.navbar .brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar .brand img {
  max-height: 40px;
  margin-right: 0.5rem;
}

.navbar .nav-links {
  list-style-type: none;
  overflow: hidden;
  position: relative;
  display: flex;
}

.navbar .nav-links {
  margin-left: 2rem;
  list-style: none;
}

.navbar .nav-links a {
  list-style: none;
  margin-right: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.navbar .spindel{
  color: #0b79bf;
}

.navbar .nav-links .spindel a:hover {
  color: #0b79bf;
}

.nav-links a:hover {
  color: #0b79bf;
}

.nav-links .icon{
  display: none !important;
}

@media screen and (max-width: 600px) {
  .nav-links {
    position: relative;
  }

  .icon{
    color: #fff;
    margin-right: 1rem;
  }
  
  .nav-links a:not(.icon) {
    display: none;
    text-decoration: none;
    margin-right: 2rem;
    color: white;

  }

  .nav-links a:hover {
    color: #f7b41f;
  }
  
  .nav-links .icon {
    display: block;
    float: right;
    text-decoration: none;
    padding: 1rem;
    color: white;

  }

  .nav-links a.icon {
    display: block;
    position: absolute;
    top: 0;
    right: 2rem;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    padding: 0.5rem;
  }
  
  .nav-links.responsive {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    z-index: 1000;
  }
  .nav-links.responsive a {
    display: block;
    float: none;
    padding: 1rem;
    color: white;
    border-top: 1px solid #fff;
  }
  .nav-links.responsive a.icon {
    position: absolute;
    top: 0;
    color: white;
    text-decoration: none;
    margin-right: 1rem;
  }

  .navbar .nav-links .spindel a:hover {
    color: #0b79bf;
  }
}




/* Masthead */
section.masthead{
  height: 100vh;
  background: url("../assets/img/bg.jpg") no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.bobaimg{
  max-width: 7rem;
}

.space {
  font-size: 4rem;
}

.masthead h1 {
  font-family: 'capture_it';
  font-size: 8rem;
  text-transform: uppercase;
  letter-spacing: 48px;
  color: #0b79bf;
}

.masthead h2 {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 600px) {
  section.masthead{
  height: 100%;
  color: #BF0404;
  }

  .masthead h1 {
    letter-spacing: 5px;
    font-size: 2rem;
  }

  .bobaimg{
    max-width: 2rem;
  }

  .space {
    font-size: 1rem;
  }

  .masthead h2 {
    font-size: 1rem;
    color: #fff;
    padding-bottom: 5rem;
  }
}

.section {
  padding: 4rem 0;
  clear: both;
}

/* About szekció */
.about-section{
  background-color: #595959;
}

.about-container {
  background-color: #595959;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-left: 10rem;
  padding-right: 10rem;
  color: #fff;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  font-size: 1.3rem;
}

.about-text h4 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 600px) {
  .about-row,
  .about-row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .about-container {
    background-color: #595959;
    display: flex;
    padding-left: 2rem;
    padding-right: 1rem;
}
}


/* BB5000 szekció */

.BB5000{
  background-color: #BFBFBF;
  padding-left: 12rem;
  padding-right: 12rem;
}

.BB5000-container {
  background-color: #BFBFBF;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  border-top: #0b79bf solid 10px;
  border-bottom: #0b79bf solid 2px;
}

.BB5000-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.BB5000-row.reverse {
  flex-direction: row-reverse;
}

.BB5000-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.BB5000-image-1 {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
}

.BB5000-text {
  flex: 1;
  padding-bottom: 35px;
}

.BB5000-text h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0b79bf;
}

.first-four{
  display: inline-block;
  vertical-align: middle;
  gap: 3rem;
  padding-right: 12rem;
}

.second-four{
  display: inline-block;
  vertical-align: middle;
  gap: 3rem;
  padding-right: 12rem;
}

.parameter-container{
  padding-top: 30px;
  padding-bottom: 30px;
}

@media screen and (max-width: 600px) {
  .BB5000-row,
  .BB5000-row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .BB5000{
  padding-left: 1rem;
  padding-right: 1rem;
  }
}




/* Galéria szekció */
.gallery-section {
  background: #D9D9D9;
  color: #0b79bf;
  padding: 4rem 0;
}

.gallery-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 4rem;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 1 1 100%;
  min-width: 100%;
}

.carousel-image {
  max-width: 1024px;
  max-height: 768px;
  margin-left: auto;
  margin-right: auto;
  object-fit: fill;
  display: block;
  border-radius: 8px;
}

/* Navigációs gombok */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  margin-right: 20rem;
  margin-left: 20rem;
}

.carousel-button--left {
  left: 10px;
}

.carousel-button--right {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-button {
    display: none;
  }
  .carousel-image {
    max-width: 100%;
    max-height: 430px;
    border-radius: 8px;
  }
}

/* Kontakt kártya szekció */
.contact-section{
  background-color: #BFBFBF;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
  align-items: stretch;

}

.contact-card {
  background: #fff;
  color: #231f20;
  padding: 1.5rem;
  border-radius: 8px;
  border-bottom-style: solid;
  border-color: #0b79bf;
  flex: 1 1 250px;
  max-width: 300px;

}

.contact-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0b79bf;
}

.contact-card a{
  color: #231f20;
  text-decoration: none;
}

/* Lábléc */
.footer {
  background: #0b79bf;
  text-align: right;
  color: #fff;
  padding: 1rem 0;
  font-size: 0.875rem;
}

/* Reszponzív stílusok */
@media (max-width: 768px) {
  .about-row {
    flex-direction: column;
  }  
}
