/* ============================================================
   Marketing Club – Elementor Addon Stylesheet
   Mirrors the original Lovable design faithfully.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --mc-primary:       #e05c30;
  --mc-foreground:    #161c2a;
  --mc-muted:         #6b7280;
  --mc-bg:            #f7f4f0;
  --mc-card:          #ffffff;
  --mc-border:        #e8e0d5;
  --mc-font-display:  'Playfair Display', Georgia, serif;
  --mc-font-body:     'DM Sans', system-ui, sans-serif;
  --mc-shadow:        0 4px 24px -4px rgba(22, 28, 42, 0.06);
  --mc-shadow-hover:  0 12px 40px -8px rgba(224, 92, 48, 0.15);
  --mc-radius:        16px;
  --mc-radius-sm:     8px;
}

/* ---------- Reset / Base ---------- */
.mc-header,
.mc-hero,
.mc-team-section,
.mc-footer {
  font-family: var(--mc-font-body);
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
.mc-header {
  border-bottom: 1px solid var(--mc-border);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.mc-header-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.mc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.mc-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--mc-radius-sm);
  background-color: var(--mc-primary);
  color: #fff;
  font-family: var(--mc-font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-logo-text {
  font-family: var(--mc-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--mc-foreground);
  line-height: 1;
}

/* Desktop nav */
.mc-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mc-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--mc-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.mc-nav-link:hover,
.mc-nav-link.is-active {
  color: var(--mc-primary);
}

/* Hamburger */
.mc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.mc-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--mc-foreground);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mc-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mc-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mc-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mc-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--mc-border);
  gap: 4px;
}

.mc-mobile-nav .mc-nav-link {
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--mc-border);
}

.mc-mobile-nav .mc-nav-link:last-child {
  border-bottom: none;
}

/* ============================================================
   HERO
   ============================================================ */
.mc-hero {
  position: relative;
  padding: 112px 24px;
  text-align: center;
  overflow: hidden;
}

.mc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(224, 92, 48, 0.05), transparent);
  pointer-events: none;
}

.mc-hero-inner {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
}

.mc-hero-badge {
  display: inline-block;
  border-radius: 9999px;
  background-color: rgba(224, 92, 48, 0.10);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mc-primary);
  margin-bottom: 24px;
}

.mc-hero-title {
  font-family: var(--mc-font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--mc-foreground);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.mc-hero-title-accent {
  color: var(--mc-primary);
}

.mc-hero-sub {
  font-size: 18px;
  color: var(--mc-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.mc-team-section {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.mc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.mc-team-card {
  position: relative;
  border-radius: var(--mc-radius);
  background-color: var(--mc-card);
  overflow: hidden;
  box-shadow: var(--mc-shadow);
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.2), box-shadow 0.4s ease;
  will-change: transform;
}

.mc-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mc-shadow-hover);
}

/* Photo area */
.mc-team-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.mc-team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s ease;
}

.mc-team-card:hover .mc-team-photo-img {
  transform: scale(1.05);
}

/* Gradient overlay */
.mc-team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 28, 42, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mc-team-card:hover .mc-team-card-overlay {
  opacity: 1;
}

/* Social icons */
.mc-team-socials {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mc-team-card:hover .mc-team-socials {
  opacity: 1;
  transform: translateY(0);
}

.mc-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--mc-foreground);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.mc-social-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.mc-social-btn:hover {
  background-color: var(--mc-primary);
  color: #fff;
}

.mc-social-btn:hover svg {
  stroke: #fff;
}

/* Card info */
.mc-team-card-info {
  padding: 20px;
  text-align: center;
}

.mc-member-name {
  font-family: var(--mc-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--mc-foreground);
  margin: 0 0 4px;
  line-height: 1.2;
}

.mc-member-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mc-primary);
  margin: 0 0 8px;
}

.mc-member-bio {
  font-size: 14px;
  color: var(--mc-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mc-footer {
  border-top: 1px solid var(--mc-border);
  padding: 32px 24px;
  text-align: center;
}

.mc-footer p {
  font-size: 14px;
  color: var(--mc-muted);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .mc-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .mc-hero {
    padding: 80px 24px;
  }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  /* Header */
  .mc-nav { display: none; }
  .mc-hamburger { display: flex; }

  /* Hero */
  .mc-hero {
    padding: 60px 20px;
  }

  .mc-hero-sub {
    font-size: 16px;
  }

  /* Grid → 1 column */
  .mc-team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .mc-team-section {
    padding-bottom: 60px;
  }

  /* On touch devices always show socials */
  .mc-team-socials {
    opacity: 1;
    transform: translateY(0);
  }
  .mc-team-card-overlay {
    opacity: 1;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .mc-header-inner { padding: 12px 16px; }
  .mc-hero { padding: 48px 16px; }
  .mc-team-section { padding-left: 16px; padding-right: 16px; }
}
