/* ============================================
   GLASS ELEGANCE II — ACN Agency Design #075
   Stained Glass Modern / Art Gallery Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── Variables ── */
:root {
  --burgundy:    #2d1b1b;
  --burgundy-lt: #3d2828;
  --burgundy-dk: #1a0f0f;
  --rose-glass:  rgba(200, 150, 150, 0.12);
  --rose-glass2: rgba(180, 120, 120, 0.08);
  --silver:      #c0c0c0;
  --silver-lt:   #d8d8d8;
  --silver-dk:   #8a8a8a;
  --ivory:       #fffff0;
  --ivory-dim:   rgba(255, 255, 240, 0.72);
  --ivory-ghost: rgba(255, 255, 240, 0.08);
  --white:       #ffffff;
  --shadow-soft: rgba(45, 27, 27, 0.18);
  --shadow-deep: rgba(45, 27, 27, 0.40);
  --font:        'Cormorant', Georgia, serif;
  --max-w:       1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  background-color: var(--burgundy-dk);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(180,100,100,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(200,150,150,0.05) 0%, transparent 60%),
    linear-gradient(175deg, var(--burgundy) 0%, var(--burgundy-dk) 100%);
  color: var(--ivory);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--burgundy-dk); }
::-webkit-scrollbar-thumb { background: var(--silver-dk); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(200,150,150,0.25); color: var(--ivory); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { font-size: 1.05rem; line-height: 1.85; color: rgba(255,255,240,0.78); }
a { color: var(--silver-lt); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--ivory); }
em { font-style: italic; color: var(--silver-lt); }

/* ── Glass Panel — Stained Glass Effect ── */
.glass-panel {
  position: relative;
  background: var(--rose-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200,150,150,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200,150,150,0.08) 0%,
    transparent 50%,
    rgba(180,100,120,0.05) 100%
  );
  pointer-events: none;
}
.glass-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,150,150,0.35), transparent);
}

/* ── Glass Card (elevated) ── */
.glass-card {
  background: linear-gradient(
    150deg,
    rgba(200,150,150,0.14) 0%,
    rgba(180,120,120,0.08) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(200,150,150,0.20);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,180,180,0.4), transparent);
}

/* ── Layout Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background: linear-gradient(180deg, rgba(45,27,27,0.92) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,150,150,0.10);
  transition: background 0.4s;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
}
.nav-brand span { color: var(--silver); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--silver);
  transition: width 0.4s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-art .glass-arc {
  position: absolute;
  border: 1px solid rgba(200,150,150,0.08);
  border-radius: 50%;
}
.hero-bg-art .glass-arc:nth-child(1) {
  width: 700px; height: 700px;
  top: -200px; right: -100px;
  border-color: rgba(200,150,150,0.06);
}
.hero-bg-art .glass-arc:nth-child(2) {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  border-color: rgba(180,120,120,0.05);
}
.hero-bg-art .glass-arc:nth-child(3) {
  width: 200px; height: 200px;
  top: 40%; left: 15%;
  border-color: rgba(200,150,150,0.04);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--silver);
  opacity: 0.6;
}
.hero h1 {
  margin-bottom: 1.8rem;
  line-height: 1.08;
}
.hero h1 em { font-style: italic; color: var(--silver-lt); }
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,240,0.65);
  max-width: 560px;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--rose-glass);
  border-color: rgba(200,150,150,0.45);
  color: var(--ivory);
  backdrop-filter: blur(8px);
}
.btn-primary::before {
  background: linear-gradient(135deg, rgba(200,150,150,0.2), transparent);
}
.btn-primary:hover {
  border-color: rgba(200,150,150,0.7);
  color: var(--white);
  box-shadow: 0 4px 30px rgba(200,150,150,0.15);
}

.btn-outline {
  background: transparent;
  border-color: rgba(192,192,192,0.35);
  color: var(--silver);
}
.btn-outline::before {
  background: rgba(192,192,192,0.06);
}
.btn-outline:hover {
  border-color: var(--silver);
  color: var(--ivory);
}

/* ── Section Styling ── */
section { padding: 7rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.2rem;
  display: block;
}
.section-header h2 { margin-bottom: 1.2rem; }
.section-header p { max-width: 540px; margin: 0 auto; }

/* ── Features / Services Grid ── */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.glass-item {
  padding: 2.8rem 2.2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(45,27,27,0.25);
}
.glass-item-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.6rem;
  opacity: 0.7;
}
.glass-item h3 { margin-bottom: 0.9rem; font-weight: 400; }
.glass-item p { font-size: 0.98rem; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(200,150,150,0.15);
  position: relative;
  cursor: pointer;
  transition: border-color 0.4s;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.6s ease;
  filter: sepia(15%) saturate(85%) brightness(0.92);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: sepia(5%) saturate(100%) brightness(1.0);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45,27,27,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
}

/* ── Divider ── */
.glass-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  margin: 2rem auto;
}
.glass-divider-long {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,150,150,0.2), transparent);
  margin: 0;
}

/* ── Footer ── */
.site-footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(200,150,150,0.12);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,150,150,0.3), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand { }
.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  font-size: 0.95rem;
  color: rgba(255,255,240,0.55);
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--ivory); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,150,150,0.08);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--silver-dk);
  letter-spacing: 0.08em;
}

/* ── Page Header ── */
.page-header {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(200,150,150,0.06), transparent 70%);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { max-width: 520px; margin: 0 auto; font-size: 1.1rem; }

/* ── Forms ── */
.glass-form { }
.form-group {
  margin-bottom: 1.8rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.7rem;
}
.glass-input,
.glass-textarea,
.glass-select {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ivory);
  background: rgba(200,150,150,0.06);
  border: 1px solid rgba(200,150,150,0.20);
  border-radius: 1px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.glass-input::placeholder,
.glass-textarea::placeholder { color: rgba(200,192,192,0.4); font-style: italic; }
.glass-input:focus,
.glass-textarea:focus,
.glass-select:focus {
  border-color: rgba(200,150,150,0.5);
  background: rgba(200,150,150,0.10);
}
.glass-textarea { resize: vertical; min-height: 140px; }
.glass-select {
  appearance: none;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,150,150,0.12);
  border: 1px solid rgba(200,150,150,0.12);
}
.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(45,27,27,0.6);
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,150,150,0.3), transparent);
}
.stat-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ── Testimonial ── */
.testimonial-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
}
.testimonial-block blockquote {
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ivory);
  margin-bottom: 2rem;
  font-weight: 300;
}
.testimonial-block cite {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  font-style: normal;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  padding: 2.5rem 2rem;
  text-align: center;
}
.team-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(200,150,150,0.3);
  overflow: hidden;
  background: var(--rose-glass);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card .avatar svg { width: 36px; height: 36px; opacity: 0.6; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.team-card .role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
}
.team-card p { font-size: 0.92rem; }

/* ── Docs ── */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
}
.docs-sidebar h4 {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(200,150,150,0.15);
}
.docs-sidebar ul { list-style: none; }
.docs-sidebar ul li { margin-bottom: 0.4rem; }
.docs-sidebar ul a {
  font-size: 0.95rem;
  color: rgba(255,255,240,0.55);
  display: block;
  padding: 0.4rem 0;
  transition: color 0.3s, padding-left 0.3s;
}
.docs-sidebar ul a:hover, .docs-sidebar ul a.active {
  color: var(--ivory);
  padding-left: 0.5rem;
}
.docs-content { padding: 0 1rem 3rem; }
.docs-content h2 { margin: 3rem 0 1.2rem; font-size: 1.9rem; }
.docs-content h3 { margin: 2rem 0 1rem; font-size: 1.4rem; }
.docs-content p { margin-bottom: 1.2rem; }
.docs-content ul, .docs-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: rgba(255,255,240,0.72);
}
.docs-content li { margin-bottom: 0.5rem; }
.docs-content code {
  font-family: monospace;
  font-size: 0.88em;
  background: rgba(200,150,150,0.1);
  padding: 0.15em 0.5em;
  border-radius: 2px;
  color: var(--silver-lt);
}
.docs-content pre {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(200,150,150,0.12);
  border-radius: 2px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.docs-content pre code {
  background: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ivory-dim);
}

/* ── Decorative SVG Ornaments ── */
.ornament {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  opacity: 0.5;
}
.ornament-line {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}

/* ── Page Transitions ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.15s; opacity: 0; }
.delay-2 { animation-delay: 0.3s; opacity: 0; }
.delay-3 { animation-delay: 0.45s; opacity: 0; }
.delay-4 { animation-delay: 0.6s; opacity: 0; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 0; }
  .hero { padding: 7rem 0 4rem; }
  .section-header { margin-bottom: 3rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { aspect-ratio: 1; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
