:root {
  --bg: #0b0f1f;
  --panel: rgba(10, 18, 40, 0.85);
  --text: #f3f5ff;
  --muted: #b1c3e7;
  --accent: #68c1ff;
  --accent-dark: #2d88e1;
  --border: rgba(165, 182, 209, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(
    circle at top left,
    #152246 0%,
    #090f1e 45%,
    #080f1e 100%
  );
  line-height: 1.6;
}

.container {
  width: min(1180px, 94vw);
  margin-inline: auto;
  padding-block: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 14, 31, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-bottom: 1px solid #1b2c58;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-decoration: none;
  font-weight: 700;
}

.brand span {
  color: #68c1ff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(193, 219, 255, 0.35);
  background: rgba(16, 24, 44, 0.84);
  color: #d9e7ff;
  font-size: 1.2rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.main-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 80vw);
    background: rgba(9, 18, 36, 0.98);
    border-left: 1px solid #1c2d5f;
    flex-direction: column;
    padding: 5rem 1.1rem 1.5rem;
    align-items: flex-start;
    gap: 0.95rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.1rem;
    width: 100%;
  }

  .main-nav .btn-secondary {
    margin-top: 0.3rem;
    width: 100%;
    text-align: center;
  }
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  background: url("images/533589640_24119802567704238_1358274921823205729_n.jpg")
    center/cover no-repeat;
  min-height: 58vh;
  display: grid;
  place-items: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(5, 10, 25, 0.65),
    rgba(15, 25, 48, 0.63)
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  background: rgba(8, 13, 26, 0.48);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 2rem 2.2rem;
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(2, 9, 23, 0.45);
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  background: linear-gradient(120deg, #a0d9ff, #f5faff 45%, #b5d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.07rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.btn {
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.45rem;
  letter-spacing: 0.02em;
  display: inline-block;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #73b1fa, #4d94f2);
  color: #fff;
  box-shadow: 0 10px 25px rgba(42, 118, 225, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42, 118, 225, 0.55);
}

.btn-secondary {
  background: linear-gradient(135deg, #4c76bd, #2a6acc);
  color: #fff;
  border: 1px solid rgba(162, 190, 255, 0.35);
  padding: 0.68rem 1.25rem;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 84, 155, 0.45);
}

.section h2 {
  margin-top: 0;
  color: #f8f9ff;
}

.section p,
.section ul {
  color: var(--muted);
}

.section ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-7px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 260px;
}

.item-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 28, 47, 0.45);
  color: #d9eafc;
  opacity: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .item-overlay,
.gallery-item:focus-within .item-overlay {
  opacity: 1;
}

.gallery-item figcaption {
  margin: 0;
  padding: 0.7rem 0.8rem;
  color: #9fb2d1;
  font-size: 0.85rem;
  background: rgba(8, 15, 32, 0.92);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #3b5c94;
  border-radius: 12px;
  background: rgba(11, 22, 42, 0.85);
  color: #edf0ff;
  padding: 0.85rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(64, 137, 236, 0.3);
  border-color: #69b1fd;
}

.contact-form button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2aa3fd, #5496f9);
  color: #fff;
  padding: 0.95rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(27, 110, 207, 0.4);
}

.site-footer {
  padding: 1.05rem 0;
  border-top: 1px solid #1f3161;
  text-align: center;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 28, 0.92);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 1.2rem;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 860px);
  max-height: min(82vh, 620px);
  border-radius: 12px;
  border: 2px solid #4970ad;
  box-shadow: 0 14px 32px rgba(2, 8, 23, 0.6);
}

.lightbox p {
  color: #d5e6fb;
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(35, 53, 104, 0.82);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: scale(1.08);
  background: rgba(38, 63, 118, 0.96);
}

@media (max-width: 780px) {
  .hero-inner,
  .container {
    padding-block: 1.25rem;
  }

  .gallery-item img {
    height: 210px;
  }
}
