/* Standard reset og box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Navigation styling */
nav {

    padding: 20px;
    color: rgb(255, 255, 255);
}

nav h1 {
    font-size: 2rem;
}

      /* Burgermenu */

.menu-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  z-index: 999;
}

.burger {
  width: 2rem;
  color: #ddb982;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 1.375rem;
  cursor: pointer;
}

.burger span {
  height: 0.1875rem;
  background: #6f5e3f;
  border-radius: 0.5rem;
  transition: 0.2s ease;
}

.dropdown {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 0.4rem 0;
  border: 0.0625rem solid #ddd;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.1);
  min-width: 9.375rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.3125rem);
  transition: 0.2s ease;
}

.dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
    z-index: 999;
}

.dropdown a {
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  background: #fafafa;
}

.dropdown a:hover {
  background: #ddb982;
}

/* Section styling - hver sektion får sin egen farve */
section {
    padding: 40px 20px;
    min-height: 300px;
}

section:nth-child(2) {
    background-color: rgb(255, 182, 193);
    color: rgb(50, 50, 50);
}

section:nth-child(3) {
    background-color: rgb(173, 216, 230);
    color: rgb(50, 50, 50);
}

section:nth-child(4) {
    background-color: rgb(221, 160, 221);
    color: rgb(50, 50, 50);
}

.museum-logo {
    max-width: 300px;
    height: auto;
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0;
}

.herosektion{
background-image: url('billeder/hero-billede.avif');
background-size:cover;
background-position: center;
background-repeat: no-repeat;
min-height: 100vh;}


 /* Louises del */

.billet-sektion {
    min-height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.3)),
                url("billeder/bus.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 80px;
    color: #f8fafc;
}
/* BILLET KORT */

.billet-simulator {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(14px);
  padding: 50px 40px;
  border-radius: 20px;
  width: 380px;
  text-align: center;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);

  color: #1e293b;
}



/* OVERSKRIFT */

h2 {
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 30px;
}


/* DROPDOWN */

select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  margin-bottom: 25px;
  font-size: 14px;
}


/* PLUS / MINUS */

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}

button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  background-color: #334155;
  color: white;
  transition: 0.2s ease;
}

button:hover {
  background-color: #475569;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* ANTAL */

#antal {
  font-size: 26px;
  font-weight: bold;
  min-width: 30px;
}


/* TOTAL */

#total {
  font-weight: bold;
  font-size: 18px;
}


/* RABAT BESKED */

#besked {
  margin-top: 15px;
  color: #2d2c2a;
  font-size: 14px;
}

.baggrundsbillede {
  background-image: url("bus.png");
  background-size: cover; 
  background-position: center; 

  text-decoration: none; 
}




 /* Sarahs del */

 /* Overordnet sektion */
.galleri-section {
  background-color: #f4a9bb;
  padding: 40px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wrapper til hele galleriet */
.galleri-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  gap: 10px;
}

/* Knapper container */
.galleri-knapper {
  display: flex;
  gap: 10px;              
  justify-content: flex-start;
  width: 100%;
}

/* Knapper styling */
.galleri-knapper button {
  font-size: 24px;
  cursor: pointer;
}

/* Synligt område */
.galleri-viewport {
  width: 100%;
  overflow: hidden;
}

/* Track som bevæger sig */
.galleri-track {
  display: flex;
  gap: 20px;  /* Afstand mellem billederne */
  transition: transform 0.5s ease;
}

/* Hvert billede + tekst som en blok */
.galleri-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;   /* Gør, at elementet ikke krymper */
  max-width: 400px;  /* Samme som før – JS bruger offsetWidth + 20 */
}

/* Billeder */
.galleri-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tekst under billedet */
.galleri-overskrift {
  margin-top: 20px;
  font-size: 24px;
  color: #000;
  text-align: left;
}

.galleri-tekst {
  font-size: 16px;
  color: #000;
  text-align: left;
}

/*Rikkes del*/
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 50px;
    background-color: #f4f4f4;
    font-family: Arial, sans-serif;
    color: #2d5649;
}
.content-left {
    padding: 20px;
}
h1 {
    font-family: Arial, sans-serif;
    color: #2d5649;
    font-size: xx-large;
}
#tids-oversigt {
    margin: 20px 0;
    line-height: 1.6;
    color: #ffffff;
}
.tid-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #2d5649;
    background:  #2d5649;
    cursor: pointer;
    transition: 0.3s;
}
.tid-btn:hover {
    background: rgb(255, 182, 193);
    color: black;  
}
.image-right {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.find-rute-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #2d5649;
    background:#2d5649 ;
    cursor: pointer;
    transition: 0.3s;
}
.find-rute-btn:hover {
    background: rgb(255, 182, 193);
    color:black;
}

@media (max-widht: 648px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    .image img {
        min-height: 300px;
    }
}