/* Alap beállítások */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

/* Menü */
.menu {
  width: 100%;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 2px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-bal, .menu-jobb {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu a.active {
  background-color: #1e70f0;
  color: white;
}

.menu a:hover {
  background-color: #e9e9e9;
}

/* Fő tartalom */
.fooldal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.bal-oldal {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.jobb-oldal {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Szövegdoboz formázása */
.bal-tartalom {
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.bal-tartalom h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #222;
  padding-bottom: 15px;
  border-bottom: 2px solid #eaeaea;
}

.bal-tartalom p strong {
  display: block;
  font-size: 24px;
  line-height: 1.7;
  margin: 22px 0;
  color: #1a5dc8;
  padding-left: 15px;
  border-left: 3px solid #1e70f0;
}

.bal-tartalom p.small-text {
  font-size: 20px;
  line-height: 1.7;
  margin: 35px 0 0 0;
  color: #555;
  padding-top: 20px;
  border-top: 2px solid #eaeaea;
}

/* Gombok */
.gombok {
  display: flex;
  gap: 20px;
  margin: 45px 0 20px 0;
}

.gomb {
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gomb.kek {
  background-color: #1e70f0;
  color: white;
}

.gomb.kek:hover {
  background-color: #1658c0;
}

.gomb.szurke {
  background-color: #e0e0e0;
  color: #333;
}

.gomb.szurke:hover {
  background-color: #c9c9c9;
}

/* Képek és videó */
.fokep, .video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.fokep:hover, .video:hover {
  transform: translateY(-3px);
}

.video {
  background: #000;
}

/* Galéria */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.galeria img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #eee;
  transition: all 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ccc;
}

/* Reszponzív */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }
  
  .fooldal {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }
  
  .bal-tartalom {
    padding: 30px;
  }
  
  .bal-tartalom h2 {
    font-size: 30px;
    margin-bottom: 25px;
  }
  
  .bal-tartalom p strong {
    font-size: 20px;
    margin: 18px 0;
  }
  
  .gombok {
    flex-direction: column;
    gap: 15px;
    margin-top: 35px;
  }
  
  .gomb {
    width: 100%;
  }
  
  .galeria {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* Lábléc */
footer {
  background-color: #f5f5f5;
  padding: 25px;
  text-align: center;
  border-top: 2px solid #ddd;
  margin-top: 50px;
  font-size: 15px;
  color: #666;
}

.page-title {
  background-color: #add8e6; /* világoskék */
  color: black;
  text-align: center;
  font-size: 28px;
  padding: 10px 0;
  font-weight: bold;
}

header {
  background-color: #007BFF; /* Bootstrap kék */
  color: white;
  padding: 1rem;
  text-align: center;
}

.about-page .main-content {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-page .main-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e70f0;
}

.about-page .main-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #444;
}

.about-page .main-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.about-page .main-content ul li {
  font-size: 18px;
  margin-bottom: 10px;
  list-style-type: disc;
}


.modal-img {
  max-width: 500px;
  max-height: 500px;
  width: 500px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.link {
  color: blue;
  text-decoration: none;
  transition: color 0.3s;
}

.link.visited {
  color: purple;
}

.kapcsolat-forma {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.kapcsolat-forma form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kapcsolat-forma label {
  font-weight: 600;
  margin-bottom: 5px;
  text-align: left;
}

.kapcsolat-forma input[type="text"],
.kapcsolat-forma input[type="email"],
.kapcsolat-forma input[type="tel"],
.kapcsolat-forma input[type="date"],
.kapcsolat-forma textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.kapcsolat-forma button {
  padding: 12px;
  background-color: #1e70f0;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kapcsolat-forma button:hover {
  background-color: #1658c0;
}

h2 {
  font-size: 2.5rem; /* nagyobb méret */
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oldal-vege {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding: 20px;
  border-top: 2px solid #ccc;
}

.oldal-vege table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f9f9f9;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.oldal-vege th,
.oldal-vege td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.oldal-vege th {
  background-color: #e0e0e0;
  font-weight: 600;
}

.tablazat-container {
  padding: 40px;
  background-image: url('kepek/szelvedojavitas-budapest-3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #f9f9f9;
}

.tablazat {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 18px;
}

.tablazat th, .tablazat td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
}

.tablazat thead {
  background-color: #1e70f0;
  color: white;
}

.tablazat tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.tablazat tbody tr:hover {
  background-color: #e0e0e0;
}


.white-summary {
  color: white !important;
  background-color: #1e70f0;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.white-summary:hover {
  background-color: #1658c0;
}

/* Remove default arrow in browsers that support it */
.white-summary::-webkit-details-marker {
  color: white;
}

/* Nyomtatási stílusok */
@media print {
    /* Elrejtendő elemek */
    .menu,
    .menu-bal,
    .menu-jobb,
    .jobb-oldal,
    footer,
    video,
    .video,
    .modal,
    .modal-close {
        display: none !important;
    }
    
    /* Alap stílusok a nyomtatáshoz */
    body {
        background-color: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.3;
        padding: 0.5in;
    }
    
    /* Képek kezelése */
    img {
        max-width: 50% !important;
        height: auto !important;
        page-break-inside: avoid;
    }
    
    /* Oldaltörések kezelése */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    p, li {
        page-break-inside: avoid;
    }
    
    /* Linkek megjelenítése */
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    /* URL megjelenítése a linkek után */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: smaller;
    }
    
    /* Fejléc és lábléc eltávolítása */
    @page {
        margin: 1cm;
        size: A4;
        
        @top-center {
            content: none;
        }
        
        @bottom-center {
            content: none;
        }
    }
    
    /* Papírtakarékos beállítások */
    .bal-tartalom {
        padding: 0 !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    .gombok {
        display: none !important;
    }
    
    /* Táblázatok formázása */
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    td, th {
        padding: 4px !important;
        border: 1px solid #ddd !important;
    }
    
    /* Háttérszínek eltávolítása */
    * {
        background-color: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Képaláírások */
    img + em {
        display: block;
        text-align: center;
        font-size: 10pt;
        margin-bottom: 1em;
    }
    
    /* Oldalszámozás */
    body:after {
        content: counter(page);
        position: fixed;
        bottom: 0;
        right: 0;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #1e70f0;
    color: white !important;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid #ffbf47;
}