/* Theme variables */
:root {
    --bg-color: #ffffff;
    --text-color: #4a4a4a;
    --navbar-bg: rgba(54, 54, 54, 0.85);
    --navbar-blur: blur(10px);
    --link-color: #0060df;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e4e4e4;
    --navbar-bg: rgba(38, 38, 38, 0.85);
    --link-color: #66a3ff;
}

/* Hero color customization */
.hero.is-info {
    background-color: #0060df;
}

.hero.is-info .title,
.hero.is-info .subtitle {
	 color: #ffffff;
}

/* Video container styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

/* Sticky navbar styles */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar.is-dark {
    background-color: var(--navbar-bg);
    backdrop-filter: var(--navbar-blur);
    -webkit-backdrop-filter: var(--navbar-blur);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add a pseudo-element for fallback in browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .navbar.is-dark {
        background-color: #363636;
    }

    [data-theme="dark"] .navbar.is-dark {
        background-color: #262626;
    }
}

.carousel {
	overflow: hidden;
}

.carousel-container {
	transition: transform ease-in-out;
}

.carousel-item {
	position: relative;
}

.carousel-item img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.carousel-item .title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	margin: 0;
	text-align: center;
}

.card-header-title {
	/* position: relative; */
	z-index: 10;
}
