/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styles */
body {
  background: #181824;
  color: #f3f3f3;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
}
/* Make links stand out */
.contact-info a {
  color: #007BFF;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive typography */
@media (max-width: 600px) {
  .contact-info {
    font-size: 1rem;
  }
}
/* Center content */

/* Fixed header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(30, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(44, 83, 100, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  transition: background 0.4s;
}

/* Background video styles */
.bg-video {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


/* Push content down below fixed header */
main, .center-content {
  margin-top: 90px;
}

/* Site title */
.site-title a, header h1 a {
  color: #fff;
  text-decoration:none ;
  font-size: 2.2rem;
  letter-spacing: 2px;
  font-weight: bold;
  transition: color 0.2s;
}
.site-title a:hover {
  color: #ffd700;

}
.site-title a {
  display: inline-block;
  animation: spinLeftRight 2s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes spinHorizontal {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.site-title {
  display: inline-block;
  animation: spinHorizontal 6s linear infinite; /* slower rotation */
  transform-style: preserve-3d;
}


/* Hamburger Menu Button */
#menu-btn {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.4rem 0.7rem;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.07);
  display: block;
}
#menu-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffd700;
}
@media (min-width: 900px) {
  #menu-btn {
    display: none;
  }
}








/* Sidebar-style nav - always used */
#nav-links {
  position: fixed;
  top: 0;
  right: -340px; /* hidden by default */
  width: 320px;
  height: 100vh;
  background: rgba(30, 30, 60, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: -2px 0 24px rgba(44, 83, 100, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 90px;
  transition: right 0.5s cubic-bezier(.77, 0, .18, 1);
  z-index: 1001;
  overflow-y: auto;
}

#nav-links.active {
  right: 0; /* show sidebar */
}

#nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-radius: 8px;
  margin: 0 0 8px 0;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.07);
}

#nav-links a:hover,
#nav-links a:focus {
  background: rgba(255, 215, 0, 0.18);
  color: #ffd700;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.13);
  outline: none;
}

#nav-links a:last-child {
  margin-bottom: 0;
}

/* Ensure hamburger menu is always visible */
#menu-btn {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.4rem 0.7rem;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.07);
  display: block; /* Always show */
}

/* REMOVE this media query to prevent desktop nav override */
@media (min-width: 900px) {
  /* Remove or comment out this section entirely */
  /* Keeps sidebar style across all screen sizes */
}







 











/* Search form */
.search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2px 8px 2px 12px;
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.07);
}
.search-form input[type="search"] {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  width: 120px;
  color: #fff;
  transition: width 0.3s;
}
.search-form input[type="search"]:focus {
  width: 180px;
  background: rgba(255, 255, 255, 0.12);
}
.search-form button {
  background: #222;
  color: #ffd700;
  border: none;
  border-radius: 50%;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: 0.2rem;
  transition: background 0.2s;
}
.search-form button:hover {
  background: #ffd700;
  color: #222;
}





/* Social icons container */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Social icon colors */
.facebook {
  color: #3b5998;
}
.instagram {
  color: #E1306C;
}
.telegram {
  color: #0088cc;
}
.tiktok {
  color: #000000;
}
.twitter {
  color: #1DA1F2;
}

  

 

/* Gallery */
.photo-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
  padding: 0 2vw;
}
.photo-gallery figure {
  background: rgba(30, 30, 60, 0.7);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44, 83, 100, 0.18);
  margin: 0;
  transition: transform 0.25s cubic-bezier(.77, 0, .18, 1), box-shadow 0.25s;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.photo-gallery figure:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.18);
  background: rgba(44, 44, 80, 0.85);
}
.photo-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  transition: box-shadow 0.2s;
}
.photo-gallery figcaption {
  padding: 1rem;
  font-size: 1.08rem;
  color: #ffd700;
  background: rgba(30, 30, 60, 0.55);
  text-align: center;
  border-radius: 0 0 12px 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive gallery */
@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .photo-gallery img {
    height: 110px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .photo-gallery img {
    height: 130px;
  }
}

/* Footer Title (if used) */
footer h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

/* Footer Text */
footer p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Footer Links */
footer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  footer {
    padding: 1.5rem 1rem;
  }

  footer h2 {
    font-size: 1.5rem;
  }

  footer p {
    font-size: 0.95rem;
  }
}

/* Feedback section */
.feedback-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.feedback-center h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}
.feedback-center p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.feedback-center form {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(44, 83, 100, 0.18);
  margin: 0 auto;
}
.feedback-center label {
  color: #ffd700;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  text-align: left;
}
.feedback-center input[type="text"],
.feedback-center input[type="email"],
.feedback-center textarea {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s;
}
.feedback-center input[type="text"]:focus,
.feedback-center input[type="email"]:focus,
.feedback-center textarea:focus {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}
.feedback-center button {
  background: #ffd700;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
}
.feedback-center button:hover {
  background: #fff;
  color: #222;
  transform: translateY(-2px);
}
.feedback-center button:active {
  transform: translateY(0);
}

/* Admin main section */
.admin-main {
  background: rgba(30,30,60,0.85);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44,83,100,0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 40px auto 40px auto;
  max-width: 700px;
  color: #ffd700;
}
.admin-main .card {
  background: rgba(44,44,80,0.95);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(44,83,100,0.13);
  padding: 2rem;
  color: #fff;
}
.admin-main h2 {
  color: #ffd700;
  margin-bottom: 1.5rem;
}
.admin-main .msg-header {
  color: #ffd700;
}
.admin-main .msg-body {
  color: #fff;
}

/* Misc */
hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}
a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #fff;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
li {
  margin-bottom: 0.8rem;
}
button {
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
button:hover {
  transform: translateY(-2px);
}
button:active {
  transform: translateY(0);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  body {
    background: #121212;
    color: #e0e0e0;
  }
  header {
    background: rgba(20, 20, 40, 0.85);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }
  #nav-links {
    background: rgba(20, 20, 40, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  #nav-links a {
    color: #e0e0e0;
  }
  #nav-links a:hover,
  #nav-links a:focus {
    color: #ffd700;
  }
  .search-form {
    background: rgba(255, 255, 255, 0.06);
  }
  .search-form input[type="search"] {
    color: #e0e0e0;
  }
  .search-form button {
    background: #ffd700;
    color: #121212;
  }
  .search-form button:hover {
    background: #fff;
    color: #121212;
  }
  .photo-gallery figure {
    background: rgba(20, 20, 40, 0.8);
  }
  .photo-gallery figcaption {
    background: rgba(20, 20, 40, 0.7);
  }
  footer {
    background: rgba(20, 20, 40, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  footer a {
    color: #ffd700;
  }
  .feedback-center {
    background: rgba(20, 20, 40, 0.9);
  }
  .feedback-center label {
    color: #ffd700;
  }
  .feedback-center input[type="text"],
  .feedback-center input[type="email"],
  .feedback-center textarea {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
  }
  .feedback-center input[type="text"]:focus,
  .feedback-center input[type="email"]:focus,
  .feedback-center textarea:focus {
    background: rgba(255, 255, 255, 0.2);
  }
  .feedback-center button {
    background: #ffd700;
    color: #121212;
  }
  .feedback-center button:hover {
    background: #fff;
    color: #121212;
  }
}


 /* Existing styles */
    .message-list {
      list-style: none;
      max-height: 300px;
      overflow-y: auto;
    }
    .message-item {
      border-bottom: 1px solid #ddd;
      padding: 1rem 0;
    }
    .msg-header {
      font-weight: bold;
      color: #222;
    }
    .msg-email {
      font-size: 0.9em;
      color: #555;
    }
    .msg-body {
      margin-top: 0.5rem;
      color: #444;
    }

    /* Make nav (header + nav-links) fixed or sticky and above overlay */
    header.header, nav#nav-links {
      position: FIXED;
      z-index: 10001; /* Higher than overlay */
      
      /* You may want to add box-shadow or border-bottom so nav stands out */
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* If you have a sidebar nav, style it here, e.g.: */
    /* Assuming sidebar nav has class "sidebar" */
    .sidebar {
      position: relative;
      z-index: 10001;
      background: white;
      /* Adjust width and height as needed */
      /* Example: */
      width: 200px;
      height: 100vh;
      box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    /* Password overlay now only covers main content */
    #password-overlay {
      position: fixed;
      top: 60px; /* Adjust if your header height is different */
      left: 0;
      width: 100vw;
      height: calc(100vh - 60px); /* Full height minus nav height */
      background-color: rgba(0, 0, 0, 0.95);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 10000; /* Below nav */
      font-family: Arial, sans-serif;
      padding: 20px;
      box-sizing: border-box;
    }

    #password-overlay h2 {
      margin-bottom: 1rem;
      font-weight: normal;
    }

    #password-input {
      padding: 10px 15px;
      font-size: 1.2rem;
      border: none;
      border-radius: 5px;
      width: 250px;
      max-width: 90vw;
      margin-bottom: 1rem;
    }

    #password-submit {
      padding: 10px 20px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      background-color: #2196f3;
      color: white;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    #password-submit:hover {
      background-color: #1976d2;
    }

    #error-message {
      color: #ff5555;
      margin-top: 0.5rem;
      min-height: 1.2em;
      font-size: 0.9rem;
      font-weight: bold;
    }

    /* Main content margin to clear fixed nav (if fixed header) */
    main.admin-main {
      margin-top: 60px; /* same height as header */
      /* If you have sidebar, add margin-left for it */
      margin-left: 0; /* Adjust if you add a sidebar */
    }