/* Farbvariablen */
:root {
  --light-beige: #D6B896;
  --brown: #714E3A;
}

/* Grundstil */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Birthstone', sans-serif;
    height: 100%;
    background-color: #ece2d6;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 0 1rem;
    z-index: 1000;
    font-size: 2rem;
    background-color: #ece2d6;
    width: 100%;          
    height: 100px;
}

.navbar a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Alle Links standardmäßig sichtbar auf Desktop */
.navbar > a {
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Logo Größe */
.navbar .logo {
    width: 150px;
    height: auto;
}

/* ----------- BURGER BUTTON ----------- */
.burger {
    display: none; /* Desktop: unsichtbar */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-section {
  padding: 1.2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
}


/* Karten */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s;
}

.card-link:hover {
  transform: scale(1.03);
}

.card {
  position: relative;
  height: 402px;
  border:#642226 3.5px solid;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-jerry-aisha {
  object-position: center 30%;
}

.img-david {
    object-position: center 10%; /* zeigt den oberen Bereich des Bildes */
}


/* Titel im unteren Drittel */
.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 23%;
  background-color: rgba(113, 78, 58, 0.8); /* brauner Balken */
  color: var(--light-beige);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

/* Contact Section */
.contact-section {
  text-align: center;
  margin-top: 0.2rem;
}

.contact-text {
  font-size: 6rem;
  font-weight: 400;
  color: #27466A;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-button {
  background-color: var(--brown);
  color: #D6B896;
  padding: 0.5rem 3.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-family: birthstone, cursive;
  font-size: 2rem;
  text-decoration: none;
}

.contact-button:hover {
  background-color: #642226;
}



/* =========  Multimedia Award 2025 ========= */

/* HERO SECTION */
.event-hero {
 padding: 5rem 2rem 2rem;
}

.event-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.event-title {
  font-family: 'Birthstone', cursive;
  font-weight: 400;
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: #642226;
}

.event-description {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.event-interest {
  font-family: 'Birthstone', cursive;
  font-size: 2.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #642226;
}

/* Button */
.event-button {
  display: inline-block;
  background-color: var(--brown);
  color: var(--light-beige);
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-family: 'birthstone', sans-serif;
  font-size: 1.3rem;
}

/* EVENT INSIGHT */
.event-insight {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Birthstone', cursive;
  font-size: 4rem;
  text-align: center;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #642226;
}

/* Video */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 3rem;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* =========  EHC Arosa  ========= */

:root {
  --dark-blue: #27466A;
  --wine-red: #642226;
  --brown: #7a4a2e;
  --light: #f5efe8;
}

/* HERO */
.event-hero {
  padding: 6rem 2rem 4rem;
}

.event-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; 
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}


.hero-video video {
  width: 100%;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}

/* Text */
.event-title {
  font-family: 'Birthstone', cursive;
  font-size: 4.5rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.event-description {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.event-interest {
  font-family: 'Birthstone', cursive;
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

/* Button */
.event-button {
  display: inline-block;
  background-color: var(--brown);
  color: var(--light-beige);
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-family: 'Birthstone', cursive;
  font-size: 1.4rem;
}

/* INSIGHT */
.event-insight {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Birthstone', cursive;
  font-size: 4rem;
  text-align: center;
  color: var(--dark-blue);
  margin-bottom: 3rem;
}

/* Grid */
.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Video */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Carousel */
.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scroll 10s linear infinite;
}

.carousel img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



/* =========  Eurovision  ========= */
/* ZOOM MODAL */ 
.zoom-modal { 
  display: none; 
  position: fixed; 
  z-index: 2000; 
  padding-top: 60px; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.9); 
}

.zoom-modal-content { 
  margin: auto; 
  display: block; 
  max-width: 90%; 
  max-height: 90%; 
} 
.close { 
  position: absolute; 
  top: 30px; 
  right: 40px; 
  color: #fff; 
  font-size: 3rem; 
  font-weight: bold; 
  cursor: pointer; 
}



/* =========  Jerry & Aisha  ========= */

.event-hero-grid .event-image img {
    width: 90%; 
    height: 60%; 
    max-width: 500px; 
    margin: 0 auto; 
    display: block;
}


/* ========= Car Rouge  ========= */

.car-rouge-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Video breiter, Text rechts schmaler */
    gap: 4rem;
    max-width: 1200px;
    margin: 5rem auto;
    align-items: start; /* Text oben ausrichten */
}

.car-rouge-hero-grid .event-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: -4.8rem;
}

.car-rouge-hero-grid .event-image {
    display: block; /* wichtig, dass Grid die Höhe erkennt */
}


.car-rouge-hero-grid .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Verhältnis */
}

.car-rouge-hero-grid .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.event-button {
    padding: 0.5rem 1.5rem; /* kleinerer Abstand innen */
    font-size: 1.7rem;       /* kleinere Schrift */
}
/* =========  Feuerwehr Wuernlos  ========= */

.feuerwehr-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Video breiter, Text rechts schmaler */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start; /* Text oben ausrichten */
}

.feuerwehr-hero-grid .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Verhältnis */
}

.feuerwehr-hero-grid .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feuerwehr-hero-grid .event-content {
    align-self: start; /* Text oben */
    margin-top: -4rem; /* feinjustierung, je nach gewünschtem Versatz */
}


/* =========  FOOTER  ========= */
.footer {
  background-color:  #ece2d6;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 40px; /* Abstand fein steuerbar */
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 1rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: 'Birthstone', cursive;
  color: #642226;
}

.footer-nav.left {
  justify-content: flex-start;
}

.footer-nav.right {
  justify-content: flex-end;
}

.footer-nav a {
  text-decoration: none;
  color: var(--red);
  font-size: 1.7rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* Social Logos */
.socials {
  display: flex;
  gap: 18px;
}

.socials img {
  width: 88px;
  transition: transform 0.3s ease;
}

.socials a:hover img {
  transform: translateY(-3px);
}

/* Copyright */
.footer .copyright {
  font-family: 'Birthstone', cursive;
  color: var(--red);
  font-size: 1.1rem;
}

/* =========  RESPONSIVE  ========= */

/*Header*/

@media (max-width: 768px) {

    /* Navbar vertikal, linksbündig */
    .navbar {
        flex-direction: column;
        align-items: flex-start; /* alles linksbündig */
        padding: 1rem;
        gap: 0.5rem;
        justify-content: flex-start; /* Burger oben links */
    }

    /* Burger sichtbar */
    .burger {
        display: flex;
        order: -1;       /* zuerst im Flex */
        margin-bottom: 1rem;
        cursor: pointer;
    }

    /* Logo zentriert unter Burger */
    .navbar .logo {
        margin: 0 auto 1rem auto;
        width: 120px;
    }

    /* Alle Links außer Logo ausblenden, wenn Menü geschlossen */
    .navbar > a:not(.logo) {
        display: none;
    }

    /* Menü offen: Links erscheinen alle linksbündig */
    .navbar.menu-open > a {
        display: block !important; /* wichtig: überschreibt display:none */
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        background-color: #ece2d6;
        font-size: 1.8rem;
    }
}

/* Portfolio Grid Anpassung */
@media(min-width:768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .event-hero-grid {
    grid-template-columns: 1fr;
  }

  .event-title {
    font-size: 3.2rem;
  }
}

/* Ehc Arosa */
@media (max-width: 768px) {
  .insight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .carousel-track {
    animation-duration: 18s;
  }

  .carousel img {
    width: 240px;
    height: 160px;
  }
}


/* Opernreise Car Rouge */
/* ====================== CAR ROUGE RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .car-rouge-hero-grid {
    gap: 3rem; /* weniger Abstand zwischen Video und Text */
  }

  .event-title {
    font-size: 4rem; /* Text etwas kleiner für Tablets */
  }

  .event-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .event-interest {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .car-rouge-hero-grid {
    grid-template-columns: 1fr; /* Video über Text */
    gap: 2rem;
  }

  .video-wrapper {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Verhältnis */
  }

  .car-rouge-hero-grid iframe {
    width: 100%;
    height: 100%;
  }

  .event-title {
    font-size: 3.2rem;
  }

  .event-description {
    font-size: 1.1rem;
  }

  .event-interest {
    font-size: 1.8rem;
  }

  .event-button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .event-title {
    font-size: 2.6rem;
  }

  .event-description {
    font-size: 1rem;
  }

  .event-interest {
    font-size: 1.6rem;
  }

  .event-button {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Feuerwehr Wuernlos */
/* =========  Feuerwehr Würenlingen Responsiv ========= */

@media (max-width: 1024px) {
    /* Hero Grid anpassen */
    .feuerwehr-hero-grid {
        grid-template-columns: 1fr; /* Video oben, Text unten */
        gap: 2rem;
        padding: 2rem;
    }

    /* Textgrößen anpassen */
    .feuerwehr-hero-grid .event-title {
        font-size: 3.5rem;
        text-align: center;
    }

    .feuerwehr-hero-grid .event-description {
        font-size: 1.2rem;
        text-align: center;
    }

    .feuerwehr-hero-grid .event-interest {
        font-size: 2rem;
        text-align: center;
    }

    .feuerwehr-hero-grid .event-button {
        display: block;
        margin: 1.5rem auto 0 auto;
        text-align: center;
        font-size: 1.3rem;
    }

    /* Video Wrapper */
    .feuerwehr-hero-grid .video-wrapper {
        padding-top: 56.25%; /* 16:9 Verhältnis */
        width: 100%;
    }

    .feuerwehr-hero-grid .video-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

/* Optional: kleinere Mobilgeräte (<480px) */
@media (max-width: 480px) {
    .feuerwehr-hero-grid .event-title {
        font-size: 2.8rem;
    }

    .feuerwehr-hero-grid .event-description {
        font-size: 1rem;
    }

    .feuerwehr-hero-grid .event-interest {
        font-size: 1.8rem;
    }

    .feuerwehr-hero-grid .event-button {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
    }
}


/* Footer */
@media (max-width: 768px) {

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* alles zentriert */
        gap: 1rem;
        padding: 1rem;
    }

    /* Footer-Navigation ausblenden */
    .footer-nav {
        display: none;
    }

    /* Social-Icons zentrieren */
    .socials {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    /* Copyright zentriert */
    .footer .copyright {
        text-align: center;
        margin-top: 0.5rem;
    }
}