html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */

header {
  background: #0b3d5c;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.shrink {
  padding: 8px 0;
  background: rgba(11, 61, 92, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.logo img {
  height: 45px;
  transition: height 0.3s ease;
}

header.shrink .logo img {
  height: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* HAMBURGER */

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

nav {
  transition: all 0.4s ease;
}

/* MOBILE NAV */

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #0b3d5c;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }

  nav.active {
    max-height: 400px;
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
}

/* HERO */

.hero {
  background: url('../images/hero.jpg') no-repeat center center/cover;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
}

/* SECTIONS */

.section {
  padding: 20px 0;
}

.bg-light {
  background: #f4f4f4;
}

.highlight {
  background: #0b3d5c;
  color: white;
  text-align: center;
}

/* GRID */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1e88e5;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #1565c0;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
}

/* FORM */

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* FOOTER */

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* GALLERY GRID */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-item {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* LIGHTBOX */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  flex-direction: column;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-nav span {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

#prev {
  left: 40px;
}

#next {
  right: 40px;
}
/* SLIDESHOW */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 1600px;       /* optional max width for large screens */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background-color: black;
  margin: auto;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2s ease-in-out, transform 7s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  transform: scale(1.12);
  z-index: 1;
}

@media (max-width: 768px) {
  .slideshow {
    aspect-ratio: 4 / 3;
  }
}

/* Accordion */
/* Accordion animation */
.accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

    .accordion-body.open {
        grid-template-rows: 1fr;
    }

.accordion-inner {
    overflow: hidden;
}

/* Content area — shadow card style */
.accordion-content {
    margin-top: 0.75rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

/* Scroll-back link at bottom */
.accordion-scroll-back {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-size: 13px;
    color: #378ADD;
    cursor: pointer;
    padding-left: 0;
}

    .accordion-scroll-back:hover {
        opacity: 0.7;
    }

    .accordion-scroll-back .arrow-up {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-left: 2px solid #378ADD;
        border-top: 2px solid #378ADD;
        transform: rotate(45deg);
        position: relative;
        top: 2px;
    }
.accordion-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 17px;
    color: #2563eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 4px;
}

    .accordion-btn:hover {
        opacity: 0.7;
    }
.accordion-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    position: relative;
    top: -2px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-btn[aria-expanded="true"] .accordion-icon {
    transform: rotate(-135deg);
    top: 2px;
}