@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&display=swap");

:root {
  --ink: #061116;
  --ink-soft: #0d222c;
  --surface: #ffffff;
  --surface-soft: #f0f3f4;
  --surface-tint: #eef9fe;
  --surface-deep: #ddf2fd;
  --primary: #45b9f2;
  --primary-soft: #67c6f4;
  --accent: #e69b39;
  --accent-soft: #f1cd96;
  --muted: #729cc1;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  animation: pageFade 1s ease-out;
}

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

.hero {
  padding: 36px 8vw 80px;
  background: radial-gradient(circle at top left, #ddf2fd, #ffffff 55%, #eef9fe);
  overflow: hidden;
}

.hero-secondary {
  padding-bottom: 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  animation: slideDown 0.9s ease-out;
}

.logo {
  color:#2b7fa9;
  font-weight: 700;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: var(--ink);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(69, 185, 242, 0.3);
}

.hero-content {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
  animation: fadeUp 0.9s ease-out;
}

.hero-text p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  animation: fadeUp 1s ease-out;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1.1s ease-out;
}

.button {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(69, 185, 242, 0.25);
}

.button.tg {
  background: linear-gradient(135deg, #fff, #fff);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(69, 185, 242, 0.25);
}

.button.ghost {
  border: 1px solid var(--accent);
  color: var(--ink);
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 155, 57, 0.2);
}

.hero-card {
  background: #cff3ff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(6, 17, 22, 0.12);
  animation: floatIn 1s ease-out;
  border: 1px solid rgba(69, 185, 242, 0.15);
}

.hero-card ul {
  list-style: none;
  margin-top: 12px;
}

.hero-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(6, 17, 22, 0.08);
}

.section {
  padding: 72px 8vw;
}

.section-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #cff3ff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(6, 17, 22, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(69, 185, 242, 0.12);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(6, 17, 22, 0.18);
}

.gallery {
  background: var(--surface-deep);
  color: var(--ink);
}

.gallery .section-header p {
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery figure {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 17, 22, 0.16);
}

.gallery-photo {
  height: 140px;
  border-radius: 12px;
  /* background: linear-gradient(135deg, var(--primary), var(--accent));*/
  background: linear-gradient(135deg, #e5ccbc, #c77100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 12px;
  animation: pulse 6s ease-in-out infinite;
  color: var(--ink);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #45b9f2, #f1cd96);
  border-radius: 24px;
  margin: 0 8vw;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(6, 17, 22, 0.2);
  animation: fadeUp 1s ease-out;
  color: var(--ink);
}

.partners {
  background: var(--surface-tint);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.partner-card {
  background: var(--surface);
  padding: 18px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(6, 17, 22, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(69, 185, 242, 0.2);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(6, 17, 22, 0.2);
}

.faq {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq details {
  background: var(--surface-soft);
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(6, 17, 22, 0.12);
  transition: transform 0.3s ease;
  border: 1px solid rgba(69, 185, 242, 0.15);
}

.faq details[open] {
  transform: translateY(-2px);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.contact-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(6, 17, 22, 0.12);
  animation: fadeUp 1s ease-out;
  border: 1px solid rgba(69, 185, 242, 0.15);
}

.contact-card ul {
  list-style: none;
  margin: 18px 0;
  color: var(--ink-soft);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
 /* background: var(--surface-deep);*/
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  display: grid;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(6, 17, 22, 0.12);
  animation: fadeUp 1.1s ease-out;
  border: 1px solid rgba(69, 185, 242, 0.15);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(69, 185, 242, 0.3);
  margin-top: 6px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  padding: 32px 8vw 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--ink);
  color: var(--surface);
}

.image-frame {
  border: 1px solid rgba(69, 185, 242, 0.35);
  border-radius: 14px;
  padding: 6px;
  margin-top: 12px;
  background: rgba(69, 185, 242, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: shimmer 3s ease-in-out infinite;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.image-frame.small {
  height: 140px;
  margin-bottom: 16px;
}

.image-frame.medium {
  height: 200px;
}

.image-frame.tall {
  height: 240px;
}

.hero-card .image-frame {
  border-color: rgba(230, 155, 57, 0.4);
  background: rgba(230, 155, 57, 0.12);
}

.gallery-large {
  background: var(--surface-tint);
}

.gallery-large-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  grid-auto-flow: dense;
}

.gallery-item {
  background: #cff3ff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(6, 17, 22, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(69, 185, 242, 0.15);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(6, 17, 22, 0.18);
}

.gallery-item h3 {
  margin-top: 16px;
}

.gallery-item .image-frame {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.gallery-item p {
  color: var(--ink-soft);
}


.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs img {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid rgba(69, 185, 242, 0.25);
}

.form-status {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(69, 185, 242, 0.35);
  border-color: rgba(69, 185, 242, 0.6);
}

.gallery-video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}

.gallery-video:fullscreen,
.gallery-video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  background: #000;
}

.gallery-admin {
  background: var(--surface);
}

.gallery-admin-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 24px;
}

.admin-auth {
  background: var(--surface-tint);
}

.admin-login {
  display: grid;
  gap: 16px;
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(69, 185, 242, 0.12);
  max-width: 420px;
}

.admin-login input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(69, 185, 242, 0.3);
  margin-top: 6px;
  font-family: inherit;
}

.admin-preview {
  margin-top: 8px;
}

.admin-preview img {
  display: none;
}

.admin-preview img[src] {
  display: block;
}

.gallery-form {
  display: grid;
  gap: 16px;
  background: var(--surface-soft);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(69, 185, 242, 0.12);
}

.gallery-form input,
.gallery-form textarea,
.gallery-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(69, 185, 242, 0.3);
  margin-top: 6px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}

.gallery-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-json {
  width: 100%;
  border-radius: 10px;
  border: 1px dashed rgba(69, 185, 242, 0.4);
  padding: 10px 12px;
  font-family: inherit;
}

.gallery-list {
  display: grid;
  gap: 12px;
}

.gallery-row {
  background: var(--surface-soft);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(69, 185, 242, 0.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.gallery-row p {
  margin-top: 6px;
  color: var(--ink-soft);
}

.gallery-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.footer-links {
  display: grid;
  gap: 8px;
}

@media (max-width: 720px) {
  .nav-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    margin-top: 32px;
  }

  .hero-card {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 6vw;
  }

  .contact-strip {
    margin: 0 6vw;
    flex-direction: column;
    align-items: flex-start;
  }

  .image-frame {
    padding: 4px;
  }

  .image-frame.small,
  .image-frame.medium,
  .image-frame.tall {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item .image-frame {
    aspect-ratio: 4 / 3;
  }

  .partners-grid,
  .gallery-grid,
  .gallery-large-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .gallery-admin-panel {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-row-actions {
    width: 100%;
  }

  .admin-login {
    max-width: 100%;
  }

  .footer {
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-thumbs img {
    height: 90px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 22, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(6, 17, 22, 0.35);
}

.lightbox-nav {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #061116;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.prev {
  margin-right: 16px;
}

.lightbox-nav.next {
  margin-left: 16px;
}

.lightbox.is-active {
  display: flex;
}
