/* ============================================
   VICTORIA HALKIAS — PORTFOLIO
   style.css
   ============================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --magenta:       #7B1C4E;
  --magenta-deep:  #5A1238;
  --magenta-light: #A8356F;
  --cream:         #FAF8F5;
  --ink:           #1A1118;
  --ink-mid:       #4A3A46;
  --ink-soft:      #8A7585;
  --rule:          #E8DDE5;
  --dark-bg:       #1A1118;
  --dark-card:     #1F1520;
  --dark-rule:     #2A1A24;
  --serif:         'Cormorant Garamond', Georgia, serif;
  --sans:          'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--magenta);
}

.nav-cta {
  background: var(--magenta);
  color: white !important;
  padding: 9px 22px;
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--magenta-deep);
  color: white !important;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.2s;
}


/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin-bottom: 32px;
}

.mobile-menu ul a {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  font-style: italic;
}

.mobile-menu ul a:hover {
  color: var(--magenta);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-soft);
  cursor: pointer;
}


/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--magenta);
  color: white;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--magenta-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--magenta);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--magenta);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.btn-secondary:hover {
  opacity: 0.7;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--magenta);
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}


/* ── SHARED SECTION ELEMENTS ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--magenta);
  display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--magenta);
}


/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-60%);
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 24px;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero-name em {
  font-style: italic;
  color: var(--magenta);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}


/* ── TICKER ── */
.ticker-wrapper {
  background: var(--magenta);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 40px;
  flex-shrink: 0;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── ABOUT ── */
.section-about {
  padding: 100px 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--ink);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}

.stat-item {
  background: var(--cream);
  padding: 32px 28px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--magenta);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.expertise-list {
  list-style: none;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-mid);
  font-weight: 300;
}

.expertise-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--magenta);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ── CASE STUDIES ── */
.section-work {
  background: var(--dark-bg);
  padding: 100px 48px;
}

.section-work .section-label {
  color: var(--magenta-light);
}

.section-work .section-label::after {
  background: var(--magenta-light);
}

.section-work .section-title {
  color: var(--cream);
}

.cases-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.cases-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--dark-rule);
}

.case-card {
  background: var(--dark-card);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
  background: #22151E;
}

.case-card:hover::before,
.case-card.open::before {
  transform: scaleX(1);
}

.case-card.open {
  background: #22151E;
}

.case-num {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--magenta-light);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  font-style: italic;
}

.case-brand {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.case-card .case-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-tag {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--dark-rule);
  color: var(--ink-soft);
  border-radius: 1px;
}

.case-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-light);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  transition: gap 0.2s;
}

.case-toggle:hover {
  gap: 14px;
}

/* Accordion body */
.case-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-body.open {
  max-height: 1200px;
}

.case-body-inner {
  padding-top: 36px;
  border-top: 1px solid var(--dark-rule);
  margin-top: 28px;
}

.case-section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta-light);
  margin-top: 24px;
  margin-bottom: 10px;
}

.case-section-label:first-child {
  margin-top: 0;
}

.case-body p {
  font-size: 0.9rem;
  color: #B09AAA;
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 300;
}

.case-result {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-rule);
  flex-wrap: wrap;
}

.result-metric {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--magenta-light);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 4px;
}

.result-desc {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  line-height: 1.4;
}


/* ── RESUME CTA ── */
.section-resume {
  background: var(--magenta);
  padding: 100px 48px;
  text-align: center;
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  opacity: 0.7;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 48px;
}


/* ── FOOTER ── */
.contact-bar {
  background: var(--ink);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #B09AAA;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.contact-item:hover {
  color: white;
}

.contact-dot {
  width: 6px;
  height: 6px;
  background: var(--magenta-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.72rem;
  color: #4A3A46;
  letter-spacing: 0.1em;
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #navbar {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .section-about {
    padding: 72px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-work {
    padding: 72px 24px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 40px 28px;
  }

  .section-resume {
    padding: 72px 24px;
  }

  .contact-bar {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-bg-text {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card {
    padding: 32px 20px;
  }
}


/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
