/*
Theme Name: Bowling Vereniging Venray
Author: Giel van Gorp
Version: 1.0
*/

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }

:root {
    --bg-color: #F0F0F0;
    --primary-color: #084C61;
    --secondary-color: #177E89;
    --gold: #FFC857;
    --red: #DB3A34;
    --font: "Roboto", serif;
    --nav-bg: #FFFFFF;
}

.font-condensed {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700; /* Black gewicht */
}

.text-gold{
    color: var(--gold) !important;
}

html, body{
    background-color: var(--bg-color);
    animation: fadeIn 1s forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

main{
    flex: 1;
}

.page-title {
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
}

.navbar-brand {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: bold;
    color: var(--secondary-color) !important;
}

.nav-link {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--gold);
}

footer {
    background-color: white;
    padding: 20px 0;
    text-align: center;
    color: var(--secondary-color);
}

footer span, footer a {
    color: var(--primary-color);
}

.rb {
    border: 1px solid red;
}

.sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.section-icon{
    height: 100%;
    max-height: 100px;
    aspect-ratio: 1 / 1;
}

.section-icon .circle{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
}

.section-icon .circle i, .section-icon .circle span{
    color: var(--secondary-color);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
}

.section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    min-height: 125px;
    height: auto;
}

.section-content {
    font-family: var(--font);
    position: relative;

    display: flex;
    align-items: left;
    justify-content: start;
    flex-direction: column;
    height: 100%;
}

.section-content .section-title{
    color: var(--primary-color);   
}

.section-content .section-info, .section-content .section-link{
    color: var(--secondary-color);   
}

.section-content .section-info {
    padding-bottom: 40px;
    font-size: clamp(.8rem, 1vw, 1rem);
}

.section-content .section-link {
    position: absolute;
    bottom: 0;
    right: 0;
    text-decoration: none;
    font-size: clamp(.8rem, 1vw, 1rem);
    font-weight: bold;
}

.section-link::before:not(p) {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 2px;
    width: 0;
    left: 0;
    transition: .5s;
    background: var(--secondary-color);
}

.section-link:hover::before:not(p) {
    width: 100%;
}


.f-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    .sections {
        grid-template-columns: 1fr; /* Zorg ervoor dat er slechts één kolom is */
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .sections {
        grid-template-columns: 1fr; /* Zorg ervoor dat er slechts één kolom is */
    }

    .section {
        height: auto;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .section-icon {
        width: min(100px, 20%)
    }

    .section-content {
        align-items: center; /* Centreer de tekstinhoud */
        text-align: center; /* Zorg dat de tekst gecentreerd is */
    }

    .section-content .section-link {
        position: static; /* Zet de link onderaan de inhoud zonder absolute positionering */
        margin-top: 10px; /* Voeg ruimte boven de link toe */
        font-size: 1rem
    }
}

.enroll-container label {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700; /* Black gewicht */
}

.enroll-container .submit-btn {
    background: var(--secondary-color);
    font-family: var(--font);
    color: white;
    border-radius: 10px;
    border: none;
    height: 45px;
}

a {
    color: var(--secondary-color);
    font-family: var(--font);
}

.table-container table > thead th {
    background: var(--secondary-color);
    color: white;
}

table a {
    color: var(--secondary-color);
    font-family: var(--font);
    display: block;
}

.tournament-details-container p{
    padding: 0 !important;
    margin: 0 !important;
}

.read-more-cell {
    display: none;
}

@media (max-width: 768px) {
    .read-more-cell {
        display: none;
    }

    table {
        font-size: .8rem;
    }
}

.image-slider {
    position: relative;
    overflow: hidden;
}

.image-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.image-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay stijlen */
.black-cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* optioneel voor donkere overlay */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

.header-content {
    z-index: 3;
}

.disable-input {
    pointer-events: none;
    background-color: #e9ecef; /* Bootstrap's standaard disabled kleur */
    opacity: 0.65; /* Zorgt voor een visueel 'disabled' effect */
}

[role='tablist'] .nav-link {
    font-size: clamp(.9rem, 2.4vw, 1rem) !important; /* Kleiner lettertype */
    padding: 0.3rem 0.75rem; /* Minder verticale en horizontale ruimte */
}
