/* 
  Ben Fineman Website - Stylesheet
  Design Arc: Executive Polish -> Warm Community -> Rock Energy
*/

:root {
  /* Color Palette */
  /* Executive Theme */
  --exec-bg: #F8F9FA;
  --exec-surface: #FFFFFF;
  --exec-text: #1E293B;
  --exec-text-light: #475569;
  --exec-primary: #0F172A;
  --exec-accent: #2563EB;
  --exec-acc-hover: #1D4ED8;
  
  /* Warm Theme */
  --warm-bg: #FFFBF5;
  --warm-surface: #FFFFFF;
  --warm-text: #3E2723;
  --warm-text-light: #5D4037;
  --warm-accent: #D84315;
  --warm-border: #EFEBE4;

  /* Rock Theme */
  --rock-bg: #09090B;
  --rock-surface: #18181B;
  --rock-text: #FAFAFA;
  --rock-text-light: #A1A1AA;
  --rock-accent: #EF4444;
  --rock-acc-hover: #DC2626;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions & Radii */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

.skip-to-content {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--exec-accent);
  color: white;
  padding: 12px 24px;
  z-index: 10000;
  transition: top 0.3s;
  font-weight: 600;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for sticky nav */
}

body {
  font-family: var(--font-body);
  color: var(--exec-text);
  line-height: 1.6;
  background-color: var(--exec-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, .nav-logo {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.sticky-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--exec-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--exec-text-light);
  position: relative;
  display: inline-block;
  padding: 10px 0; /* Improve mobile touch target */
}

.nav-links a:hover, .nav-links a.active {
  color: var(--exec-accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--exec-accent);
  border-radius: 2px;
}

/* Typography & General Classes */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--exec-primary);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--exec-text-light);
  max-width: 800px;
  margin-bottom: 4rem;
}

.text-light {
  color: var(--rock-text) !important;
}

.text-link {
  color: var(--warm-accent);
  font-weight: 500;
  border-bottom: 1px dotted var(--warm-accent);
}

.text-link:hover {
  border-bottom-style: solid;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--exec-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--exec-acc-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--exec-primary);
  border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
  border-color: var(--exec-primary);
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-rock {
  background: var(--rock-accent);
  color: white;
}

.btn-rock:hover {
  background: var(--rock-acc-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-outline-rock {
  background: transparent;
  color: var(--rock-text);
  border: 1px solid var(--rock-text-light);
}

.btn-outline-rock:hover {
  border-color: white;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Theme 1: Executive (Hero & Professional) */
.executive-theme {
  background-color: var(--exec-bg);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.network-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
                    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

/* Subtle dot grid for the executive theme */
.executive-theme::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.headline {
  font-size: 4rem;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--exec-primary);
}

.subheadline {
  font-size: 1.25rem;
  color: var(--exec-text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  object-fit: cover;
  object-position: center top;
}

/* Cards */
.card {
  background: var(--exec-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exec-card {
  box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 10px 15px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
}

.exec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 20px 48px rgba(0,0,0,0.05);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--exec-primary);
}

.card p {
  color: var(--exec-text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

.credentials-bar {
  margin-top: 4rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--exec-text-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.credential-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.credential-item:not(:last-child)::after {
  content: '·';
  margin: 0 0.75rem;
  color: #CBD5E1;
}

/* Theme 2: Warm Community */
.community-section {
  background: linear-gradient(180deg, var(--exec-bg) 0%, var(--warm-bg) 15%);
  position: relative;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  margin-top: -60px;
  padding-top: 160px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
  font-weight: 400;
  z-index: 2;
}

.community-section .section-title {
  font-weight: 600;
}

.community-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .community-header {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.community-header .section-intro {
  text-align: left;
  margin-bottom: 0;
  max-width: 100%;
}
.community-image-wrapper {
  text-align: center;
}
.community-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
  border: 6px solid white;
}
.community-img:hover {
  transform: rotate(0deg) scale(1.02);
}

.community-section::before {
  display: none;
}

.community-section .section-title {
  color: var(--warm-text);
}

.community-section .section-intro {
  color: var(--warm-text-light);
}

.warm-card {
  background: var(--warm-surface);
  border: 1px solid var(--warm-border);
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.03);
}

.warm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(62, 39, 35, 0.06);
  border-color: rgba(216, 67, 21, 0.2);
}

.warm-card h3 {
  color: var(--warm-text);
}

.warm-card p {
  color: var(--warm-text-light);
}

/* Theme 3: Rock Energy */
.music-section {
  background-color: var(--rock-bg);
  color: var(--rock-text);
  clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -5vw;
  padding-top: calc(100px + 6vw);
  z-index: 3;
  position: relative;
}

.music-section .section-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.container-music {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.music-content {
  flex: 1;
}

.music-content .section-intro {
  color: var(--rock-text-light);
  margin-bottom: 2.5rem;
}

.music-ctas {
  display: flex;
  gap: 1rem;
}

.music-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.concert-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  object-fit: cover;
}

iframe[data-testid="embed-iframe"] {
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.spotify-facade {
  width: 100%;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #1DB954 0%, #116830 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.15);
  margin-top: 1.5rem;
}
.spotify-facade:hover, .spotify-facade:focus {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(29, 185, 84, 0.3);
  outline: none;
}
.spotify-facade-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.spotify-facade-content span {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: #000;
  color: #A1A1AA;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #27272A;
}

.footer-info h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-email {
  display: inline-block;
  margin-top: 0.5rem;
  color: white;
  font-weight: 500;
}

.footer-email:hover {
  color: var(--exec-accent);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #18181B;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--exec-accent);
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  
  .headline {
    font-size: 3rem;
  }

  .subheadline {
    margin: 0 auto 2.5rem;
  }

  .hero-ctas {
    justify-content: center;
  }

  .container-music {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .headline { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  
  .nav-links {
    display: none; /* simple mobile nav approach for static */
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }
  
  .credential-item:not(:last-child)::after {
    display: none;
  }
  
  .credentials-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-ctas, .music-ctas {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}
