* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FFFAF2;
    color: #1F1F1F;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: #FFFAF2;
    color: #1F1F1F;
    padding: 0.25rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1F1F1F;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

nav {
    display: flex;
    gap: 2rem;
    margin-right: 5rem;
}

nav a {
    color: #1F1F1F;
    text-decoration: none;
    transition: color 0.3s ease;
}
nav a:not(.no-children) {
    font-weight: 500;
}

nav a:hover {
    color: #E94B3C;
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
    color: white;
    padding: 1rem 1rem 1.5rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.page-content {
    h1 {
        color: #5CA68D;
        font-size: 1.875rem;
        font-weight: bold;
        margin: 1rem 0rem;
    }
    h3 {
        color: #5CA68D;
        font-size: 1.5rem;
        font-weight: bold;
        margin: 1rem 0rem;
    }
}
.service-list-prices {
    margin-top: 1rem;
    border-collapse: collapse;
    table-layout: fixed;
    width: 50%;
    margin: auto;
}

.cta-button {
    background: #FF9F96 !important;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: #D93A2C;
    transform: scale(1.05);
}

/* Main Content */
main {
    flex: 1;
}

.container {
    text-align: center;
}

/* Accordion Styles */
.services-section {
    padding: 1rem 1rem;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(59, 124, 166, 0.2);
}

.accordion-header {
    width: 100%;
    background: linear-gradient(135deg, #80CDFF 0%, #5CA68D 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #6DB89C 0%, #5CA68D 100%);
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    color: #666666;
    padding: 0.75rem;
    line-height: 1.6;
    margin: 0;
    background: #FF9F96;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin: 0rem 1rem;
    font-weight: 600;
    color: white;
}
.accordion-group ul {
    border-radius: 1rem;
    background: white;
    border-left: 4px solid #5CA68D;
    border-right: 4px solid #5CA68D;
    border-bottom: 4px solid #5CA68D;
}
.accordion-group  {
    padding: 0.5rem 0rem;
}
.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #5CA68D 0%, #4A8B77 100%);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: fit-content;
}

section h2 {
    color: #5CA68D;
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
}

section p {
    color: #1F1F1F;
}

#doctors,
#appointments,
#contact {
    margin: 1rem 0;
    text-align: center;
}

/* Contact Section */
#contact h1 {
    color: #5CA68D;
    font-size: 1.5rem;
    font-weight: bold;
}
#contact h2 {
    color: #5CA68D;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: bold;
}
#contact p {
    color: #1F1F1F;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
    color: white;
    text-align: center;
    padding: 0.5rem 0rem;
        display: flex;
    flex-wrap: wrap;
    justify-content: center;
    div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        p {
            font-size: smaller;
            margin: 0rem 0.25rem;
        }
    }
}
.adatkezelesi-tajekoztato {
    padding: 1rem;
    p {
        margin: 1rem;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        margin-right: 0rem;
    }

    #nav-mobile { 
        top: 3.5rem
    }

    .logo img {
        width: 45px;
        height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
    .worker-card {
        min-width: 100%;
    }
    .service-list-prices {
        width: 100%;
        .price {
            width: 30%;
        }
    }
}
@media (min-width: 769px) {
    .worker-card {
        width: 50%;
    }
}

/* Navigation Styles - Desktop */
.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop .nav-link {
    color: #1F1F1F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.active {
    color: #5CA68D;
    border-bottom-color: #5CA68D;
}

.nav-item-dropdown {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 0.5rem;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.85rem;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-submenu {
    display: flex;
    flex-direction: column;
}

.nav-submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #1F1F1F;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-submenu-link:hover,
.nav-submenu-link.active {
    background: #F0F0F0;
    color: #5CA68D;
    padding-left: 1.5rem;
}

.nav-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    /* Mobile Menu */
    #nav-mobile {
        position: fixed;
        top: 0;
        left: -80vw; /* hidden */
        width: 80vw;
        height: 100%;
        background: #5CA68D;
        padding: 0rem 0rem;
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        transition: 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    #nav-mobile.active {
        left: 0;
        transition: 0.3s ease;
    }

    #nav-mobile a:not(.no-children) {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
    }

    #nav-mobile a:hover {
        background: #E94B3C;
    }

    .nav-link-mobile {
        display: block;
        padding: 1rem 1.5rem;
        color: #1F1F1F;
        text-decoration: none;
        border-bottom: 1px solid #F0F0F0;
        background: #FFFAF2;
        border: none;
        cursor: pointer;
        text-align: left;
        width: 100%;
        font-size: 1rem;
        transition: all 0.2s ease;
    }

    .nav-link-mobile:hover,
    .nav-link-mobile.active {
        background: white; /* TODO */
        color: #5CA68D;
        padding-left: 2rem;
    }

    .nav-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-toggle-icon {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .nav-item-mobile-dropdown.expanded .nav-toggle-icon {
        transform: rotate(45deg);
    }

    .nav-submenu-mobile {
        display: flex;
        flex-direction: column;
        background: #FAFAF0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-submenu-link-mobile {
        display: block;
        padding: 0.75rem 2rem;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #F0F0F0;
        transition: all 0.2s ease;
        font-size: 0.95rem;
    }

    .nav-submenu-link-mobile:hover,
    .nav-submenu-link-mobile.active {
        background: #F0F0F0;
        color: #5CA68D;
        padding-left: 2.5rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #F5F5F5;
    padding: 1rem 1.5rem;
    margin-bottom: 0rem;
    margin-right: 0rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #5CA68D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #4A9A77;
}

.breadcrumb-current {
    color: #1F1F1F;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

/* Category Page Styles */
.category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.category-header {
    text-align: center;
    padding: 0.5rem 0;
}

.category-header h1 {
    font-size: 2.5rem;
    color: #5CA68D;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Service Page Styles */
.service-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-content-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-intro h2 {
    font-size: 2rem;
    color: #5CA68D;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-details,
.service-benefits {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.service-details h3,
.service-benefits h3 {
    color: #5CA68D;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-details ul,
.service-benefits ul {
    list-style-position: inside;
    line-height: 1.8;
    color: #333;
}

.service-details li,
.service-benefits li {
    margin-bottom: 0.5rem;
}

.service-cta {
    text-align: center;
    padding: 2rem;
    background: #F5F5F5;
    border-radius: 0.5rem;
}

.service-cta p {
    font-size: 1.1rem;
    color: #1F1F1F;
}

/* Service Index / Grid */
.service-index {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card h3 a {
    color: #5CA68D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-card h3 a:hover {
    color: #4A9A77;
    text-decoration: underline;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-link {
    display: inline-block;
    color: #5CA68D;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 0rem;
}

.service-link:hover {
    color: #4A9A77;
    margin-left: 0.25rem;
}
.service-workers {
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:center;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 1.75rem;
    }

    .category-page {
        padding: 0rem;
        .service-page {
            padding: 0rem;

        }
    }

    .service-content-wrapper {
        padding: 1rem;
    }

    .service-intro h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .breadcrumb-nav {
        padding: 0.75rem 1rem;
    }

    .service-card {
        margin: 0rem 1rem;
    }
}

.worker-card { 
    position: relative;
    min-width: 300px;
 }
.worker-card-foreground { 
    background-color: #FFFAF2;
    padding: 0.5rem 10px; 
    text-align: center;
    position: relative;
    z-index: 1;
    clip-path: polygon(
        0% 0%,
        calc(100% - 40px) 0%,
        100% 40px,
        100% 100%,
        40px 100%,
        0% calc(100% - 40px)
    );
    height: 100%;
}
.worker-card-background {
  position: absolute;
  inset: 1px;
  background: linear-gradient(270deg, #FF9F96  50%, #80CDFF 50%);
  z-index: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.worker-card-foreground img { 
    display:block;
    margin:0 auto; 
    width:100px; 
    height:100px; 
    object-fit:cover; 
    border-radius:50%; 
    margin:0rem; border:2px solid #1999; 
}
.worker-card-foreground h2 { line-height:1.2; color:#222; font-size:1.5rem; margin:0.25rem 0; }
.worker-card-foreground h4 { line-height:1.5; color:#444; }
.worker-card-foreground p { line-height:1.2; color:#333; margin:10px 0; }
.worker-card-foreground a.button { display:inline-block; text-decoration:none; 
    font-size:16px; color:#FFFFFF; padding:8px 20px;
     background:linear-gradient(to right, #80CDFF 0%, #FF9F96 100%); border-radius:50px; }
.worker-info {
    display: flex;
}
.worker-info-long {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem 0rem;
}
.worker-actions { display:flex; gap:0.5rem; justify-content:center; margin-top:1rem; font-weight:600; flex-direction: column;}
.worker-actions a.phone { background:#7bd389; padding:8px 14px; color:#fff; border-radius:40px; text-decoration:none; min-width: 190px;}
.worker-card {
    .worker-actions {
        flex-direction: column;
        margin-top: 1rem;
    }
}
.worker-actions a {
    margin: 0rem 2rem;
}
.worker-intorduction {
    align-self: center;
}
.worker-card-foreground-bg {
  position: absolute;
  inset: 1px;
  background: linear-gradient(270deg, #FF9F96  50%, #80CDFF 50%);
  z-index: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.worker-card:hover {
  .worker-card-background {
    background: linear-gradient(270deg, #80CDFF 50%, #FF9F96   50%);
  }
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    a {
        width: 3rem;
        height: 3rem;
        text-decoration: none;
        img {
            width: 3rem;
            height: 3rem;
            object-fit: cover;
        }
    }
}
.workers-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem;
}
a {
    color: #5CA68D;
    text-decoration: underline;
}