@import url('https://fonts.googleapis.com/css2?family=Hind+Vadodara:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "hind vadodara";
}

a {
    text-decoration: none;
    color: inherit;
}

#kezdooldal{
    visibility: hidden;
    margin: 0;
}

.navbar {
    position: sticky;
    top: 0;
    background-color:#14516d;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid black 2px;
    user-select: none;
}

.navbar-logo {
    height: 5rem;
    margin: 0 0.5rem;
}

.navbar-right img {
    height: 1rem;
    padding-left: 0.5rem;
}

.navbar a {
    color: white;
    font-size: 1.5rem;
    padding: 0 0.5rem;
    margin: 0;
}

.hero {
    margin: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
}

.hero-item1 {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: left;
    box-sizing: border-box;
    font-size: 1.5rem;
    min-width: 0;
}

.hero h1 {
    margin: 0;
    color: #14516d;
}

.hero img {
    margin: 1rem;
    width: 27em;
    border-radius: 50px;
}

@media (max-width: 1470px) {
    .hero {
        margin: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        align-items: center;
    }

    .hero-item1 {
        margin: 0 2rem;
        grid-column: 1 / -1;
        padding: 2rem;
    }

    .hero-item2,
    .hero-item3 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .hero img {
        border-radius: 30px;
    }
}

/* .hero div h1 {
    padding: 0.3em 0.1em;
    background-color: #14516d;
    border-radius: 50px;
    margin: 0;
} */

.decor {
    margin: 3rem 2.5rem;
    background-color: #14516d;
    height: 3rem;
    width: 1fr;
    border-radius: 30px;
}

.main-grid {
    margin: 0 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.items {
    flex: 1 1 250px;
    max-width: 315px;
    min-width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.items img {
    width: 100%;
    border-radius: 30px;
}

.orvos {
    margin: 0.1em 0.1em;
    font-weight: bold;
    font-size: 1.7em;
}

.orvos-leiras {
    margin: 0.1em 0.1em;
    font-size: 1.5em;
}

.rendelo-ido {
    background-color: #f2f7f9;
    color: #183744;
    padding: 2rem;
    margin: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 25px;
    box-sizing: border-box;
}

.rendelo-fejlec {
    text-align: center;
    padding: 1.5rem;
    background-color: #14516d;
    color: white;
    border-radius: 18px;
}

.rendelo-fejlec h2 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.rendelo-tablazat {
    width: 100%;
    min-width: 0;
}

.rendelo-tablazat h3 {
    color: #14516d;
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.rendelo-tablazat table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    font-size: 1rem;
}

.rendelo-tablazat th {
    background-color: #14516d;
    color: white;
    text-align: left;
    font-weight: 600;
}

.rendelo-tablazat th,
.rendelo-tablazat td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #dce6ea;
    vertical-align: top;
}

.rendelo-tablazat tbody tr:nth-child(even) {
    background-color: #f5f9fa;
}

.rendelo-tablazat tbody tr:hover {
    background-color: #e6f1f5;
}

.rendelo-tablazat tbody tr:last-child td {
    border-bottom: none;
}

.rendelo-telefon {
    margin: 1.2rem 0 0.3rem;
    font-size: 1.1rem;
}

.rendelo-telefon a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

.rendelo-megjegyzes {
    margin: 0.3rem 0;
}

/* Tablet és mobil */
@media (max-width: 768px) {
    .rendelo-ido {
        padding: 1rem;
        margin: 1rem 0.5rem;
        gap: 1.5rem;
        border-radius: 15px;
    }

    .rendelo-fejlec {
        padding: 1rem;
    }

    .rendelo-fejlec h2 {
        font-size: 1.6rem;
    }

    .rendelo-tablazat h3 {
        font-size: 1.3rem;
    }

    .rendelo-tablazat {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rendelo-tablazat table {
        min-width: 520px;
        font-size: 0.95rem;
    }

    .rendelo-tablazat th,
    .rendelo-tablazat td {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .rendelo-fejlec h2 {
        font-size: 1.4rem;
    }

    .rendelo-fejlec p {
        font-size: 1rem;
    }

    .decor {
        margin: 3rem 1rem;
    }
}

footer {
    border-top: solid black 2px;
    background-color: #14516d;
    padding: 2rem;
    color: white;
    margin: 0;
}

iframe {
    width: 100%;
    height: 300px;
    margin: 0;
    padding: 0;
}

img {
    user-select: none;
}