:root {
    --bg-color: #f7f4ee;
    --text-color: #3b332d;
    --accent-color: #b5906d;
    --dark-brown: #5c3e26;
    --light-accent: #e5dccf;
    --white: #ffffff;
    --black: #000000;
    --font-main: 'Museo', 'Raleway', sans-serif;
    --font-heading: 'Museo', 'Raleway', sans-serif;
    --font-signature: 'Great Vibes', cursive;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    letter-spacing: 1px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 20px;
}

h2 {
    font-size: 3.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.text-box.right-align h2::after {
    left: auto;
    right: 0;
}

.text-box.centered-text h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.text-box h3 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.text-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.text-box.right-align h3::after {
    left: auto;
    right: 0;
}

.text-box.centered-text h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.brown-heading {
    color: var(--dark-brown) !important;
}

#dr-olvaszto h3.brown-heading {
    color: var(--accent-color) !important;
}

#dr-olvaszto h3::after {
    display: none !important;
}

p {
    margin-bottom: 15px;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light { background-color: var(--bg-color); }
.bg-white { background-color: var(--white); }

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(247, 244, 238, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid rgba(181, 144, 109, 0.1);
    transform: translateY(0);
}

.desktop-info-block {
    position: absolute;
    top: 70px;
    right: 0;
    height: 120px;
    width: auto;
    border: none;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    position: relative;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 4000;
    padding: 80px 0 0 0;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 40px;
    margin-bottom: 20px;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.mobile-menu-info-block {
    display: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 3500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    margin-top: 20px;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-color) 35%, transparent 50%);
    pointer-events: none;
}

.hero-image img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    transform: translateX(8%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
    pointer-events: none;
}

.hero-text-wrapper {
    pointer-events: auto;
    max-width: 35%;
    display: flex;
    flex-direction: column;
}

.hero-main-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: var(--text-color);
    text-transform: uppercase;
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 40px;
    letter-spacing: 4px;
}

.hero-sub-title span {
    font-weight: 700;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 45px;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--black);
    font-weight: 300;
    margin-top: 80px;
}

.hero-features div {
    line-height: 1.1;
    position: relative;
    padding-bottom: 20px;
}

.hero-features div::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background-color: var(--accent-color);
}

.hero-features span {
    display: block;
}

.intro-text-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 120px 0;
    text-align: center;
}

.intro-text {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-p-large {
    font-size: 2.8rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: var(--dark-brown);
    margin-bottom: 30px !important;
    letter-spacing: 1px;
}

.intro-separator {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 40px auto;
}

.intro-p-sub {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-color);
}

.section-relative, .service-row {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.img-bg-wrapper {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.img-bg-wrapper.left {
    left: 0;
}

.img-bg-wrapper.right {
    right: 0;
}

.img-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#dr-olvaszto .img-bg-wrapper img {
    object-fit: contain !important;
    object-position: center !important;
}

.img-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-light .img-bg-wrapper.left::after {
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 40%);
}

.bg-white .img-bg-wrapper.left::after {
    background: linear-gradient(to left, var(--white) 0%, transparent 40%);
}

.bg-light .img-bg-wrapper.right::after {
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 40%);
}

.bg-white .img-bg-wrapper.right::after {
    background: linear-gradient(to right, var(--white) 0%, transparent 40%);
}

.content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 60px;
}

.text-box {
    max-width: 44%;
    background: transparent;
}

.text-box.right-align {
    margin-left: auto;
    text-align: right;
}

.text-box.centered-text {
    text-align: center !important;
}

.text-box.centered-text .custom-list {
    display: inline-block;
    text-align: left;
}

.services-section {
    padding-top: 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.custom-list {
    list-style: none;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

#dr-olvaszto h2 {
    font-size: 3.5rem;
}

.signature {
    font-family: var(--font-signature);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 20px 0 40px;
}

.about-icons-horizontal {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.icon-box-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    max-width: 180px;
}

.icon-box-vertical i {
    color: var(--accent-color);
    font-size: 2.5rem;
}

.icon-box-vertical span {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.bio-full-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.bio-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-subtext-large {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: var(--dark-brown);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-subtext-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background-color: var(--accent-color);
}

.bio-text-columns {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 50px;
}

.bio-text-columns p {
    margin-bottom: 30px;
}

.timeline-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--accent-color);
}

.timeline-content {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.timeline-content h3 {
    margin-bottom: 15px;
}

.site-footer {
    background-color: var(--dark-brown);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-main);
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--accent-color);
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #ccc;
}

@media (max-width: 992px) {
    .main-header {
        width: 100% !important;
        box-sizing: border-box !important;
        left: 0 !important;
    }

    .header-container {
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    .menu-toggle {
        display: block !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .desktop-info-block {
        display: none;
    }
    
    .mobile-menu-info-block {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }

    .hero-image::after {
        display: none;
    }

    .hero-image img {
        filter: blur(2px);
        transform: scale(1.05);
        object-fit: cover;
    }

    .hero-content {
        position: relative;
        height: 100%;
        padding: 80px 20px 40px;
        align-items: center;
        text-align: center;
        z-index: 2;
        justify-content: center;
        display: flex;
    }

    .hero-text-wrapper {
        max-width: 100%;
        align-items: center;
    }

    .hero-section {
        flex-direction: column;
        height: 100vh;
        padding-top: 0;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        font-size: 1.5rem;
        margin-top: 30px;
        font-family: var(--font-main);
    }
    
    .hero-features div {
        padding-bottom: 15px;
    }
    
    .hero-features div::after {
        display: block;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-relative, .service-row {
        flex-direction: column;
        padding: 0;
        height: auto;
        min-height: auto;
    }

    .img-bg-wrapper {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .text-box {
        max-width: 100%;
        padding: 60px 20px;
    }

    .text-box.right-align {
        text-align: center;
    }

    .about-icons-horizontal {
        justify-content: center;
    }

    .intro-text-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-color);
        color: var(--text-color);
        padding: 60px 20px;
        text-align: center;
    }

    .intro-text {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }

    .intro-p-large {
        font-size: 1.8rem !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        color: var(--dark-brown);
        margin-bottom: 20px !important;
        letter-spacing: 1px;
    }

    .intro-separator {
        width: 40px;
        height: 2px;
        background-color: var(--accent-color);
        margin: 25px auto;
    }

    .intro-p-sub {
        font-size: 1.1rem;
        line-height: 1.6;
        font-weight: 300;
        color: var(--text-color);
    }

    #dr-olvaszto {
        flex-direction: row !important;
        position: relative !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        padding: 40px 0 !important;
        width: 100%;
        overflow: hidden;
    }

    #dr-olvaszto .img-bg-wrapper {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 50% !important;
        height: 100% !important;
    }

    #dr-olvaszto .img-bg-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    #dr-olvaszto .content-container {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    #dr-olvaszto .text-box {
        max-width: 48% !important;
        padding: 0 !important;
        text-align: left !important;
    }

    #dr-olvaszto h2 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        letter-spacing: 1px !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
    }

    #dr-olvaszto h2::after {
        left: 0 !important;
        width: 40px !important;
        height: 2px !important;
        transform: none !important;
    }

    #dr-olvaszto h3.brown-heading {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    #dr-olvaszto p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    #dr-olvaszto .signature {
        font-size: 1.2rem !important;
        margin: 10px 0 15px !important;
    }

    #dr-olvaszto .about-icons-horizontal {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        margin-top: 15px !important;
        flex-wrap: nowrap !important;
    }

    #dr-olvaszto .icon-box-vertical {
        max-width: 30% !important;
        gap: 4px !important;
    }

    #dr-olvaszto .icon-box-vertical i {
        font-size: 1rem !important;
    }

    #dr-olvaszto .icon-box-vertical span {
        font-size: 0.45rem !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
    }
}