
html {
  scroll-behavior: smooth;
}

body{
font-family: Arial, sans-serif;
margin:0;
background: linear-gradient(
    to right,
    #cfcfcf,
    #eeeeee 35%,
    #fafafa 50%,
    #eeeeee 65%,
    #cfcfcf
);
}

main {
    max-width: 1100px;
    margin: 0 auto;
}

/* HEADER */

header{
background-image:url("../images/header.jpg");
background-size:cover;
background-position:center;
color:white;
padding:150px 20px;
text-align:center;
position:relative;
}

header::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
}

header h1, header p{
position:relative;
z-index:1;
}

/* NAVIGATION */

nav{
background:#720000;
padding:15px;
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

/* SECTIONS */

section{
padding: 60px 20px;
border-bottom: 1px solid #ddd;
max-width:1200px;
margin:auto;
}

/* VIDEO GRID */
.video-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop */
  gap: 20px;
}

/* Tablet */
@media (max-width: 900px) {
  .video-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .video-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Very small */
@media (max-width: 400px) {
  .video-container {
    grid-template-columns: 1fr;
  }
}
video{
width:100%;
border-radius:8px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop */
  gap: 20px;
}

/* Tablet */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery img{
    width:100%;
    border-radius:8px;
    display:block;
}

.gallery.collapsed {
  max-height: 400px; /* desktop */
  overflow: hidden;
}

/* Smaller screens → show fewer images */
@media (max-width: 600px) {
  .gallery.collapsed {
    max-height: 200px;
  }
}

@media (max-width: 400px) {
  .gallery.collapsed {
    max-height: 150px;
  }
}
.video-container.collapsed {
  max-height: 400px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .video-container.collapsed {
    max-height: 200px;
  }
}

@media (max-width: 400px) {
  .video-container.collapsed {
    max-height: 150px;
  }
}

/* GALLERY BUTTON */

#toggleGallery, #videoToggleGallery {
margin-top:20px;
padding:10px 20px;
border:none;
background:#720000;
color:white;
border-radius:6px;
cursor:pointer;
font-weight:bold;
}

/* FOOTER */

footer{
background:#720000;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

/* LANGUAGE SWITCHER */

#languageSwitcher{
position:fixed;
bottom:20px;
right:20px;
padding:8px 12px;
font-size:14px;
border-radius:8px;
border:none;
box-shadow:0 4px 10px rgba(0,0,0,0.25);
z-index:999;
}