/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1e1e1e; /* Dark gray background */
  color: #f0eae2; /* Light text for readability */
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Header */
header.navbar {
  background-color: #2a2a2a;
  color: #f9f5e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header.navbar h1 {
  font-size: 2rem;
  color: #e9c46a;
}

header.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #f9f5e8;
  font-weight: bold;
  transition: color 0.3s ease;
}

header.navbar nav a:hover {
  color: #e9c46a;
}

/* Logo with image */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

/* About Section */
.about-card {
  background-color: #2e2e2e;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.about-card h2 {
  color: #e9c46a;
  margin-bottom: 1rem;
}

/* Slideshow Container */
.slideshow {
  max-width: 600px;
  margin: 3rem auto;
}

.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #333;
}

/* Slideshow Images */
.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide.active {
  display: block;
}

/* Navigation Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(233, 196, 106, 0.8);
  color: #1e1e1e;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  z-index: 10;
  transition: background 0.3s ease;
}

.prev:hover, .next:hover {
  background: #f4a261;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Menu Section */
#menu {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#menu h2 {
  text-align: center;
  color: #e9c46a;
  margin-bottom: 1rem;
}

#menu-title {
  user-select: none;
  pointer-events: none;
}

details {
  background-color: #3a3a3a;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #444;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

summary {
  font-weight: bold;
  color: #e9c46a;
}

details[open] summary {
  color: #f4a261;
}

details ul {
  padding-left: 1rem;
  margin-top: 0.5rem;
  color: #f0eae2;
}

/* Footer */
footer {
  background-color: #2a2a2a;
  color: #f0eae2;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

footer a {
  color: #e9c46a;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  color: #f4a261;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #e9c46a;
  color: #1e1e1e;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.back-to-top:hover {
  background-color: #f4a261;
}

/* Typography Enhancements */
h2, h3 {
  color: #e9c46a;
  font-weight: 600;
}

/* Disable text selection for interactive UI parts */
summary,
li,
.navbar h1,
.navbar nav a,
.about-card,
#menu details,
footer,
button,
a {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
