:root {
  --hot-pink: #ff1f6d;
  --electric-blue: #1f7dff;
  --vibrant-lime: #7aff1f;
  --pastel-pink: #ff8fae;
  --deep-purple: #7c3aed;
  --midnight-navy: #0b132b;
  --white: #ffffff;
  --off-white: #f7f7fa;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--midnight-navy);
  background: var(--white);
  border: 72px solid var(--hot-pink);
  border-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Boldonse", cursive;
}

section {
  scroll-margin-top: var(--nav-height);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--hot-pink);
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--deep-purple);
  border-color: var(--deep-purple);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Hero / Home */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: var(--hot-pink);
  color: var(--white);
}

#home .hero-content {
  max-width: 640px;
}

#home p {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--hot-pink);
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 31, 109, 0.35);
}

#home .btn {
  background: var(--midnight-navy);
}

#home .btn:hover {
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.45);
}

/* Section headings */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  color: var(--pastel-pink);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-heading .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--deep-purple);
  margin: 0 auto;
  border-radius: 999px;
}

/* About */
#about {
  padding: 6rem 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a3f4b;
  margin-bottom: 1rem;
}

.about-image {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery */
#gallery {
  padding: 6rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
  background: none;
  font: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
  outline: 3px solid transparent;
}

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

.gallery-item:hover {
  transform: translateY(-4px);
  outline-color: var(--vibrant-lime);
  box-shadow: 0 10px 24px rgba(11, 19, 43, 0.2);
}

/* Gallery dialog */
.gallery-dialog {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 900px;
  width: 90vw;
  background: var(--white);
  color: var(--midnight-navy);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease, overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}

.gallery-dialog[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .gallery-dialog[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}
.gallery-dialog::backdrop {
  background: rgba(11, 19, 43, 0.75);
  opacity: 0;
  transition: opacity 0.25s ease, overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}

.gallery-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .gallery-dialog[open]::backdrop {
    opacity: 0;
  }
}
.dialog-content {
  display: flex;
  max-height: 80vh;
}

.dialog-content img {
  flex: 1;
  min-width: 0;
  width: 100%;
  object-fit: cover;
}

.dialog-text {
  width: 300px;
  flex-shrink: 0;
  padding: 2rem;
  overflow-y: auto;
}

.dialog-text h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.dialog-text p {
  line-height: 1.6;
  color: #3a3f4b;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 19, 43, 0.08);
  color: var(--midnight-navy);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-close:hover {
  background: rgba(11, 19, 43, 0.16);
}

@media (max-width: 640px) {
  .dialog-content {
    flex-direction: column;
    max-height: 85vh;
    overflow-y: auto;
  }
  .dialog-content img {
    width: 100%;
    max-height: 50vh;
  }
  .dialog-text {
    width: 100%;
  }
}
/* Contact */
#contact {
  padding: 6rem 0;
  background: var(--midnight-navy);
  color: var(--white);
}

#contact .section-heading p {
  color: var(--pastel-pink);
  margin-top: 0.5rem;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.9rem;
  color: var(--pastel-pink);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(31, 125, 255, 0.25);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
}

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 31, 109, 0.25);
  border-top-color: var(--hot-pink);
  animation: spin 0.7s linear infinite;
}

.spinner[hidden] {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-status {
  font-size: 0.95rem;
  color: var(--vibrant-lime);
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  color: var(--hot-pink);
}

.grecaptcha-badge {
  display: none;
}

/* Footer */
footer {
  background: #08101f;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-blurb p {
  line-height: 1.7;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact a:hover {
  color: var(--hot-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    border-width: 20px;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--hot-pink);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open {
    max-height: 300px;
  }
  .nav-links a {
    padding: 1rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-toggle {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
