/* ================================================================
   SAMAAN MIKHAEL — CONTACT PAGE  |  assets/css/contact.css
   All contact-specific styles. Inherits CSS vars from main.css.
   ================================================================ */

/* ── HERO ─────────────────────────────────────────────────────── */
.ct-hero {
  background: var(--bg);
  overflow-x: clip;
  transition: background 0.7s cubic-bezier(0.76,0,0.24,1);
}

.ct-hero-kinetic {
  will-change: transform;
}

.ct-portrait-wrap {
  perspective: 900px;
  position: relative;
}

.ct-portrait-baseline {
  position: absolute;
  bottom: 0;
  left: -12%;
  right: -12%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(187,38,73,0.18) 25%,
    rgba(187,38,73,0.45) 50%,
    rgba(187,38,73,0.18) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.ct-portrait-mask {
  display: inline-block;
  will-change: clip-path;
  transform-style: preserve-3d;
}

.ct-portrait-img {
  display: block;
  will-change: transform;
}

.ct-portrait-ground {
  position: absolute;
  bottom: -2px;
  left: -15%;
  right: -15%;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, var(--bg) 15%, transparent 100%);
  pointer-events: none;
  z-index: 3;
  transition: background 0.7s cubic-bezier(0.76,0,0.24,1);
}

@keyframes scrollPulseCt {
  0%   { transform: translateY(-100%); opacity: 1; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(100%); opacity: 0; }
}
.ct-hero .scroll-pulse-line { animation: scrollPulseCt 1.8s ease-in-out infinite; }

@media (max-width: 767px) {
  .ct-hero { min-height: 100svh; }
  .ct-portrait-mask { max-width: 200px; }
}

/* ── HERO TITLE ────────────────────────────────────────────────── */
.ct-hero-title {
  font-family: 'BUNDAYCLEAN', 'Bebas Neue', sans-serif;
}

.ct-hero-title .word,
.ct-hero-title .char {
  display: inline-block;
  will-change: transform;
  font-family: inherit;
}

/* SplitType wraps lines — each line needs overflow hidden */
.ct-hero-title .line {
  overflow: hidden;
  display: block;
}

/* ── GENERIC ──────────────────────────────────────────────────── */
.ct-reveal {
  will-change: opacity, transform;
}

/* ── SECTION HEADING ──────────────────────────────────────────── */
.ct-section-heading {
  font-family: 'BUNDAYCLEAN', 'Bebas Neue', sans-serif;
}

.ct-line-char {
  display: block;
  will-change: transform;
  font-family: inherit;
}

/* ── CONTACT SECTION ──────────────────────────────────────────── */
.ct-contact {
  background: var(--bg);
  transition: background 0.7s cubic-bezier(0.76,0,0.24,1);
}

/* ── INFO CARDS ───────────────────────────────────────────────── */
.ct-info-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text-primary);
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.4s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}

.ct-info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #BB2649, #DB343B);
  transition: width 0.55s cubic-bezier(0.76,0,0.24,1);
}

.ct-info-card:hover {
  border-color: rgba(187,38,73,0.25);
  background: linear-gradient(145deg, var(--bg-card) 60%, rgba(187,38,73,0.04) 100%);
  transform: translateY(-3px);
}

.ct-info-card:hover::after { width: 100%; }

.ct-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(187,38,73,0.08);
  border: 1px solid rgba(187,38,73,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BB2649;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ct-info-card:hover .ct-info-icon {
  background: rgba(187,38,73,0.15);
  border-color: rgba(187,38,73,0.3);
}

.ct-info-body {
  flex: 1;
  min-width: 0;
}

.ct-info-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(187,38,73,0.8);
  margin-bottom: 0.35rem;
}

.ct-info-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct-info-arrow {
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.ct-info-card:hover .ct-info-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── PULL QUOTE ───────────────────────────────────────────────── */
.ct-pull-quote {
  color: var(--text-primary);
}

/* ── SOCIAL LINKS ─────────────────────────────────────────────── */
.ct-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.35s cubic-bezier(0.23,1,0.32,1);
  text-decoration: none;
}

.ct-social:hover {
  color: #BB2649;
  border-color: rgba(187,38,73,0.4);
  background: rgba(187,38,73,0.06);
  transform: translateY(-3px);
}

/* ── CONTACT FORM ─────────────────────────────────────────────── */
.ct-form-col {
  position: relative;
}

.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(1.5rem,3vw,2.5rem);
}

.ct-field {
  position: relative;
  padding-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
}

.ct-field--full {
  grid-column: 1 / -1;
}

.ct-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(187,38,73,0.85);
  margin-bottom: 0.6rem;
}

.ct-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.ct-input::placeholder { color: var(--text-muted); opacity: 0.5; }
.ct-input:focus { border-bottom-color: #BB2649; }

.ct-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(187,38,73,0.5)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.ct-select option { background: #471C2F; color: #F9F6F7; }

.ct-textarea {
  resize: none;
  min-height: 100px;
}

.ct-form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1rem;
}

.ct-submit {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ct-form-note {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 42ch;
}

@media (max-width: 640px) {
  .ct-form-grid { grid-template-columns: 1fr; gap: 0; }
  .ct-info-value { font-size: 13px; }
}

@media (max-width: 767px) {
  .ct-portrait-mask { max-width: 200px; }
}
