* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('images/mainbackgroundpicture.jpg') no-repeat center center fixed;
  background-size: cover; /* Ensures the image covers the full screen */
  background-size: 888px 1024px;     /* ← Your specific pixel size */
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  color: rgb(179, 176, 176);
  background-color: #d3d1d1;
  font-weight: bold;
}

/* Glassmorphic Navbar */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(135, 136, 136, 0.2);
  backdrop-filter: sepia(10%);
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 12px 30px;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between image and text */
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.nav-logo-img {
  width: auto;
  height: 40px;
  border-radius: 70%; /* Makes it circular */
  object-fit: cover; /* Ensures image fills the circle nicely */
  border: 2px solid rgba(255, 255, 255, 0.4); /* Optional: white ring */
}


.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

/* Glow effect on hover */
.nav-link:hover {
  text-shadow: 0 0 10px rgba(0, 120, 255, 0.8);
  color: #000000;
}
/* Make the nav-item for Gallery a reference point for dropdown */
.nav-item.gallery-item {
  position: relative; /* This is key! */
  display: flex;
  justify-content: center; /* Optional: center the link */
}

/* Dropdown positioning */
.dropdown {
  position: absolute;
  top: 100%;               /* Directly below the link */
  right: 7%;
  transform: translateX(-50%); /* Center horizontally under link */
  background: rgba(226, 226, 226, 0.435);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  z-index: 1000; /* Ensure it appears above other elements */
}

/* Show dropdown */
.dropdown.show {
  opacity: 1;
  visibility: visible;
}
/* Container to stack date and time vertically */
.nav-datetime-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    white-space: nowrap; /* Prevents wrapping if space is tight */
}

.nav-datetime-container {
    line-height: 1.2;
}
.nav-date:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
    color: #000000;
}
.nav-date {
    font-size: 0.85em;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 120, 255, 0.8);
}

.nav-time:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
    color: #000000;
}

.nav-time {
    font-size: 0.85em;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 120, 255, 0.8);
}
/* Dropdown menu items */
.dropdown li {
  text-align: center;
  padding: 0.5rem 1rem;
}

.dropdown li a {
  color: white;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-shadow: 0 0 5px rgba(0, 120, 255, 0.8);
  color: #000000;
}

.nav-item.gallery-item {
  position: relative;
  display: flex;
  align-items: center;
  /* Add delay container */
  cursor: pointer;
}

/* Add a tiny delay before hiding */
.dropdown {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s;
  position: absolute;
    top: 100%;                /* directly under the parent <li> */
    left: 60%; 
    margin-top: 10px; 
     min-width: 150px;
     border-radius: 12px; 
}

.nav-item.gallery-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
}



/* Main Content */
.main {
  margin-top: 2100px;
  padding: 4rem 2rem;
  text-align: center;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  color: #ffffff;
    width: 60%;                   /* Custom width: 80% of screen */
    max-width: 1200px;            /* Don't exceed 1200px on large screens */
    min-height: 500px;            /* Minimum height of the block */
    margin: 100px auto;            /* Center horizontally, add top/bottom margin */
    padding: 30px;                /* Inner spacing */
    background-color: #92909052;    /* Optional: light background */
    border-radius: 12px;          /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: center;           /* Center text inside */
    box-sizing: border-box;       /* Include padding in width */
}

.main :hover {
  /* background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-shadow: 0 0 5px rgba(0, 120, 255, 0.8);
  color: #000000; 
  background: rgba(255, 255, 255, 0.1);  subtle background change */
}

.main h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.7);
}

.main p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-preview {
  display: block flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery-preview img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.gallery-preview img:hover {
  transform: scale(1.15);
}

/* Gallery Preview Container */
.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px auto;
  max-width: 1200px;
  padding: 10px;
}

/* Thumbnail Wrapper */
.thumbnail {
  position: relative;
  width: 200px; /* Adjust as needed */
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Overlay Text */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allow clicks to pass through */
}

/* Show text on hover */
.thumbnail:hover .overlay-text {
  opacity: 1;
}

/* Optional: Scale image slightly on hover */
.thumbnail:hover img {
  transform: scale(1.05);
}

/* About Section - White Text, Safe Isolation */
.about-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: justify;
  font-size: 18px;
  line-height: 1.8;
  color: white; /* 👈 This sets all text inside to white */
  background: rgba(0, 0, 0, 0.3); /* Optional: slight overlay for readability */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

/* Ensure heading is white and prominent */
.about-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: white; /* Explicitly white */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Style paragraph for clarity */
.about-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white; /* Redundant but safe */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

/* Style links inside about section if any */
.about-section a {
  color: #6ea1ff;
  text-decoration: underline;
  transition: color 0.3s;
}
.about-section a:hover {
  color: #ffffff;
}
/* Global White 3D Hand Cursor for Entire Site */
.a:hover,
.nav-link:hover,
.gallery-preview > *,
#about a:hover,
.email-link,
.email-link:hover,
.thumbnail,
.dropdown li a:hover {
  cursor: url('icons/cursor/6.png'), pointer !important;
} 
/* Custom cursor for main page (body) */
body {
  cursor: url('icons/cursor/9.png'), auto;
}
