body {
    background-image: url('kepek/hatter.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.hero:hover .hero-img {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.33);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 30px 20px;
}

.hero-overlay h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 1px;
    text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.hero-overlay p {
    margin: 12px 0 0;
    font-size: clamp(1rem, 2vw, 1.45rem);
    max-width: 720px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .hero {
        min-height: 300px;
    }
    .hero-overlay {
        padding: 20px;
    }
}

body > h1 {
    display: flex;
    align-items: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
}

h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
}

h1 img {
    width: 100px;
    height: auto;
    margin-right: 20px;
}

.menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    position: relative;
}
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-right: 10px;
}
.menu-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.menu-links a {
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.menu-links a:hover {
    background-color: #ddd;
    color: black;
}
.menu-links a.insta {
    justify-content: right;
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}


.kezdo {
    display: flex;
    gap: 0;
    border-radius: 14px;
    margin: 20px auto 30px;
    max-width: 1100px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.kezdo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 60px;
    color: #000000;
}

.kezdo-text p {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    font-family: 'Brush Script MT', cursive;
    margin: 0 0 12px;
    letter-spacing: 1px;
    color: #000000;
}

.kezdo-text h2 {
    margin: 6px 0;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    color: #1a1a1a;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.kezdo-image {
    flex: 1;
    overflow: hidden;
    min-height: 350px;
}

.kezdo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .kezdo {
        flex-direction: column;
    }
    
    .kezdo-text {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    
    .kezdo-image {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .kezdo-text {
        padding: 24px 16px;
    }
    
    .kezdo-text p {
        font-size: 1.8rem;
    }
    
    .kezdo-text h2 {
        font-size: 1.3rem;
    }
    
    .kezdo-image {
        min-height: 200px;
    }
}

.insta {
    margin-left: auto;
}
.fogalkozas {
    margin-top: 140px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px 20px;
    display: grid;
    gap: 40px;
}

.fogalkozas .manikur,
.fogalkozas .pedikur {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.fogalkozas .text {
    width: 100%;
    max-width: 580px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.fogalkozas .text h1,
.fogalkozas .text h3 {
    font-size: 2.1rem;
    margin: 0 0 12px;
    color: #003d2f;
}

.fogalkozas .text p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 10px;
    color: #2f2f2f;
}

.fogalkozas img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 960px) {
    .fogalkozas .manikur,
    .fogalkozas .pedikur {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fogalkozas .text {
        align-items: center;
        text-align: center;
        padding: 12px;
    }

    .fogalkozas .text h1,
    .fogalkozas .text h3 {
        font-size: 1.8rem;
    }

    .fogalkozas img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .fogalkozas {
        gap: 24px;
        padding: 0 12px 18px;
    }

    .fogalkozas .text h1,
    .fogalkozas .text h3 {
        font-size: 1.65rem;
    }

    .fogalkozas .text p {
        font-size: 1rem;
    }
}



#manikurtext {
    margin-left: 200px;
}

#kep1 {
    width: 700px;
    height: auto;
    margin-right: 50px;
}

#kep2 {
    width: 700px;
    height: auto;
    margin-left: 50px;
}

#about {
    text-align: center;
    margin-top: 150px;
}

#about h1,
#services h1,
#galleria h1 {
    display: block;
    justify-content: center;
    text-align: center;
}

#about h1 {
    font-size: 48px;
    font-family: 'Times New Roman', serif;
    margin-bottom: 20px;
}

#about p {
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

#contact {
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
     margin-top: 150px;
}

#contact table {
    width: 100%;
    border-collapse: collapse;
}

#contact td {
    padding: 10px;
    vertical-align: top;
}

#contact td p {
    font-size: 20px;
}

#services {
    text-align: center;
    margin-top: 150px;
}
#services h1 {
    text-align: center;
    font-size: 48px;
    font-family: 'Times New Roman', serif;
    margin-bottom: 20px;
}

.services-table-wrapper {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 1000px;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.services-table th,
.services-table td {
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    font-size: 18px;
}

.services-table th {
    background-color: #f4f4f4;
    font-weight: 700;
}

.services-table tbody tr:nth-child(even) {
    background-color: rgba(244, 244, 244, 0.8);
}

#services h1 {
    font-size: 48px;
    font-family: 'Times New Roman', serif;
    margin-bottom: 20px;
}

#services ul {
    list-style-type: none;
    padding: 0;
}

#services li {
    font-size: 20px;
    margin-bottom: 10px;
}

#contact ul {
    list-style-type: none;
    padding: 0;
}

#contact li {
    font-size: 20px;
    margin-bottom: 10px;
}

#contact p a,
#contact ul li a {
    color: white;
    text-decoration: none;
}

#contact td p a:hover,
#contact ul li a:hover {
    text-decoration: underline;
}

#contact iframe {
    display: block;
    margin: 0 auto;
}

#galleria {
    text-align: center;
    margin-top: 150px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 20px auto 40px;
    max-width: 1200px;
    justify-items: center;
    align-items: center;
    padding: 10px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.load-more-btn {
    grid-column: 1 / -1;
    background-color: #f0f0f0;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.load-more-btn:hover {
    background-color: #ddd;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .menu-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f0f0f0;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .menu-links.show {
        display: flex;
    }
    .menu-links a {
        margin: 10px 0;
        padding: 10px;
        border-radius: 5px;
    }
    .menu-links a.insta {
        margin-top: 10px;
    }
    #contact table tr {
        display: flex;
        flex-direction: column;
    }
    #contact table td:last-child {
        display: none;
    }
    #contact table td {
        width: 100%;
    }
}

