body {
  margin: 0;
  background-color: white;
  color: black;
  font-family: Georgia, serif;
  text-align: center;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #fff;
  border-bottom: 4px solid black;
  padding: 20px 40px;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

nav a {
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: black;
  padding: 6px 10px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover {
  border-bottom: 3px solid red;
  color: #0033a0;
}

main {
  flex-grow: 1;
  max-width: 700px;
  margin: 80px auto;
  padding: 0 20px;
  background: white;
  position: relative;
  z-index: 2;
  text-align: left; 
}

h1 {
  font-family: Helvetica, Arial, sans-serif;
  color: #0033a0;
  border-bottom: 6px solid #ffcc00;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 24px;
  width: 100%; 
  text-align: center; 
}

.hero-image {
    margin-bottom: 30px; 
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border: 5px solid black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer; 
}

.carousel {
  position: relative;
  width: 600px;        
  height: 450px;
  margin: 0 auto;
  overflow: hidden;    
}

.carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   
  display: none;       
  transition: opacity 0.6s ease;
}

.carousel .slide.active {
  display: block;   
}


.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 3px solid black;
  border-radius: 50%;
  background-color: white;
  color: black;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 #000;
   z-index: 5;
}

.carousel button:hover {
  background-color: #ff0000;
  color: white;
  box-shadow: 0 0 0 #000;
  transform: translateY(-50%) scale(1.1);
}

#prev { left: 10px; }
#next { right: 10px; }

#lightbox {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

#lightbox img {
  margin: auto;
  display: block;
  max-width: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 45px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.line-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100vh;
  background: red;
}

.line-blue {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100vh; 
  background: #0033a0;
}

.line-yellow {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 10px;
  background: #ffcc00;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.gallery img {
  max-width: 80%;
  height: auto;
  border: 8px solid black;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.accordion {
    margin-top: 30px;
    border: 3px solid #0033a0;
    border-radius: 8px;
    padding: 5px;
}

.accordion-item {
    margin-bottom: 5px;
    border: 2px solid black;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background-color: #ffcc00; 
    color: black;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    outline: none;

    display: flex;
    align-items: center;
    height: 60px;

    transition: background-color 0.3s ease, color 0.3s ease;
}


.accordion-header:hover {
    background-color: #ff0000;
    color: white;
}


.accordion-header.active {
    background-color: #0033a0; 
    color: white;
}


.accordion-content {
    display: none; 
    padding: 15px 20px;
    background-color: white;
    border-top: 2px solid black;
}

.accordion-content p {
    margin: 0 0 12px;
    line-height: 1.6;
}



footer {
  margin-top: auto; 
  width: 100%;
  background-color: #ffcc00;
  color: black;
  padding: 20px 0;
  border-top: 4px solid black;
  font-family: Helvetica, Arial, sans-serif;
}
