/* =========================================================
   GLOBAL STYLES
   ========================================================= */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
}

.site {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fffef5;
  border-bottom: 3px solid #d6c59e;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.brand-text h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.2rem;
  text-align: center;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list li {
  position: relative;
}

.nav-list a,
nav a,
.dropbtn {
  margin-left: 1rem;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.nav-list a:hover,
.dropbtn:hover {
  background: #f2e8c9;
  color: #000;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background-color: #fffef5;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #d6c59e;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f2e8c9;
  color: #000;  
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #000;
}

/* =========================================================
   BURGER MENU (Mobile Navigation)
   ========================================================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 6px;
  transition: none;
}

.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
  background: transparent !important;
  outline: none;
  box-shadow: none;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  background-color: #444;
  height: 2px;
  width: 24px;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -7px;
}

.burger::after {
  top: 7px;
}

/* --- Active burger (X) --- */
.nav-toggle.active .burger {
  background-color: transparent;
}

.nav-toggle.active .burger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .burger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (hover: none) {
  .nav-toggle:hover {
    background: transparent;
  }
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand:hover,
.brand:focus {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   RESPONSIVE HEADER & NAVIGATION
   ========================================================= */

@media (min-width: 1200px) {
  header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    padding: 1rem 2rem;
  }

  nav.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none; 
  }
}

@media (max-width: 1199px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    position: sticky;
    overflow-x: hidden;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 1100;
  }

  nav.nav {
    display: none;
    width: 100%;
    background: #fffef5;
    border-top: 1px solid #d6c59e;
    margin-top: 1rem;
    padding: 1rem 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 12px 12px;
    overflow-x: hidden;
  }

  nav.nav.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .nav-list > li {
    position: relative;
    width: 100%;
  }

  .nav-list a,
  .nav-list .dropbtn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.9rem 1.2rem;
    text-align: left;
    box-sizing: border-box;
    border-radius: 6px;
    transition: background 0.3s ease;
    color: #444;
    overflow-x: hidden;
  }

  .nav-list a:hover,
  .nav-list .dropbtn:hover {
    background: #f2e8c9;
  }

  /* --- Dropdown Menü --- */
  .dropdown-content {
    display: none;
    position: static;
    background: #fffef5;
    border: 1px solid #d6c59e;
    border-radius: 8px;
    padding: 0.4rem 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;

    max-height: calc(5 * 2.75rem + 0.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .dropdown-content::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown-content::-webkit-scrollbar-thumb {
    background-color: #d6c59e;
    border-radius: 4px;
  }

  .dropdown-content::-webkit-scrollbar-track {
    background: #f9f8f0;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    text-align: left;
    color: #333;
    text-decoration: none;
    transition: background-color 0.25s ease;
    border-radius: 6px;
  }

  .dropdown-content a:hover {
    background: #f2e8c9;
    color: #000;
  }
}

@media (max-width: 600px) {
  .nav-list {
    grid-template-columns: 1fr;
  }

  .nav-list a,
  .nav-list .dropbtn {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }

  .dropdown-content a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: row;         
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;        
  }

  .brand {
    flex-direction: row;         
    align-items: center;
    gap: 0.5rem;                 
  }

  .brand-logo {
    width: 42px;                 
    height: auto;
  }

  .brand-text h1 {
    font-size: 1.1rem;           
  }

  .brand-subtitle {
    font-size: 0.75rem;          
  }

  .nav-toggle {
    position: relative;          
    top: auto;
    right: auto;
    margin-left: auto;           
    padding: 0.4rem;
  }

  .burger,
  .burger::before,
  .burger::after {
    width: 20px;                 
  }
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 3rem auto;
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden; 
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; 
  object-position: center;
  filter: brightness(70%);
}

.hero-banner-text {
  position: absolute;
  inset: 0; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fffef8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  pointer-events: none;
}

.hero-banner-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0;
}

.hero-banner-text p {
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin-top: 0.5rem;
}

/* --- Responsive refinements --- */
@media (max-width: 900px) {
  .hero-banner {
    margin: 1.5rem auto 2.5rem auto;
  }

  .hero-banner-img {
    object-fit: cover;
  }
}

/* =========================================================
   INTRO SECTION
   ========================================================= */
.intro {
  padding: 4rem 2rem;
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.intro-text {
  flex: 1 1 50%;
  text-align: center;
}

.intro-text h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.intro-image {
  flex: 1 1 45%;
  text-align: center;
}

.intro-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   LINKS
   ========================================================= */
a {
  color: #8b7a4f;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #b89d5a;
  text-decoration: underline;
}

/* =========================================================
   GLOBAL HR / SECTION DIVIDER
   ========================================================= */
hr,
.section-divider {
  display: block;
  margin: 2.5rem auto;
  border: 0;
  border-top: 1px solid #d6c59e;
  width: 90%;                  
  max-width: 1000px;           
  opacity: 0.85;
  box-sizing: border-box;
  transition: width 0.3s ease; 
}

@media (max-width: 600px) {
  hr,
  .section-divider {
    width: 95%;                
    margin: 2rem auto;
  }
}

/* =========================================================
   COURSE DETAIL PAGE
   ========================================================= */
.note-box {
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.course-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  margin: 3rem 0 4rem 0;
  padding: 0 1rem;
  white-space: normal;          
  overflow-wrap: anywhere;      
  word-break: normal;           
  hyphens: auto;                
}

.course-title-main {
  display: inline-block;
  text-decoration: underline;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.course-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
}

.course-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.course-text {
  flex: 1 1 50%;
  display: flex;                  
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-top: 0;    
}

.course-text p {
  margin-top: 0; 
}

.course-details {
  max-width: 720px;
  margin: 2.5rem auto 0 auto;
  max-width: 900px;
  padding-left: calc((100% - 900px) / 2);
  padding-top: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #444;
  text-align: left;
}

.course-details h3 {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #3a2f17;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.4rem;
}

.course-details h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: 2px;
  background-color: #d6c59e;
}

.course-details ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.course-details li {
  position: relative;
  margin-bottom: 0.6rem;
  line-height: 1.5;
  padding-left: 2rem;
  color: #444;
}

.course-details li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .course-layout {
    flex-direction: column;     
    align-items: center;        
    gap: 1.8rem;
    text-align: center;
  }

  .course-image {
    order: -1;                  
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
  }

  .course-text {
    width: 85%;              
    max-width: 600px;
    margin: 0 auto;           
    text-align: left;         
    display: block;           
  }

  .course-details {
    width: 85%;                
    max-width: 600px;          
    margin: 2rem auto 0 auto;  
    padding-left: 0;           
    text-align: left;
  }

  .course-details > * {
    margin-left: auto;
    margin-right: auto;
  }

  .course-details h3 {
    display: inline-block;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .course-details ul {
    display: block;
    padding-left: 0;
    text-align: left;
  }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-form {
  max-width: 600px;
  margin: 2rem 0;
  padding: 2rem;
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.contact-form label {
  font-weight: 600;
  color: #3c2f1e;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d6c59e;
  border-radius: 8px;
  background: #fff;
  color: #333;
}

.contact-form button {
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  background: #d6c59e;
  color: #222;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.contact-form button:hover {
  background: #c8b47f;
}

@media (max-width: 600px) {
  .checkbox-group label {
    display: flex;
    flex-direction: row;      
    align-items: flex-start;
    flex-wrap: wrap;          
    gap: 0.6rem;
    line-height: 1.4;
    white-space: normal;      
    word-break: break-word;  
  }

  .checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.15rem;
  }

  .checkbox-group a {
    word-break: break-word;
  }
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 4rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.contact-header h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #a89058;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #333;
  min-width: 240px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #d6c59e;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.contact-card .icon {
  font-size: 2rem;
  color: #a89058;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1.1rem;
  margin: 0;
  color: #222;
}

.contact-card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1.5rem;
  }

  .contact-icons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    display: flex;
  }

  .contact-card .icon {
    font-size: 2.3rem;
    margin-bottom: 0.2rem;
  }

  .contact-card h4 {
    font-size: 1rem;
  }

  .contact-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact-card {
    max-width: 100%;
    padding: 1rem;
  }

  .contact-card .icon {
    font-size: 2rem;
  }

  .contact-icons {
    gap: 1rem;
  }
}

/* =========================================================
   CHECKBOX
   ========================================================= */
.checkbox-group {
  margin-top: 1rem;
}

.checkbox-group label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.45;
  flex-wrap: wrap;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d6c59e;
  cursor: pointer;
  margin-top: 0.15rem;
}

.checkbox-group a {
  color: #8b7a4f;
  text-decoration: underline;
  font-weight: 600;
}

/* =========================================================
   TEAM SECTION
   ========================================================= */
.team {
  padding: 5rem 2rem;
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  margin-top: 3rem;
  text-align: center;
}

.team-header {
  margin: 0 auto 4rem auto;
  max-width: 700px;
  text-align: center;
}

.team-header h2 {
  font-size: 2.4rem;
  color: #222;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.team-header .team-subtitle {
  font-size: 1.25rem;
  color: #a89058;
  font-style: italic;
  opacity: 0.9;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  flex: 1 1 300px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  border-color: #d6c59e;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  background: #fffdf4;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #d6c59e;
  margin-bottom: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.team-member h3 {
  font-size: 1.2rem;
  color: #222;
  margin: 0.6rem 0 0.3rem 0;
  font-weight: 600;
}

.team-member p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .team-member {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .team-member {
    flex: 1 1 100%;
  }
}

/* =========================================================
   PARTNER LOGOS
   ========================================================= */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.partner-logos img {
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

@media (max-width: 600px) {
  .partner-logos img {
    max-height: 70px;
  }
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.gallery-section {
  background: #fffef8;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 4rem 2rem;
  margin-top: 3rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* --- Title & Subtitle --- */
.gallery-title {
  font-size: 2.4rem;
  color: #222;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.gallery-subtitle {
  font-size: 1.2rem;
  color: #a89058;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.gallery-preview {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-section:hover .gallery-cover {
  transform: scale(1.05);
  filter: brightness(50%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fffef8;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
}

.gallery-section:hover .gallery-overlay {
  opacity: 0.95;
}

.gallery-overlay h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.gallery-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.gallery-item img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* --- Mobile Adjustments --- */
@media (max-width: 600px) {
  .gallery-section {
    padding: 3rem 1rem;
  }

  .gallery-overlay h2 {
    font-size: 1.6rem;
  }

  .gallery-overlay p {
    font-size: 1rem;
  }

  .gallery-preview {
    height: 320px;
  }

  .gallery-item img {
    max-width: 100%;
  }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox .close:hover {
  color: #d6c59e;
}

.lightbox button.prev,
.lightbox button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}

.lightbox button.prev:hover,
.lightbox button.next:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #d6c59e;
  transform: translateY(-50%) scale(1.1);
}

.lightbox button.prev {
  left: 20px;
}

.lightbox button.next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 70%;
  }

  .lightbox .close {
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
  }

  .lightbox button.prev,
  .lightbox button.next {
    font-size: 2rem;
    padding: 0.3rem 0.7rem;
  }
}

/* =========================================================
   MAP SECTION
   ========================================================= */
.map-container {
  margin: 2rem 0;
  border: 2px solid #e3d7b9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* =========================================================
   AKTUELLES
   ========================================================= */
.aktuelles-subtitle { 
  color: #a89058; font-style: italic; margin-bottom: 0; 
}

.aktuelles-content { 
  font-size: 1.1rem; line-height: 1.7; color: #444; margin-top: 1.5rem; 
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}
