:root {
  --bg: #faf9f8;
  --accent: #111;
  --muted: #555;
  --max-width: 1200px;
  --primary-color: #ffa500; /* Define primary color for focus/hover states */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--accent);
  background: var(--bg);
  line-height: 1.5;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
}

.nav a {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  min-height: 100vh; /* Make sure the hero section takes up the full height of the viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/photo0011.jpg') center/cover no-repeat; /* Ensure it covers the full screen */
  z-index: 0;
  filter: brightness(100%) contrast(1.2) sharpen(2); /* Add sharpen filter for clarity */
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.hero__content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 8rem);
  margin: 200px 0 0;
}

.hero__content p {
  font-style: italic;
  font-size: clamp(1rem, 1.1vw, 2rem);
  margin-top: 2px;
}

.enter-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  border: 6px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.enter-link:hover {
  background: white;
  color: var(--primary-color);
}


/* Container for content */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem; /* Reduced gap between image and text */
  margin-top: -130px; /* Moves content up, adjust this value to your preference */
}

.about-image {
  width: 420px;
  max-width: 100%;
  height: auto;
}

.about-text {
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
  margin-top: -20px; /* Ensure no extra margin above the text */
}

/* Mobile layout for About Section */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    margin-top: -140px; /* Adjust margin-top for smaller screens */
  }

  .about-text {
    text-align: justify;
    text-justify: inter-word;
  }

  .about-image {
    margin: 0 auto;
    max-width: 320px;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
}

/* Masonry Grid Section */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.masonry-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.masonry-grid img:hover {
  transform: scale(1.05);
}

/* Audio Section */
.audio-list {
  max-width: 700px;
}

.audio-item {
  margin-bottom: 2rem;
}

.audio-item iframe {
  width: 100%;
  height: 120px;
  border: none;
  border-radius: 6px;
}

.audio-item audio {
  width: 100%;
  display: block;
  margin-bottom: 1.5rem;
 }

.audio-item p {
  margin-top: 0.4rem;
  margin-bottom: 1.8rem;
}

#audio.active {
  margin-top: -10rem;
}


/* Tabs Section */
.tabs {
  display: flex;
  gap: 1rem;
  margin: 4rem 0;
}

.tab {
  background: none;
  color: black;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  padding: 12px 36px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.tab:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.tab.active {
  background-color: var(--primary-color);
  color: #222;
}

.tab-content {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tab-content.active {
  visibility: visible;
  opacity: 1;
  height: auto;
  pointer-events: auto;
}

/* Lightbox Section */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  font-size: 1rem;
  color: var(--muted);
}

/* Navigation Mobile Layout */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 30px 20px;
  }

  .nav a {
    font-size: 17px;
    letter-spacing: 0.08em;
    text-align: left;
  }
}

/* Disable Text Selection */
body, .container, .tabs, .form-group, .audio-item, .masonry-grid img {
  user-select: none;
}

/* Overlay to prevent right-click on images */
.image-container {
  position: relative;
  display: inline-block;
}

.view-only-image {
  pointer-events: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: all;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  font-weight: bold;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  padding: 12px 24px;
  background-color: #ffa500;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Style for success message */
.form-success {
  color: green; /* Set text color to green */
  font-size: 1.3rem; /* Set font size to 1.3rem */
}


