/* Reset & basics */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Sansation;
}

.sansation-light {
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.sansation-regular {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sansation-bold {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.sansation-light-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.sansation-regular-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.sansation-bold-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-style: italic;
}


html {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Body and Background */
body {
  font-family: Arial, sans-serif;
  color: #fff;
  background-image: url('images/bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100vw;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation Bar */
nav {
  background-color: rgba(0, 0, 0, 0.25); /* Black with 25% opacity */
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 8px;
}

/* Navigation Menu Container */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Navigation Menu Items */
.nav-menu li {
  margin: 0;
}

/* Navigation Links */
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  user-select: none;
  transition: color 0.7s ease;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

/* Hover & Focus: Fade to red text */
.nav-menu a:hover,
.nav-menu a:focus {
  color: #ff0000;
  outline: none;
  text-decoration: none;
}

/* Main content container */
main {
  flex-grow: 1;
  max-width: 1200px;
  margin: 2em auto;
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Editable content sections */
.editable-section {
  max-width: 1136px;
  margin: 0 auto 2em auto;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* Remove min-width */
}


/* Footer */
footer {
  text-align: center;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.25); /* Black with 25% opacity */
  color: white;
  font-size: 0.9em;
}

/* Contact Form */
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.7em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

form button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #333;
}

/* Gallery Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1em;
}

.grid-container img {
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  border-radius: 8px;
  object-fit: cover;
}

/* Admin Panel Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  color: #000;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

table, th, td {
  border: 1px solid #000;
}

th, td {
  padding: 0.5em;
  text-align: left;
}

/* Slide images */
#slide, #slide1, #slide2 {
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  border-radius: 12px;
  transition: opacity 1s ease-in-out;
  display: block;
  margin: 0 auto;
  position: relative;
}

/* Lightbox Caption */
.glightbox .gdesc {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 90% !important;
  font-size: 1rem !important;
  padding: 10px 15px !important;
  background: rgba(0, 0, 0, 0.3) !important; /* semi-transparent black */
  text-align: center !important;
  border-radius: 0 0 12px 12px !important;
  color: #fff !important;
  box-sizing: border-box;
}


/* Responsive Design */
@media (max-width: 768px) {
  .grid-container {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .grid-container > div {
    flex: 0 1 auto;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu li {
    margin: 0.5em 0;
  }

  main {
    margin: 1em;
    padding: 1em;
  }
}

/* Headings */
h1 {
    text-align: center;    
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px; /* Match your main layout */
  margin: 0 auto;
  padding: 1em 2em;
}

.logo-container img {
  height: 60px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 1.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .slideshow-container, .mySlides {
    max-width: 500px;
  }
}
.mySlides {
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
}
