*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    height: 100vh;
    background-color: #fff;
    background-image: url(header_bg_img.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
  }
   

::-webkit-scrollbar-thumb {
    background: #8b44b4; 
}

header nav ul li {
    list-style: none;
}

header nav ul a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

header nav  ul a:hover {
    color: #8b44b4;
    transition: 0.3s;
}

.navbar {
    width: 100%;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #bf86f8;
    position: relative;
    padding: 0 3rem;
}

.navbar .logo a {
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

.navbar .links {
    display: flex;
    gap: 2rem;
    font-weight: bold;
}
.navbar .media-links {
    display: flex;
    gap: 0.8rem;
}
.navbar .media-links li:hover {
    scale: 1.05;
    transition: 0.5s;
}

.navbar .toggle-btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action-btn {
    background-color: #8b44b4;
    color: #fff;
    padding: 0.5rem 0.7rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.action-btn:hover {
    scale: 1.05;
    color: #fff;

}

.action-btn:active {
    scale: 0.95;
}

.dropdown-navbar {
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-navbar.open {
    height: 275px;
    margin-top: 0.5rem;
}

.dropdown-navbar li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-navbar.open li a {
    color: #8b44b4;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-navbar.open li .action-btn {
    color: #fff;
    text-decoration: none;
}

.dropdown-navbar .action-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.massagist-details {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
}

.massagist {
    text-align: center;
    margin: 0.5rem;
}

.massagist-image img {
    width: 100%;
    height: auto;
    margin-bottom: 10px; /* Képek közötti tér */
}

.massagist ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.modal-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}


main {
    margin-bottom: 15rem;
}

section#hero {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    text-align: center;
    color: #8b44b4;
    margin-right: 5rem;
}

#hero {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

#hero button {
    margin-top: 30px;
    background-color: #bf86f8;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 2rem;
    text-decoration: none;
    border: none;
}

#hero button:hover {
    scale: 1.1;
    color: #8b44b4;
    background-color: #bf86f8;
    transition: 0.5s;
}

#hero button:active {
    scale: 0.95;
}

#hero h1 {
    cursor: default;
}

.introduction {
    background-color: #fff;
    padding: 3rem 0;
    align-items: center;
    margin-bottom: 5rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.intro-img {
    display: flex;
    justify-content: center;
}

.intro-img img {
    width: 35%;
    height: auto;
    margin: 5px;
}

.img-container {
    display: grid;
    grid-template-columns: 1;
}

.intro-text {
    flex: 1;
    margin-left: 2rem;
    margin-top: 1rem;
}

.intro-text h1 {
    color: #8b44b4;
    border-bottom: 2px solid #8b44b4;
    margin-bottom: 1rem;
}

.intro-text p {
    color: #000;
    font-weight: bold;
    text-align: justify;
    padding: 0.2rem 1rem;
}

.introduction-2 {
    background-color: #fff;
    padding: 3rem 0;
    align-items: center;
    margin-bottom: 5rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.intro-content-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.intro-img-2 img {
    max-width: 100%;
    height: auto;
}

.intro-text-2 {
    flex: 1;
    margin-right: 2rem;
}

.intro-text-2 h1 {
    color: #8b44b4;
    border-bottom: 2px solid #8b44b4;
}

.intro-text-2 p {
    color: #000;
    font-weight: bold;
    text-align: justify;
}

.massage-img {
    padding: 5rem 0;
    background-color: #bf86f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.massage-img img {
    max-height: 40rem;
    width: auto;
}

/* Ártáblák */
.prices {
    padding: 5rem 0;
    text-align: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.title-price {
    margin-bottom: 5rem;
}

.prices a {
    color: #8b44b4;
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    cursor: default;
}

.price-table {
    border: 2px solid #8b44b4;
    padding: 20px;
    width: 100%;
}

.price-table h2 {
    color: #333;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    border-bottom: 1px solid #8b44b4;
    padding: 0.75rem;
    min-width: 10rem;
}

.price-table th {
    background-color: #bf86f8;
    font-weight: bold;
}

.grid-container-p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center; /* táblázatok középre igazítása */
    grid-gap: 2rem;
}

.pos-left {
    text-align: left;
}

.pos-right {
    text-align: right;
    white-space: nowrap;
}

/* Kapcsolat szekció */
.contact {
    padding: 2rem 5rem;
    background-color: #bf86f8;
}

.contact-details {
    display: flex;
    justify-content: space-between;
}

.opening-hours,
.massagist-details-e {
    width: calc(50% - 20px);
}

.opening-hours h2,
.massagist-details-e h2 {
    color: #8b44b4;
    margin-bottom: 1.5rem;
}

.opening-hours p {
    margin-bottom: 10px;
}

.massagist-details-e ul {
    list-style: none;
    padding-left: 0;
}

.massagist-details-e ul li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.massagist-details-e ul li i {
    font-weight: bold;
    font-size: 1rem;
}

.copy {
    font-size: 1.15rem;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pos-right {
    width: 4.5rem;
}

/*Respinsive*/

@media (max-width: 1780px) {
    .introduction {
        width: 60%;
    }

    .introduction-2 {
        width: 60%;
    }
}

@media (max-width: 1650px) {
    .massage img {
        max-width: 70%;
        height: auto;
    }
}

@media (max-width: 1460px) {
    .introduction {
        width: 70%;
    }

    .introduction-2 {
        width: 70%;
    }

    .massage img {
        max-width: 60%;
        height: auto;
    }

    .price-table th, .price-table td {
        min-width: unset;
    }

    .prices {
        width: 80%;
    }
}

@media (max-width: 1260px) {
    .introduction {
        width: 80%;
    }

    .introduction-2 {
        width: 80%;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .prices {
        width: 90%;
    }
}

@media (max-width: 1095px) {
    .introduction {
        width: 90%;
    }

    .introduction-2 {
        width: 90%;
    }

    .massage-img img {
        max-height: 34rem;
        width: auto;
    }
}

@media (max-width: 1001px) {
    .grid-container-p {
        grid-template-columns: 1fr;
    }

    .intro-content {
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }

    .intro-content-2 {
        display: flex;
        flex-direction: column-reverse;
        align-items: baseline;
    }

    .introduction {
        width: 70%;
    }

    .introduction-2 {
        width: 70%;
    }
}

@media (min-width:901px){
    .dropdown-navbar.open {
        height: 0;
    }
}

@media (max-width: 900px) {
    .navbar .links,
    .navbar .action-btn {
        display: none;
    }

    .navbar .toggle-btn {
        display: block;
    }

    .dropdown-navbar {
        display: block;
    }

    .intro-img-2 {
        transform: scaleX(-1);
    }

    .intro-content-2 {
        align-items: end;
    }

    .intro-text-2 {
        margin-right: 0;
    }

    .intro-text {
        margin-left: 0;
    }
}

@media (max-width: 801px) {
    .introduction {
        width: 85%;
    }

    .introduction-2 {
        width: 85%;
    }

    .massage img {
        max-width: 70%;
        height: auto;
    }

    .massage-img img {
        max-height: 24rem;
        width: auto;
    }
}

@media (max-width: 550px) {
    .dropdown-navbar {
        left: 2rem;
        width: unset;
    }

    section#hero {
        margin-right: 0;
        justify-content: center;
        align-items: center;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-details {
        display: grid;
        justify-content: space-between;
    }

    .navbar .logo a {
        font-size: 1.5rem;
    }

    #hero {
        font-size: 1.5rem;
    }

    .opening-hours, .massagist-details-e {
        width: 100%;
    }

    .massage-img img {
        max-height: 20rem;
        width: auto;
    }
}

@media (max-width: 461px) {
    .massage-img img {
        max-height: 12rem;
        width: auto;
    }
}

@media (max-width: 361px) {
    #hero {
        font-size: 1.3rem;
    }

    #hero button {
        font-size: 1.6rem;
    }
}