/* ===== Variables & Reset ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sidebar-width: 240px;
  --bottom-height: 64px;
  --bg: #fff;
  --txt: #111;
  --accent: #000;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--txt);
  background: var(--bg);
  font-weight: 100;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ===== Sidebar (desktop) ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: #fff;
  padding: 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .05em;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.side-nav .nav-link {
  font-size: .9rem;
  font-weight: 500;
}

.side-nav .nav-link.active {
  font-weight: 700;
}

/* ===== Mobile hamburger ===== */
.hamburger {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1100;
  background: none;
  border: none;
  gap: 4px;
  flex-direction: column;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--txt);
}

/* ===== Bottom nav (mobile) ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-height);
  background: #fff;
  border-top: 1px solid #ddd;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: .75rem;
  gap: 2px;
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--txt);
  stroke-width: 2;
}

.bottom-nav .active svg {
  stroke: var(--accent);
}

.bottom-nav .active {
  font-weight: 700;
}

/* ===== Main & pages ===== */
main {
  margin-left: var(--sidebar-width);
  padding: 2rem 5rem;
  min-height: calc(100vh - 5rem);
}

.page {
  display: none;
  animation: fade .3s ease;
}

.page.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* PDF embed */
.pdf-embed {
  width: 100%;
  height: 90vh;
  border: none;
}

/* Contact */
.contact-section {
  font-size: .9rem;
}

.bottom-nav {
  display: none;
}

.logo {
  max-width: 200px;
}

.img-responsive {
  width: 100%;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
  padding-bottom: 2rem;
}

.gallery-grid-wide {
  column-count: 1;
  column-gap: 1rem;
  padding-bottom: 2rem;
}

.gallery-item {
  display: inline-block;
  margin-bottom: 1rem;
  width: 100%;
  /* important for inline-block inside column */
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.contact-section {
  font-size: 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(82vh - var(--bottom-height));
  padding: 2rem;
}

/* ===== Responsive ===== */
@media(max-width:768px) {
  .sidebar {
    display: none;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: none;
  }

  main {
    margin-left: 0;
    padding-bottom: calc(var(--bottom-height)+1.5rem);
  }

  .bottom-nav {
    display: flex;
  }

  .bottom-nav {
    display: flex;
  }

  .bottom-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .bottom-nav .nav-links {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 1rem;
  }

  .bottom-nav .nav-link {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0;
  }

  .bottom-nav .nav-logo {
    display: flex;
    justify-content: center;
    margin-top: 0.4rem;
  }

  .bottom-nav .logo {
    max-height: 32px;
    width: auto;
  }

  main {
    padding: 2rem 1rem;
  }
}

@media (max-width: 1300px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 980px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* === 27-06-2025 CSS Start === */

.about-section .about-text p {
  text-align: justify;
}
.about-section .about-text p strong {
  font-weight: bold;
}
#share_link {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    text-align: right;
    width: 100%;
    margin-bottom: 40px;
}
#toggle_share {
  background: #222222;
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#toggle_share:hover {
  background-color: #444444;
}

#social_sharing_links {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 160px;
  padding: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  display: none;
  z-index: 999;
}

#social_sharing_links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social_links_item {
  margin-bottom: 8px;
}

.social_links_item a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.social_links_item a:hover {
  color: #007bff;
}
