/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Encode+Sans+Condensed:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --narada-color: #BEA429;
    --narada-color-darker: #cc9933;
    --text-color-dark: #333333;
    /*--text-color-dark: #333333;*/
    --text-color-light: #515157;;
    --bg-arany: rgba(190, 164, 41, 0.1);
}

html, body {
    height: 100%;
    width: 100%;
    background-color: white;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

p {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgb(81, 81, 87);
    margin: 15px 0;
    line-height: 1.6;

}

h1, h2, h3, h4, h5, h6 {
    font-family: "Didact Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 15px;
    color: var(--narada-color);
    text-transform: uppercase;
    line-height: 1.3em;
}

.heading {
    font-family: "Didact Gothic", sans-serif;
    font-weight: 400;
    font-size: 24px;
    font-style: normal;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.3em;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

a {
    color: var(--narada-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #214a60;
}

label.required:after {
    content: " *";
}

ol,ul {
   list-style-position: outside;
}

.floral {
    background-image: url("../images/topography-o-0hXY9.png");
    background-color: white;
    box-shadow: inset 0 -7px 30px -7px rgba(0, 0, 0, 0.07);
    border-top: 1px solid rgba(190, 164, 41, 0.5);
    margin-bottom: 75px;
}


/* Tables */
.orarend-table {
    width: 100%;
    margin: 0 auto;
    background-color: #f8f8f8;
}

.esemeny-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--narada-color);
    margin: 0 auto;
    background-color: #f8f8f8;
}

.esemeny-table td {
    border: 1px solid var(--narada-color);
    text-align: left;
    padding: 10px;
}

.esemeny-table td:nth-child(1),
.esemeny-table td:nth-child(2),
.esemeny-table td:nth-child(3),
.esemeny-table td:nth-child(4) {
    width: 20%;
}

.cancelled {
    text-decoration: line-through;
    opacity: 0.6; /* opcionális: halványítás */
}
/* Buttons */
.btn {
    border-radius: 0 !important;
}

.btn-narada {
    background-color: var(--narada-color);
    border: var(--narada-color) 1px solid;
    color: white;
}

.btn-narada:hover,
.btn-outline:active,
.btn-outline:focus,
.btn-outline.active {
    background-color: var(--narada-color-darker);
    color: white;
}

.btn-outline-narada {
    color: var(--narada-color);
    background-color: #ffffff;
    border-color: var(--narada-color);
    font-weight: bold;
}

.btn-outline-narada:hover,
.btn-outline-narada:active,
.btn-outline-narada:focus,
.btn-outline-narada.active {
    background: var(--narada-color);
    color: #ffffff;
    border-color: var(--narada-color);
}

/* Pagination */
ul.pagination .page-item .page-link {
    color: var(--narada-color);
}

ul.pagination .active .page-link {
    color: white;
    background-color: var(--narada-color);
    border-color: var(--narada-color-darker);
}

.pagination_column_header a {
    color: var(--narada-color) !important;
}

.pagination_column_header span {
    float: none !important;
}

/* App Frame */
.narada-app-frame {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    color: black;
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.top-content {
    padding-top: 110px;
}

.navbar {
    background-color: white;
    opacity: 0.9;
}

.navbar-brand img {
    height: 80px;
}

.nav-link {
    color: #333333;
    background-color: white;
    font-family: 'Encode Sans Condensed', sans-serif !important;
    font-weight: 400;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    line-height: 20px;
    border: 3px solid white;
    padding: 15px;
    border-radius: 0;
}

.nav-link:hover {
    border: 3px solid white;
}

.nav-link:hover:not(.dropdown-toggle) {
    border: 3px solid var(--narada-color);
    border-radius: 0;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    font-size: 13px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content;
}

.dropdown-menu .dropdown-item:hover {
    background: var(--narada-color);
    color: white;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid var(--narada-color);
}

.nav-item.hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: 3px solid var(--narada-color);
    border-radius: 0;
}

/* Page Title */
.page_title {
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* CKEditor */
.img-float-left {
    float: left;
    padding-right: 20px;
}

/* Custom Plugin */
.hibutton-plugin {
    margin-bottom: 5px;
}

/* Gallery */
.gallery-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidemenu / Courses */
.sidemenu ul, .courses ul {
    text-transform: uppercase;
}

.sidemenu .nav-link:hover,
.courses .nav-link:hover {
    color: white;
    background-color: var(--narada-color);
}

/* video index */
.video-thumb {
    /*aspect-ratio: 16 / 9;*/
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.video-thumb:hover {
    transform: scale(1.05);
}
.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-thumb:hover .video-overlay {
    opacity: 1;
}
.play-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}
.video-thumb:hover .play-icon {
    transform: scale(1.5);
}
.video-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    min-height: calc(1.2em * 2);
    color: var(--narada-color);
}

#hero {
    position: relative;
    overflow: hidden;
}
#hero video {
    width: 100%;
    max-width: 100%;
}

/* Album */
.album-cover {
    position: relative;
    overflow: hidden;
}
.album-cover .hover {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* ------------- */
    color: white !important;
    position: absolute;
    left: 50%;
    top: 50%;
    height: 200px;
    width: 200px;
    -webkit-border-radius: 200px;
    -khtml-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;
    line-height: 200px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    text-transform: uppercase;
    font-family: 'Didact Gothic', sans-serif;
}
.album-cover:hover .hover {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    filter: alpha(opacity=100);
}
.album-title {
    text-align: center;
    margin: 0;
    padding: 15px;
    background: url('/album-images/bg-arany.jpg');
    background-size: cover;
    font-size: 21px;
    color: #41380e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.thumb {
    border: 1px solid var(--narada-color-darker);
    max-height: 500px;
}

/* Player */
.playlist {
    list-style: none;
    background: #f6f6f6;
    border-top: 1px solid #ddd;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    margin: 0 auto;
    width: 100%;
}

/* Playlist items */
.playlist li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}
/* Last item border fix */
.playlist li:last-child {
    /*border-bottom: none;*/
    padding-bottom: 10px;
}
/* Hover effect */
.playlist li:hover {
    color: var(--narada-color);
}
/* Active/current playing item */
.playlist li.active {
    font-weight: bold;
    color: var(--narada-color-darker);
    border-left: 4px solid var(--narada-color);
    padding-left: 8px; /* adjusted for border */
}
/* Optional icon before each item (like a play symbol) */
.playlist li::before {
    content: '♪';
    margin-right: 10px;
    color: var(--narada-color);
    font-weight: normal;
    transition: color 0.3s ease;
}
/* Active item icon color */
.playlist li.active::before {
    color: var(--narada-color-darker);
}
.custom-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 0;
    max-width: 600px;
    margin: 1rem auto;
    width: 100%;
    box-sizing: border-box;
}
.progress-container {
    width: 100%;
    height: 20px;
    background: #ddd;
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: var(--narada-color-darker);
    transition: width 0.2s ease;
}
.controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: auto;
    align-items: center;
}
.controls button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.2s ease;
}
.controls button:hover {
    color: var(--narada-color-darker);
}
.volume-wrapper {
    display: none;
    align-items: center;
    flex-grow: 1;
    min-width: 0;
}
.volumeControl {
    max-width: 40px;
}
.time-display {
    font-family: monospace;
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.25rem;
}

/* events */
.event-col:first-child {
    flex: 4 1 0;
}
.event-col:nth-child(2) {
    flex: 4 1 0;
}
.event-col:last-child {
    flex: 2 1 0;
}
.event-row {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.btn-reg {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    border: 3px solid var(--narada-color);
    box-shadow: none !important;
    padding: 10px 10px;
    min-width: fit-content;
    transition: all 0.3s ease;
}
.btn-reg:hover {
    color: white !important;
    border: 3px solid var(--narada-color-darker);
    background-color: var(--narada-color);
    font-weight: 600;
}
.narada-badge {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}
.narada-badge-active {
    background-color: var(--narada-color, #f77e21);
    border-color: var(--narada-color, #f77e21);
}

/* event show */
.event-details-box {
    font-family: "Didact Gothic", sans-serif;
}

.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.responsive-iframe-container iframe,
.responsive-iframe-container object,
.responsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* === Mobile Styles === */
@media (max-width: 992px) {
    html {
        scroll-padding-top: 0;
    }
    .navbar {
        background-color: white;
    }
    .navbar-toggler {
        border-color: transparent;
    }
    .navbar-toggler-icon {
        background-color: transparent;
        border: none;
    }
    .navbar-collapse {
        background-color: white;
        padding-left: 0;
        padding-right: 0;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .dropdown-menu {
        display: none;
        background-color: white;
        border: none;
        box-shadow: none;
        max-height: 60vh;
        overflow-y: auto;
        left: 0 !important;
        transform: translateX(0%) !important;
        margin-top: 0 !important;
        margin-right: 10px;
    }
    .dropdown-menu::before {
        display: none;
    }
    #hero {
        display: none !important;
    }
    #mobileSlider {
        display: block !important;
    }
    .hero h1,
    .hero p {
        font-size: 1.25rem;
    }
    .keptar [class*="col-"] {
        padding: 5px 15px;
        text-align: center;
    }
    .keptar [class*="col-"] img {
        width: 100%;
    }
    .keptar-3 .col-sm-4:first-child,
    .keptar-3 .col-sm-4,
    .keptar-3 .col-sm-4:last-child {
        text-align: center;
    }
    .keptar-3 .col-sm-4 img {
        width: 280px;
        margin-bottom: 15px;
    }
    .keptar-3 .col-sm-4:first-child {
        padding-right: 15px;
    }
    .keptar-3 .col-sm-4:last-child {
        padding-left: 15px;
    }
    .gallery-item {
        margin-bottom: 30px;
        transition: transform 0.3s ease;
    }
    .gallery-item:hover {
        transform: scale(1.03);
    }
    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    .playlist {
        max-width: 100%;
    }
    .playlist li {
        font-size: 13px;
        padding: 10px 14px;
    }
    .volumeControl {
        display: none;
    }
    .event-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .event-col {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .event-col:not(:last-child) {
        margin-bottom: 1rem;
    }
}
@media (max-width: 767.98px) {
    footer.d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    footer .nav {
        justify-content: center !important;
        margin-bottom: 1rem;
    }

    footer .nav li {
        margin: 0 0.75rem;
    }

    footer .d-flex.align-items-center {
        flex-direction: column;
        line-height: 1.7;
        margin-top: 1rem;
    }
}
