/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* ALGEMEEN */
.container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px;
    line-height: 1.6;
}

.event-list {
    margin-top: 0px;
    display: grid;
    gap: 15px;
}

.event {
    margin-left: 20px;
    margin-top: 0px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-left: 4px solid #006400;
    border-radius: 6px;
}

.event h4,
.event h2 {
    margin-top: 0;
    margin-botton: 0;
}

.event p {
    margin: 4px 0;
    margin-left:20px;
}

.event *:first-child {
    margin-top: 0 !important;
}

.callout {
    margin-left: 20px;
    padding: 10px 15px;
    border-left: 4px solid #006400;
    background: #f5f5f5;
    border-radius: 6px;
    font-style: italic;
}

.section-title {
    color: #006400;
    font-size: 16pt;
    font-weight: bold;
    margin-top: 20px;
}

.schedule {
    margin-left: 20px;
}

.schedule-item {
    margin-bottom: 8px;
}

/* ===== HEADER ===== */

#header {
	display: flex; 
    align-items: center;  
	justify-content: flex-start;
	padding: 10px 20px;
	gap: 20px;
}

.logo { 
	height: clamp(60px, 10vw, 140px);
} 

.right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;      
    gap: 10px;
    background-color: lightgrey;
    padding: 10px;
    flex: 1;  
}

.right h1 {
    margin: 0;
    font-size: 96px;
    text-align: center;
    font-family: "Georgia", serif;
    font-style: italic;
    font-weight: 700; /* bold */
    color: #0b3d1f; /* donkergroen */
    letter-spacing: 1px;
}

#dropdown {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    justify-content: center;
}

#dropdown li {
    display: flex;
}

#dropdown a {
    display: block;
    padding: 8px 14px;
    background: navy;
    color: yellow;
    text-decoration: none;
    font-style: italic;
    border-radius: 6px;
    transition: 0.2s;
}

#dropdown a:hover {
    background: #006400;
}

#menuToggle {
    display: none;
}

/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {

	#menuToggle {
    	display: flex;
    	flex-direction: row;
    	align-items: center;
    	gap: 6px;
    	padding: 0;
    	border: none;
    	background: none;
    	margin-left: auto;
    	margin-right: 8px;
    	cursor: pointer;
	}

	.menu-label {
    	font-size: 14px;
    	font-weight: bold;
   		color: blue;
	}

	.dots {
    	font-size: 18px;
   		color: blue;
    	line-height: 1;
    	font-weight: 900;
    	text-shadow: 0 0 0 black;
    	font-family: Arial, sans-serif;
	}

    #dropdown {
        display: none;
    }

    #dropdown.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: lightgrey;
        padding: 10px 0;
        z-index: 999;
        gap: 5px;
        align-items: center; 
    }

    #dropdown li {
        width: 100%;
        display: flex;
        justify-content: center; 
    }

    #dropdown a {
        width: 70%;        
        max-width: 300px;  
        text-align: center;
    }

    .right {
        position: relative; /* nodig als referentiepunt */
    }

    .right h1 {
        font-size: 24px;
    }
}

/* ===== FOOTER ===== */
#footer {
    margin-top: 0;
    padding-top: 0;
}

/* ===== HOME ===== */

#content {
    padding: 20px 20px 0 20px;
}

.content {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 6px
}

.home-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 20px;
    width: 100%; 
    max-width: 1100px;   /*  limiet */
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

/* contact blok */
.contact-box {
    position: relative;
    z-index: 1;
    min-height: 350px;
    margin: 0;
    background-image: url('data/images/danskoppel gpt.png');
    background-size: cover;
    background-position: 10% center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    padding-left: 10px;
}

@media (max-width: 768px) {
    .contact-box {
        min-height: 300px;
        background-position: center center;
    }
}

.contact-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;   
    pointer-events: none; 
}

.contact-box a {
    color: yellow;
    text-decoration: none;
    border-bottom: 1px solid yellow;
}

.contact-box a:hover {
    opacity: 0.8;
}

.page-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

/* ===== AGENDA ===== */
.agenda-btn {
    padding: 16px 24px;
    font-size: 16px;
    background-color: #006400;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}

.agenda-btn:hover {
    background-color: #008000;
}

.agenda-mobile { display: none; }

@media (max-width: 768px) {
  .agenda-desktop { display: none; }
  .agenda-mobile { display: block; }
}

.agenda-wrapper {
    max-width: 900px;
    width: 66%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
  .agenda-wrapper {
    width: 80%;
  }
}

.agenda-embed iframe {
    width: 100%;
    height: 600px;
    border: none;
}

@media (max-width: 768px) {
  .agenda-embed iframe {
    height: 300px;
  }
}

/* VIDEO */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 15px auto 0 auto;

    opacity: 0;
    transform: translateY(10px);

    max-height: 0;
    overflow: hidden;

    transition: opacity 0.8s ease, transform 0.5s ease, max-height 0.8s ease;
}

.video-container.visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 600px; /* genoeg voor 16:9 video */
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.video-selected {
    background-color: lightgreen;
}

.video-box {
    display: flex;
    background: #f2f2f2;
    padding: 15px;
    border-radius: 8px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;   
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.dance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .dance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DANSLES */
.teacher-card {
  display: flex;
  gap: 15px;
  max-width: 600px;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  align-items: center;
}

.teacher-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.teacher-names {
  margin: 0;
  font-size: 16px;
  color: #006400;
}

.teacher-text {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #333;
}

/* ===== INFO ===== */
.info-nav{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap:10px;
    margin-bottom:25px;
}

.info-nav a{
    display:block;
    padding:10px;
    background:#006400;
    color:white;
    text-decoration:none;
    border-radius:10px;
    text-align:center;
    font-weight:bold;
}

.info-nav a:hover{
    background:#008000;
}

.blink-icon{
    width:28px;
    height:28px;
    vertical-align:middle;
    margin-right:8px;
    animation:pulse 1.2s infinite;
}

@keyframes pulse{
    0%{transform:scale(1); opacity:1;}
    50%{transform:scale(1.25); opacity:0.6;}
    100%{transform:scale(1); opacity:1;}
}

.section{
    margin-top:40px;
    padding:20px;
    border-left:5px solid #006400;
    background:#f5f5f5;
    border-radius:10px;
}

h1{
    color:#003300;
    font-size:22px;
    margin-top:10px;
}

h2{
    color:#004d00;
    font-size:18px;
}

.top-link{
    float:right;
    font-size:12px;
}