/* ============================================================
   Jules Hero Section – Elementor Widget Stylesheet
   jules-hero.css
   ============================================================ */

/* Google Fonts – loaded via @import so no PHP enqueue needed */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Dancing+Script:wght@600&family=Raleway:wght@300;400;500;600&display=swap');

/* ── CSS Variables (defaults – overridden by Elementor color controls) ── */
.jules-hero {
    --jh-bg-start:  #f0ede8;
    --jh-bg-end:    #e8e4f0;
    --jh-headline:  #1e2a4a;
    --jh-gold:      #c9a227;
    --jh-teal:      #2a8080;
    --jh-body:      #4a5568;
    --jh-orb:       #c8d8f0;
}

/* ── Layout ── */
.jules-hero {
    display: flex;
    align-items: center;
    gap: 48px;
    min-height: 560px;
    padding: 80px;
    background: linear-gradient(135deg, var(--jh-bg-start) 0%, var(--jh-bg-end) 100%);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

.jh-left {
    flex: 0 0 auto;
    max-width: 560px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.jh-right {
    flex: 1 1 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* ── Badge ── */
.jh-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--jh-teal);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.jh-badge-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--jh-gold);
    opacity: 0.8;
}

/* ── Headline ── */
.jh-headline {
    margin: 0 0 16px;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
}

.jh-headline-line1 {
    display: block;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 600;
    color: var(--jh-headline);
    letter-spacing: -0.01em;
}

.jh-headline-line2 {
    display: block;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    font-style: italic;
    color: var(--jh-gold);
    letter-spacing: -0.01em;
}

/* ── Script subtitle ── */
.jh-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(22px, 2.5vw, 32px);
    color: var(--jh-teal);
    margin: 0 0 28px;
    line-height: 1.3;
}

/* ── Body text ── */
.jh-body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--jh-body);
    margin: 0 0 32px;
    max-width: 480px;
}

/* ── Pillars / Tags ── */
.jh-pillars {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.jh-pillar {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--jh-teal);
    text-transform: uppercase;
    position: relative;
    padding-left: 14px;
}

.jh-pillar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--jh-gold);
}

/* ── Buttons ── */
.jh-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jh-btn {
    display: inline-block;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.jh-btn--primary {
    background: var(--jh-gold);
    color: #fff;
    border: 2px solid var(--jh-gold);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

.jh-btn--primary:hover {
    background: transparent;
    color: var(--jh-gold);
    box-shadow: none;
    text-decoration: none;
}

.jh-btn--secondary {
    background: transparent;
    color: var(--jh-headline);
    border: 2px solid var(--jh-headline);
}

.jh-btn--secondary:hover {
    background: var(--jh-headline);
    color: #fff;
    text-decoration: none;
}

/* ── Right side: Orb ── */
.jh-orb {
    position: absolute;
    width: min(500px, 90%);
    aspect-ratio: 3 / 4;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at 35% 35%,
        rgba(200, 216, 240, 0.55) 0%,
        rgba(210, 200, 235, 0.45) 40%,
        rgba(230, 225, 245, 0.3) 70%,
        transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ── Logo image ── */
.jh-logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 340px;
}

.jh-logo-img {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 24px rgba(100, 80, 160, 0.08));
}

/* ── Floating Card ── */
.jh-card {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 18px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    z-index: 3;
    min-width: 200px;
}

.jh-card-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jh-teal);
}

.jh-card-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--jh-headline);
    line-height: 1.2;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .jules-hero {
        padding: 60px 48px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .jules-hero {
        flex-direction: column;
        padding: 48px 32px;
        min-height: auto;
        text-align: center;
    }

    .jh-left {
        max-width: 100%;
    }

    .jh-badge,
    .jh-pillars,
    .jh-buttons {
        justify-content: center;
    }

    .jh-body {
        max-width: 100%;
    }

    .jh-right {
        width: 100%;
        min-height: 320px;
    }

    .jh-card {
        bottom: 10px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .jules-hero {
        padding: 40px 20px;
    }

    .jh-headline-line1,
    .jh-headline-line2 {
        font-size: 38px;
    }

    .jh-btn {
        padding: 14px 24px;
        font-size: 11px;
    }
}
