/* CSS Custom Properties for reusability */
:root {
    --primary-color: #b38b6d;
    --secondary-color: #a27858;
    --text-color: #6a5647;
    --text-dark: #5a4a42;
    --shadow-light: 0 8px 20px rgba(90, 74, 66, 0.15);
    --shadow-medium: 0 10px 30px rgba(90, 74, 66, 0.1), 0 4px 15px rgba(90, 74, 66, 0.07);
    --shadow-hover: 0 15px 35px rgba(90, 74, 66, 0.4), 0 5px 20px rgba(90, 74, 66, 0.3);
    --border-color: rgba(179, 139, 109, 0.15);
    --border-accent: rgba(179, 139, 109, 0.5);
    --carousel-width: 800px;
    --carousel-width-md: 600px;
}

/* Általános stílusok */
body {
    font-family: 'Georgia', serif;
    color: var(--text-dark);
    background-color: #f8f5f2;
}

/* Hero szekció stílusai */
.hero-section {
    background: linear-gradient(135deg, #d8c9b8 0%, #c5b4a3 50%, #a9927d 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* 3d oszlopdiagramhoz */
#chartdiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hero-content-container {
    position: relative;
    z-index: 10;
}

.hero-text-container {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.2s;
}

.hero-text-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), #d8b99c);
}

.hero-section h1 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.hero-section .lead {
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-color);
    position: relative;
    padding-left: 30px;
    margin-bottom: 1.5rem;
}

.hero-section .lead::before {
    content: '•';
    /* position: absolute; */
    left: 10px;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

#hero-logo {
    width: 50%;
    display: block;
    margin: auto;
}

/* VÉLEMÉNYEK SZEKCIÓ */
.velemenyek-section {
    background: #f8f5f2;
    padding: 5rem 0;
}

.velemenyek-section h2 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 1px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards;
}


.splide {
    max-width: var(--carousel-width);
    height: 400px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.splide__slide {
    position: relative;
}

.splide__slide.is-active {
    z-index: 10;
}

.velemeny-kartya {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    height: 360px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.splide__slide.is-active .velemeny-kartya {
    animation: fadeUpSmooth 0.5s forwards;
}


.velemeny-szoveg {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-style: italic;
    overflow-y: auto;
    max-height: 260px;
}

.velemeny-szerzo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    text-align: right;
    margin-top: 1rem;
}

.velemeny-kartya blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 0;
}

/* Custom Navigation Buttons */
.carousel-controls {
    max-width: var(--carousel-width);
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.custom-arrow {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 20;
}

.custom-arrow:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Splide Pagination */
.splide__pagination {
    bottom: -2.5rem;
}

.splide__pagination__page {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-accent);
    border: 2px solid var(--primary-color);
    margin: 0 6px;
    transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Progress Bar */
.my-slider-progress {
    background: var(--border-accent);
    height: 4px;
    border-radius: 2px;
    margin-top: 1rem;
}

.my-slider-progress-bar {
    background: var(--primary-color);
    height: 4px;
    border-radius: 2px;
    transition: width 400ms ease;
    width: 0;
}

/* MIÉRT VÁLASSZ SZAKASZ */
#miert-valassz {
    background: linear-gradient(to bottom, #f1e9e2, #e8dfd5);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

#miert-valassz::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to right, var(--primary-color), #d8b99c);
}

#miert-valassz h2 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 1px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards;
}

#miert-valassz h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

#miert-valassz .valaszto-kartya {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards;
}

#miert-valassz .valaszto-kartya:nth-child(2) {
    animation-delay: 0.2s;
}

#miert-valassz .valaszto-kartya::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #d8b99c);
    border-radius: 12px 0 0 12px;
}

#miert-valassz .valaszto-kartya:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

#miert-valassz .valaszto-kartya h5 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

#miert-valassz .valaszto-kartya h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

#miert-valassz .valaszto-kartya ul {
    list-style: none;
    padding-left: 0;
}

#miert-valassz .valaszto-kartya li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0;
    transform: translateX(-10px);
    animation: listItemFade 0.5s forwards;
}

#miert-valassz .valaszto-kartya li:last-child {
    margin-bottom: 0;
}

#miert-valassz .valaszto-kartya li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

#bemutatkozas-gomb {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#bemutatkozas-gomb:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Animációk */
@keyframes listItemFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpSmooth {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(15px, 20px);
    }
}

/* Reszponzív beállítások */
@media (max-width: 992px) {
    .hero-text-container {
        padding: 2rem;
    }
    #miert-valassz .valaszto-kartya {
        padding: 2rem;
    }
    .velemenyek-section .velemeny-kartya {
        padding: 1.8rem;
    }
    .splide {
        max-width: var(--carousel-width-md);
        height: 450px;
    }
    .velemeny-kartya {
        height: 410px;
    }
    .carousel-controls {
        max-width: var(--carousel-width-md);
        gap: 1rem;
    }
    .custom-arrow {
        font-size: 1.1rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    .hero-text-container {
        padding: 1.8rem;
        margin: 0 15px;
    }
    #miert-valassz {
        padding: 4rem 0;
    }
    #miert-valassz h2 {
        font-size: 2rem;
    }
    #miert-valassz .valaszto-kartya {
        padding: 1.8rem;
    }
    #miert-valassz .valaszto-kartya h5 {
        font-size: 1.3rem;
    }
    .velemenyek-section {
        padding: 4rem 0;
    }
    .velemenyek-section h2 {
        font-size: 2rem;
    }
    .velemeny-szoveg {
        font-size: 1rem;
    }
    .splide {
        max-width: 100%;
        height: 500px;
    }
    .velemeny-kartya {
        height: 460px;
        width: 95%;
    }
    .carousel-controls {
        max-width: 100%;
        gap: 0.8rem;
    }
    .custom-arrow {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    #hero-logo {
        width: 80%;
    }
}