/*
Theme Name: Cantor Jenna Sagan
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A one-page WordPress theme converted from a custom HTML landing page for Cantor Jenna Sagan.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: cantor-jenna-sagan
*/

/* ─────────────────────────────────────────────────────────────────────────────────
   DESIGN SYSTEM: COLOR PALETTE
   ───────────────────────────────────────────────────────────────────────────────── */
:root {
    --white: #fffcf8;
    --cream: #fef8f0;
    --sand: #faf0e4;
    --sand-deep: #f2e2cc;
    --peach: #e8956a;
    --peach-light: #f4b896;
    --peach-dim: rgba(232, 149, 106, 0.12);
    --terracotta: #c2694a;
    --terracotta-dark: #a85638;
    --amber: #d4943c;
    --amber-light: #f0b85e;
    --ink: #2a2018;
    --ink-body: #4a3f34;
    --text-muted: rgba(42, 32, 24, 0.55);
    --text-dim: rgba(42, 32, 24, 0.3);
    --sage: #7a9e7a;
    --ocean: #3d7a8a;
    --border: rgba(194, 105, 74, 0.15);
    --border-sand: rgba(212, 148, 60, 0.2);
    --shadow-sm: 0 2px 8px rgba(42, 32, 24, 0.08);
    --shadow-md: 0 8px 20px rgba(42, 32, 24, 0.12);
    --shadow-lg: 0 16px 40px rgba(42, 32, 24, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-body);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--ink);
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--peach);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--terracotta);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.eyebrow {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--peach), var(--terracotta));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--cream);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-logo,
.nav-logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s ease;
}

nav.scrolled .nav-logo,
nav.scrolled .nav-logo a {
    color: var(--ink);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s ease;
    position: relative;
}

nav.scrolled .nav-menu a {
    color: var(--ink-body);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.nav-cta {
    margin-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

nav.scrolled .hamburger span {
    background: var(--ink);
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(42, 32, 24, 0.1) 0%, rgba(42, 32, 24, 0.3) 40%, rgba(42, 32, 24, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 4rem 2rem;
    color: var(--white);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--amber);
}

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.marquee-section {
    background: var(--sand);
    padding: 2.5rem 0;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    gap: 2rem;
    animation: scroll-horizontal 40s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--ink-body);
    font-weight: 500;
    flex-shrink: 0;
}

.marquee-dot {
    width: 4px;
    height: 4px;
    background: var(--amber);
    border-radius: 50%;
}

@keyframes scroll-horizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-section,
.services-section,
.audio-section,
.testimonials-section,
.contact-section {
    padding: 5rem 0;
}

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--peach-dim), var(--amber-light));
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif Hebrew', serif;
    font-size: 5rem;
    color: rgba(42, 32, 24, 0.15);
    min-height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--ink);
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-credentials {
    list-style: none;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--sand);
    border-radius: 0.375rem;
}

.about-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.about-credentials li:last-child {
    margin-bottom: 0;
}

.about-credentials li::before {
    content: '•';
    color: var(--amber);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: -0.25rem;
}

.about-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--amber);
    background: var(--peach-dim);
    border-radius: 0.375rem;
    font-style: italic;
    color: var(--ink);
}

.services-section {
    background: var(--sand);
}

.services-header,
.audio-header,
.testimonials-header,
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header p,
.contact-header p {
    max-width: 700px;
    margin: 1rem auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.services-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover,
.track-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: var(--peach-dim);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.audio-section {
    background: var(--ink);
    color: var(--white);
}

.audio-header .eyebrow {
    color: var(--amber-light);
}

.audio-header h2,
.player-info h3,
.track-card h4,
.footer-col h4 {
    color: var(--white);
}

.audio-player-featured {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 0.75rem;
    margin-bottom: 3rem;
}

.player-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.waveform {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, var(--peach), var(--amber), var(--peach));
    opacity: 0.3;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
}

.waveform-bar {
    width: 4px;
    height: 100%;
    background: var(--peach);
    border-radius: 2px;
    animation: waveform-pulse 0.6s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.4s; }
.waveform-bar:nth-child(8) { animation-delay: 0.3s; }

@keyframes waveform-pulse {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.play-button,
.track-play-btn {
    border: none;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button {
    width: 4rem;
    height: 4rem;
    background: var(--amber);
    font-size: 1.5rem;
}

.play-button:hover,
.track-play-btn:hover {
    background: var(--amber-light);
    transform: scale(1.05);
}

.player-timeline {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
}

.player-progress {
    height: 100%;
    background: var(--peach);
    border-radius: 2px;
    width: 0%;
    transition: width 0.2s linear;
}

.player-info {
    text-align: center;
}

.player-info p,
.track-context,
.footer-col a,
.footer-copy,
.audio-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.track-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.track-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--amber);
    margin-bottom: 0.5rem;
}

.track-context {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.track-play-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--peach);
    margin: 0 auto;
}

.audio-cta {
    text-align: center;
}

.audio-cta a {
    color: var(--amber-light);
    font-weight: 600;
    border-bottom: 2px solid var(--amber);
    padding-bottom: 0.25rem;
}

.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 0.5rem;
    border-top: 4px solid var(--amber);
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--ink);
}

.testimonial-author {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.testimonial-context {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-section {
    background: linear-gradient(135deg, var(--sand-deep), var(--sand));
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.375rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--ink-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--peach);
    background: var(--cream);
    box-shadow: 0 0 0 3px var(--peach-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    justify-self: start;
    margin-top: 1rem;
}

.form-notice {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
}

.form-notice.success {
    background: rgba(122, 158, 122, 0.12);
    color: #355235;
    border: 1px solid rgba(122, 158, 122, 0.25);
}

.form-notice.error {
    background: rgba(194, 105, 74, 0.12);
    color: #7a3320;
    border: 1px solid rgba(194, 105, 74, 0.25);
}

footer {
    background: var(--ink);
    color: var(--white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a:hover {
    color: var(--amber);
}

.footer-hebrew {
    font-family: 'Noto Serif Hebrew', serif;
    font-size: 1.75rem;
    color: var(--amber);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
}

.reveal.active {
    animation: revealUp 0.6s ease forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-name {
        font-size: 3rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.mobile-open {
        display: flex;
        position: absolute;
        flex-direction: column;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--cream);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.mobile-open a {
        color: var(--ink-body);
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 2rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid,
    .track-list,
    .footer-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-eyebrow::before {
        width: 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }
}
