/* ═══════════════════════════════════════════
   Lily Evergloom — Tattoo Portfolio
   Theme: Light / Pastel Pink / Ethereal
   ═══════════════════════════════════════════ */

:root {
  --bg-primary: #f7eaf0;
  --bg-secondary: #f0dce4;
  --bg-card: #ffffff;
  --pink-light: #fce4ec;
  --pink: #f0b0c4;
  --pink-deep: #e07090;
  --pink-dark: #c85070;
  --text-primary: #2c1a24;
  --text-secondary: #6a4a58;
  --text-muted: #a08088;
  --accent-rose: #f0b0c4;
  --border: #e8c8d8;
  --shadow: rgba(200, 80, 112, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ✦ SPARKLES BACKGROUND ✦ */
.sparkles {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sparkles::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fce4ec 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 30% 60%, #f0b0c4 50%, transparent 50%),
    radial-gradient(2px 2px at 50% 10%, #fce4ec 50%, transparent 50%),
    radial-gradient(2px 2px at 70% 40%, #f0b0c4 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 90% 80%, #e07090 50%, transparent 50%),
    radial-gradient(2px 2px at 15% 85%, #fce4ec 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 45%, #f0b0c4 50%, transparent 50%),
    radial-gradient(2px 2px at 65% 75%, #e07090 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 25%, #fce4ec 50%, transparent 50%),
    radial-gradient(2px 2px at 5% 55%, #f0b0c4 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 25% 35%, #fce4ec 50%, transparent 50%),
    radial-gradient(2px 2px at 55% 65%, #e07090 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 75% 15%, #f0b0c4 50%, transparent 50%),
    radial-gradient(2px 2px at 95% 95%, #fce4ec 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 35% 95%, #f0b0c4 50%, transparent 50%),
    /* Extra stars for more visibility */
    radial-gradient(2px 2px at 8% 40%, #ffffff 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 60% 20%, #ffffff 50%, transparent 50%),
    radial-gradient(2px 2px at 40% 80%, #fce4ec 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 20% 70%, #ffffff 50%, transparent 50%),
    radial-gradient(2px 2px at 80% 55%, #f0b0c4 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 48% 30%, #ffffff 50%, transparent 50%),
    radial-gradient(2px 2px at 12% 8%, #fce4ec 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 92% 68%, #ffffff 50%, transparent 50%),
    radial-gradient(2px 2px at 38% 12%, #e07090 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 72% 88%, #fce4ec 50%, transparent 50%);
  background-size: 400px 400px;
  animation: sparkle-drift 60s linear infinite;
  opacity: 0.85;
}
.sparkles::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -30%;
  left: -30%;
  background-image:
    radial-gradient(1px 1px at 22% 33%, #ffffff 50%, transparent 50%),
    radial-gradient(1px 1px at 76% 22%, #fce4ec 50%, transparent 50%),
    radial-gradient(1px 1px at 33% 67%, #ffffff 50%, transparent 50%),
    radial-gradient(1px 1px at 88% 44%, #f0b0c4 50%, transparent 50%),
    radial-gradient(1px 1px at 55% 88%, #ffffff 50%, transparent 50%),
    radial-gradient(1px 1px at 44% 15%, #fce4ec 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 55%, #ffffff 50%, transparent 50%),
    radial-gradient(1px 1px at 66% 77%, #e07090 50%, transparent 50%);
  background-size: 300px 300px;
  animation: sparkle-drift 45s linear infinite reverse;
  opacity: 0.5;
}

@keyframes sparkle-drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
  100% { transform: translate(-60px, -60px); }
}

/* ── TWINKLE ANIMATION ── */
@keyframes twinkle {
  0%, 100% { opacity: 0.1; transform: scale(0.5); }
  20% { opacity: 0.3; transform: scale(0.7); }
  40% { opacity: 1; transform: scale(1.3); }
  60% { opacity: 0.5; transform: scale(0.9); }
  80% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes twinkle-fast {
  0%, 100% { opacity: 0.05; transform: scale(0.3); }
  30% { opacity: 0.4; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.5); }
  70% { opacity: 0.3; transform: scale(0.5); }
}

/* ═══════════════ HEADER ═══════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(247, 234, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 234, 240, 0.95);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--pink-dark);
  text-decoration: none;
  position: relative;
}
.logo span {
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink-deep);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--pink-dark);
}
.nav-links a:hover::after {
  width: 100%;
}
.insta-link {
  color: var(--pink-dark) !important;
  font-weight: 500 !important;
}
.socials-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.socials-nav .socials-label {
  font-size: 1.15rem;
  line-height: 1;
}
.socials-nav a {
  color: var(--pink-dark) !important;
  font-weight: 500 !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.socials-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink-deep);
  transition: var(--transition);
}
.socials-nav a:hover {
  color: var(--pink-deep) !important;
}
.socials-nav a:hover::after {
  width: 100%;
}
.socials-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-sep {
  color: var(--text-muted);
}
.studio-link {
  color: var(--pink) !important;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px dotted var(--pink-dark);
}
.studio-link:hover {
  color: var(--pink-light) !important;
  border-bottom-style: solid;
}
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--pink-dark);
  color: var(--pink-dark);
  font-size: 1.2rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-toggle:hover {
  background: var(--pink-deep);
  color: white;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240, 176, 196, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200, 80, 112, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(240, 176, 196, 0.1) 0%, transparent 50%);
}
.hero-flowers {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flower {
  position: absolute;
  font-size: 2rem;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}
.f1 { top: 15%; left: 8%; animation-delay: 0s; }
.f2 { top: 25%; right: 10%; animation-delay: 1.5s; }
.f3 { bottom: 30%; left: 12%; animation-delay: 3s; }
.f4 { bottom: 20%; right: 8%; animation-delay: 4.5s; }
.f5 { top: 50%; left: 50%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-text {
  max-width: 700px;
}
.hero-tagline {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  color: var(--pink-dark);
  margin-bottom: 16px;
  letter-spacing: 3px;
  font-weight: 500;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-text h1 span {
  color: var(--pink-dark);
  font-style: italic;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--pink-deep);
  color: white;
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 106, 136, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--pink-dark);
  border: 1px solid var(--pink-deep);
}
.btn-secondary:hover {
  background: rgba(224, 112, 144, 0.08);
  border-color: var(--pink-dark);
  transform: translateY(-2px);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--pink-dark);
  animation: bounce 2s infinite;
  opacity: 0.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════ SECTIONS ═══════════════ */
section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-ornament {
  font-size: 1rem;
  color: var(--pink-dark);
  letter-spacing: 8px;
  display: block;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ═══════════════ GALLERY / PORTFOLIO ═══════════════ */
.work {
  background: var(--bg-secondary);
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover {
  border-color: var(--pink-deep);
  color: var(--pink-dark);
}
.filter-btn.active {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  color: white;
  font-weight: 500;
}
.gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 8px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-deep) var(--border);
  -webkit-overflow-scrolling: touch;
}
.gallery-grid::-webkit-scrollbar {
  height: 6px;
}
.gallery-grid::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}
.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--pink-deep);
  border-radius: 3px;
}
.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  animation: fade-in 0.6s ease-out var(--delay) both;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.gallery-item:hover {
  border-color: var(--pink-deep);
  box-shadow: 0 12px 40px var(--shadow);
}
.gallery-item.hidden {
  display: none;
}
.gallery-placeholder {
  position: relative;
  width: 280px;
  height: 400px;
  overflow: hidden;
}
.placeholder-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}
.placeholder-svg {
  width: 70%;
  height: 70%;
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-info {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
}
.gallery-info h3 {
  display: none;
}
.gallery-info span {
  font-size: 0.8rem;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══════════════ ABOUT ═══════════════ */
.about {
  background: var(--bg-primary);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  display: flex;
  justify-content: center;
}
.about-portrait {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pink-deep);
  position: relative;
  background: var(--bg-secondary);
  box-shadow: 0 8px 32px var(--shadow), 0 0 0 1px var(--pink-deep) inset;
}
.about-portrait::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--pink-deep);
  opacity: 0.4;
  animation: spin 30s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}
.portrait-svg {
  width: 80%;
  height: 80%;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.about-portrait:hover .portrait-img {
  transform: scale(1.05);
}
.about-text .section-ornament {
  text-align: left;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.about-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: var(--pink-deep);
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 520px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.stat-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}
.stat-link:hover {
  transform: translateY(-2px);
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--pink-dark);
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  background: var(--bg-secondary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--pink-deep);
  transform: translateY(-2px);
}
.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}
.contact-card h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
}
.contact-card a:hover {
  color: var(--pink-dark);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(240, 176, 196, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-hint {
  font-size: 0.85rem;
  color: var(--pink-dark);
  font-style: italic;
}
.form-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-file-label:hover {
  border-color: var(--pink-deep);
  color: var(--text-primary);
  background: rgba(240, 176, 196, 0.05);
}
.form-file-icon {
  font-size: 1.1rem;
}
.form-file-name {
  color: var(--pink-dark);
  font-weight: 500;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}
.btn-loading { display: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline; }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success.show {
  display: block;
  animation: fade-up 0.5s ease-out;
}
.form-success span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-primary);
}

/* ═══════════════ FOOTER ═══════════════ */
footer {
  background: var(--bg-primary);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-flowers {
  font-size: 1.2rem;
  color: var(--pink-dark);
  letter-spacing: 6px;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--pink-dark);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════ LIGHTBOX ═══════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(247, 234, 240, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open {
  display: flex;
  animation: fade-in 0.3s ease-out;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--pink-dark);
  color: var(--pink);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: var(--pink-dark);
  color: white;
}
.lightbox-content {
  text-align: center;
  max-width: 500px;
}
.lightbox-placeholder {
  width: 300px;
  height: 300px;
  margin: 0 auto 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.lightbox-placeholder svg path,
.lightbox-placeholder svg circle,
.lightbox-placeholder svg text {
  stroke: var(--pink-dark);
  fill: var(--pink-light);
}
.lightbox-svg {
  width: 100%;
  height: 100%;
}
.lightbox-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.lightbox-category {
  color: var(--pink-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lightbox-desc {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-text p { max-width: 100%; }
  .about-text .section-ornament { text-align: center; }
  .about-stats { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-card { flex: 1; min-width: 140px; }
  .hero-text h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .hero { justify-content: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; padding: 0; width: 100%; }
  .hero-text { text-align: center; width: 100%; padding: 0 16px; }
  .hero-text h1 { text-align: center; }
  .hero-tagline { text-align: center; font-size: 0.9rem; letter-spacing: 2px; }
  .hero-desc { text-align: center; margin: 0 auto 40px auto; max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-text h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 2rem; }
  .gallery-item { flex: 0 0 220px; }
  .gallery-placeholder { width: 220px; height: 310px; }
}

@media (max-width: 500px) {
  .hero { justify-content: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; padding: 0; width: 100%; }
  .hero-text { text-align: center; width: 100%; padding: 0 12px; }
  .hero-text h1 { text-align: center; }
  .hero-tagline { text-align: center; font-size: 0.8rem; letter-spacing: 1.5px; }
  .hero-desc { text-align: center; margin: 0 auto 40px auto; max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-text h1 { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
  .about-stats { flex-direction: column; gap: 16px; }
}
