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

html, body { 
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    display: flex; 
    flex-direction: column; 
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}





::-webkit-scrollbar {
    width: 10px;
  }
  
 
  ::-webkit-scrollbar-track {
    background: #333;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  
 
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0073e6, #005bb5);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
 
  ::-webkit-scrollbar-thumb:hover {
    /* background: linear-gradient(180deg, #005bb5, #004494); */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
  }
  
  


header {
    min-width: 100%;
    background-color: #333;
    color: #fff;
    /* margin: 1rem; */

}

.contact {
    display: flex;
    /* min-width: 100vh; */
    min-width: 100%;
    justify-content: end;
    padding: 0.5em 2.5em;
    background-color: #0073e6;
    color: #fff;
}

.pages {
    padding-right: 1rem;
    padding: 1rem;  
    display: flex;
    justify-content: flex-end;
}

nav .sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(24, 24, 24, 0.123);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}



.sidebar li{
    margin-top: 10px;
    width: 100%;
}

.sidebar a{
    width: 100%;
    color: #333;
}

.sidebar li:first-child:hover{
    background: none;
}

.sidebar li:hover{
    background: rgba(0, 0, 0, 0.1)
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    padding-left: 2rem;
}

nav ul:last-child{
    padding-right: 2.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #0073e6;
    transition: color 0.3s ease;
}


main {
    padding: 2rem;
    max-width: 1600px;
    margin: auto;
    justify-content: center;
    flex-grow: 1;
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service {
    padding: 25px;
    text-align: center;
}

.service img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
}

.service p {
    margin-top: 0.5rem;
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}




.space{
    padding-left: 8px;
    padding-right: 8px;
}

.mail{
    text-decoration: underline;
    color: white;
    
}







h4 a{
    padding-left: 5px;
}

.price-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price-list h1 {
    font-size: 2rem;
    text-align: center;
   
    margin-bottom: 3rem;
    margin-top: 1rem;
    position: relative;
    bottom: 0;
    color: #0073e6;

}

.price-list table {
    margin: 0;
   
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.price-list table, 
.price-list th, 
.price-list td {
    border: 1px solid #ddd;
}

.price-list th, 
.price-list td {
    padding: 12px;
    text-align: left;
    font-size: 1rem;
}

.price-list thead th {
    background-color: #0073e6;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.price-list tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-list tbody tr:hover {
    background-color: #f1f1f1;
}

.price-list tbody td {
    vertical-align: middle;
}

.price-list tbody td:nth-child(2) {
    width: 7em;
    text-align: center;
    font-weight: bold;
}

.price-list tbody td:nth-child(3) {
    text-align: center;
    font-style: italic;
}



    .hamburger{
        display: none;
    }



@media (max-width: 768px) {

    ::-webkit-scrollbar {
        display: none;
    }

    html {
        scrollbar-width: none; 
    }

    .booking-form {
        padding: 15px;
    }
    .contact-form {
        padding: 15px;
    }
    .price-list tbody td:nth-child(3){
        /* height: auto; */
        min-height: 50px;
    }

    .price-list table, 
    .price-list thead, 
    .price-list tbody, 
    .price-list th, 
    .price-list td, 
    .price-list tr {
        display: block !important;
        width: 100% !important;
    }

    .hamburger{
        display: block;
    }

    .price-list table{
        border: none;
    }

    /* Card-like styling for each row */
    .price-list tr {
        /* border: 1px solid #ddd; */
        border: none;
        /* border-radius: 8px; */
        margin-bottom: 15px;
        padding: 10px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    /* Full width for each cell and padding for labels */
    .price-list td {
        border: 1px solid #dadada;
        position: relative;
        padding-left: 50%;
        text-align: left;
        width: 100%; /* Ensure full width */
        box-sizing: border-box; /* Prevent padding issues */
    }

    /* Automatically label columns using nth-child */
    .price-list td:nth-child(1)::before {
        content: "Szolgáltatás";
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #0073e6;
    }

    .price-list td:nth-child(2)::before {
        content: "Ár(Ft)";
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #0073e6;
    }

    .price-list td:nth-child(3)::before {
        content: "Megjegyzés";
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #0073e6;
    }

    /* Ensure proper alignment across columns */
    .price-list tbody td:nth-child(2),
    .price-list tbody td:nth-child(3) {
        text-align: left;
    }


    .hideOnMobile{
        display: none;
    }
}

@media (max-width: 400px) {
    .sidebar{
        width: 100%;
    }
    header .contact{
        display: flex;
        flex-direction: column;
    }
    .space{
        display: none;
    }
    
    
}




.send-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}

.send-button:hover {
    background-color: #45a049;
}






.post {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.post h2 {
    margin: 0 0 10px;
}





















.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-form :first-child{
    padding-top: 8px;
}

.contact-form :last-child{
    margin-top: 25px;
    margin-bottom: 5px;
}

/* .contact-form label {
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}


.contact-form button {
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.contact-form button:hover {
    background-color: #0056b3;
} */










.booking-form {
    width: 25rem;
    margin: 2rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.booking-form label {
    margin-bottom: 8px;
    font-weight: bold;
    display: block;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.booking-form button {
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.booking-form button:hover {
    background-color: #0056b3;
}
















