/* RESET + BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #040414;
  --bg-alt: #07071f;
  --bg-card: #111129;

  --accent: #ff2fd6;
  --accent2: #32f5ff;

  --text-main: #f5f5ff;
  --text-muted: #a1a1ce;
  --text-soft: #7c7ca8;

  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 35px rgba(50, 245, 255, 0.5);

  --max-width: 1120px;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 47, 214, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(50, 245, 255, 0.16), transparent 55%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* LAYOUT */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(12, 12, 48, 0.96), #050515);
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(2, 2, 20, 0.96),
    rgba(2, 2, 20, 0.9)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent2), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.logo-mark {
  font-size: 0.78rem;
  font-weight: 700;
  color: #050515;
}

.logo-text {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.logo-text span {
  color: var(--accent2);
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.18s ease-out, border-color 0.18s ease-out,
    transform 0.18s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--accent2);
  border-color: var(--accent2);
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #050515;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(255, 47, 214, 0.6);
}

.btn-accent {
  background: transparent;
  border-color: var(--accent2);
  color: var(--accent2);
  box-shadow: 0 0 24px rgba(50, 245, 255, 0.35);
}

.btn-accent:hover {
  background: rgba(50, 245, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 0.8rem 1.8rem;
}

.btn-full {
  width: 100%;
}

/* CARDS */
.card {
  background: linear-gradient(
    140deg,
    rgba(255, 47, 214, 0.04),
    rgba(9, 9, 44, 0.98)
  );
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
}

.card-glow {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(50, 245, 255, 0.28);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

/* TITLES */
.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.9rem;
}

.body-text {
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.neon {
  color: var(--accent2);
}

/* HERO */
.hero {
  padding: 4.4rem 0 4.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-meta span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 38, 0.92);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  bottom: 1rem;
  left: 1.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(3, 3, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.about-media img {
  height: 100%;
  object-fit: cover;
}

.about-caption {
  padding: 0.9rem 1.1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: rgba(5, 5, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-pillars {
  list-style: none;
  margin: 1rem 0 1.5rem;
  color: var(--text-soft);
}

.about-pillars li {
  margin-bottom: 0.4rem;
}

/* MEDIA GRID */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.media-image-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.media-card h3 {
  margin-bottom: 0.4rem;
}

.media-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.media-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* FLOWERS SECTION */
.flowers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.flowers-list {
  color: var(--text-soft);
  margin: 0.5rem 0 1.6rem;
  padding-left: 1.1rem;
}

.flowers-list li {
  margin-bottom: 0.4rem;
}

.flowers-wall {
  padding: 1.2rem;
}

.flowers-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.flowers-row img {
  flex: 1;
  border-radius: 12px;
  object-fit: cover;
}

.flowers-caption {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
}

/* HOMEWORK SECTION */
.homework-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.homework-card h3 {
  margin-bottom: 0.4rem;
}

.homework-card p {
  color: var(--text-soft);
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.homework-card ul {
  color: var(--text-soft);
  font-size: 0.88rem;
  padding-left: 1.1rem;
}

.homework-card li {
  margin-bottom: 0.35rem;
}

/* BROTHERS GRID */
.brothers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.brother-card {
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.brother-card h3 {
  margin-bottom: 0.4rem;
}

.brother-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.brother-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.9);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-list a {
  color: var(--accent2);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-card .contact-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

/* FORM */
.field-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  background: rgba(5, 5, 24, 0.96);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out,
    background 0.18s ease-out;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 20px rgba(50, 245, 255, 0.35);
  background: rgba(6, 6, 28, 0.98);
}

.form-status {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* FOOTER */
.site-footer {
  background: #02020d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2.4rem;
  padding: 2.5rem 0 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
  margin-bottom: 1.4rem;
}

.footer-logo {
  margin-bottom: 0.6rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-links h4 {
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
}

.footer-links a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-decoration: none;
  margin-bottom: 0.22rem;
}

.footer-links a:hover {
  color: var(--accent2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .flowers-grid,
  .homework-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.4rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1.5rem 1.3rem;
    background: rgba(3, 3, 18, 0.98);
    transform: translateY(-220%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 2rem;
  }

  .media-cta {
    flex-direction: column;
  }
}
