* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* oklch */
  --bg-dark: oklch(0.1 0 138);
  --bg: oklch(0.25 0.00003 271.152);
  --bg-light: oklch(0.3 0 138);
  --text: oklch(0.96 0 138);
  --text-oposite: oklch(0.15 0 138);
  --text-muted: oklch(0.76 0 138);
  --highlight: oklch(0.5 0 138);
  --border: oklch(0.4 0 138);
  --border-muted: oklch(0.3 0 138);
  --primary: oklch(0.76 0.1 138);
  --primary-light: oklch(0.85 0.1 138);
  --secondary: oklch(0.76 0.1 318);
  --danger: oklch(0.7 0.05 30);
  --warning: oklch(0.7 0.05 100);
  --success: oklch(0.7 0.05 160);
  --info: oklch(0.7 0.05 260);
  --shadow: inset -2px 2px 5px -4px rgba(255, 255, 255, 0.5);
  --shadow-indent: inset -2px 2px 4px rgba(255, 255, 255, 0.13);
}

body.light {
  /* oklch */
  --bg-dark: oklch(0.92 0 138);
  --bg: oklch(0.96 0 138);
  --bg-light: oklch(1 0 138);
  --text: oklch(0.15 0 138);
  --text-oposite: oklch(1 0 138);
  --text-muted: oklch(0.4 0 138);
  --highlight: oklch(1 0 138);
  --border: oklch(0.6 0 138);
  --border-muted: oklch(0.7 0 138);
  --primary: oklch(0.4 0.1 138);
  --primary-light: oklch(0.5 0.1 138);
  --secondary: oklch(0.4 0.1 318);
  --danger: oklch(0.5 0.05 30);
  --warning: oklch(0.5 0.05 100);
  --success: oklch(0.5 0.05 160);
  --info: oklch(0.5 0.05 260);
  --shadow: -2px 2px 5px 4px rgba(0, 0, 0, 0.1);
  --shadow-indent: inset -2px 2px 4px rgba(0, 0, 0, 0.4);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  justify-content: space-between;
}

.hidden {
  display: none !important;
}

.header {
  background: transparent;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(137, 163, 137, 0.15);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
}

.login-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.login-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 3rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 10;
  animation: slideUp 0.5s ease-out;
  border: 1px solid rgba(137, 163, 137, 0.2);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(42, 78, 42, 0.5);
}

.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--muted);
  font-size: 1rem;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.alert-error {
  background: rgba(204, 51, 51, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(204, 51, 51, 0.3);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(137, 163, 137, 0.25);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--panel-alt);
  color: var(--text);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 4px rgba(137, 163, 137, 0.2);
}

.input-wrapper input::placeholder {
  color: rgba(185, 198, 187, 0.5);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-2);
}

.forgot-link {
  color: var(--ring);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: var(--text);
}

.btn-login {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(42, 78, 42, 0.5);
  margin-top: 0.5rem;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(42, 78, 42, 0.6);
}

.btn-login:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 2rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(137, 163, 137, 0.2);
}

.login-footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.login-footer a {
  color: var(--ring);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-footer a:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-header h1 {
    font-size: 1.75rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

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

.logo {
  height: 50px;
}

#title-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Layout helpers */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  padding-top: 1rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  margin: 0 1rem;
}

.header-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  border-radius: 0.5rem;
  background-color: var(--bg);
  box-shadow: var(--shadow);
}

#title-logo-group {
  padding: 0.5rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: bolder;
  transition: all 0.2s ease;
}

.nav a:hover:not(.cta) {
  color: var(--primary);
}

.nav .cta:hover {
  background-color: var(--primary-light);
  cursor: pointer;
}

.nav .cta {
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  background: var(--primary);
  color: var(--text-oposite);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-indent);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 20px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 20px 18px;
  border-bottom: 1px solid rgba(137, 163, 137, 0.15);
  background: var(--bg);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 0.9rem;
  font-weight: bolder;
  border-radius: 1rem;
}

.mobile-nav a:hover:not(.cta) {
  background-color: var(--primary);
  transition: all 0.2s ease;
}

.mobile-nav .cta:hover {
  background-color: var(--primary-light);
}

.mobile-nav .cta {
  background: var(--primary);
  padding: 0.6rem 0.9rem;
  border-radius: 1rem;
  transition: all 0.2s ease;
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  .mobile-nav {
    display: flex;
  }
  .mobile-nav[hidden] {
    display: none;
  }
}

/* Hero / home */
.hero {
  padding: 88px 0 64px;
}
.hero-inner {
  text-align: center;
}
.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}
.tagline {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 1.25rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  background: var(--text);
  color: var(--text-oposite);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  font-weight: bolder;
}
.btn-outline {
  background: var(--primary);
  color: var(--text-oposite);
  border: 1px solid rgba(137, 163, 137, 0.35);
}
.btn:hover {
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 70px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--panel), var(--panel-alt));
}
.section h2 {
  margin: 0 0 14px;
  font-size: 2rem;
}
.section p {
  color: var(--muted);
}

/* Photos */

#photosContainer {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.card {
  background: var(--bg);
  border: 1px solid rgba(137, 163, 137, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0;
}
.card p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* page setup */
.main-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid rgba(137, 163, 137, 0.15);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-header {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(137, 163, 137, 0.15);
}

.account-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
}

.account-link:hover {
  background: rgba(137, 163, 137, 0.1);
  border-radius: 10px;
}

.sidebar-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.sidebar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(137, 163, 137, 0.1);
  color: var(--text);
}

.nav-item.active,
.sidebar .account-link.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(42, 78, 42, 0.4);
}

.nav-icon {
  flex-shrink: 0;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  border-top: 1px solid rgba(137, 163, 137, 0.15);
  gap: 0.25rem;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #ff6b6b;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.logout-btn:hover {
  background: rgba(204, 51, 51, 0.1);
  color: #ff6b6b;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.user-name {
  font-weight: 600;
  color: var(--text);
}

.user-org {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  height: 100%;
  width: fit-content;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(137, 163, 137, 0.15);
  padding: 18px 0;
  background: rgba(10, 18, 13, 0.7);
}
.footer-inner {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.back-to-top {
  color: var(--muted);
  text-decoration: none;
}
.back-to-top:hover {
  color: var(--text);
}

.footer {
  padding: 2rem;
  margin-top: auto;
  border-top: 1px solid var(--text);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.footer-info p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-tagline {
  font-style: italic;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--ring);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 0.8fr;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  margin: 10px 0;
}
.socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.socials a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.socials a:hover {
  color: var(--primary);
}
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.email,
.phone {
  transition: all 0.1s ease-in-out;
  text-decoration: none;
}

.email:hover,
.phone:hover {
  color: var(--primary);
  font-weight: bold;
}

.photo {
  width: 40rem;
  height: 28rem;
  object-fit: cover;
}
