/* ============================================================
   Jules Service Detail – Elementor Widget Stylesheet
   jules-service-detail.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400;1,600&family=Dancing+Script:wght@600&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
.jules-service-detail {
    --jsd-teal:         #2a8080;
    --jsd-gold:         #c9a227;
    --jsd-title:        #1e2a4a;
    --jsd-body:         #4a5568;
    --jsd-incl-bg:      #f5f0e8;
    --jsd-incl-border:  #e0d8cc;
    --jsd-bullet:       #c9a227;
}

/* ── Section ── */
.jules-service-detail {
    background-color: #f0ede8;
    padding: 80px;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    width: 100%;
}

/* ── Inner grid ── */
.jsd-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Image on left variant */
.jules-service-detail.jsd-img-left .jsd-left  { order: 2; }
.jules-service-detail.jsd-img-left .jsd-right { order: 1; }

/* ── LEFT COLUMN ── */
.jsd-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Badge */
.jsd-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--jsd-teal);
    margin-bottom: 18px;
}

.jsd-badge-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--jsd-gold);
    opacity: 0.7;
}

/* Title */
.jsd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    color: var(--jsd-title);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 16px;
}

/* Script tagline */
.jsd-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 600;
    color: var(--jsd-gold);
    margin: 0 0 28px;
    line-height: 1.3;
}

/* Body paragraphs */
.jsd-para {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--jsd-body);
    margin: 0 0 18px;
    max-width: 580px;
}

.jsd-para:last-of-type {
    margin-bottom: 32px;
}

/* ── Included Box ── */
.jsd-included-box {
    background: var(--jsd-incl-bg);
    border: 1px solid var(--jsd-incl-border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
    box-sizing: border-box;
}

.jsd-included-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--jsd-teal);
    margin-bottom: 18px;
}

.jsd-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jsd-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.jsd-bullet {
    color: var(--jsd-bullet);
    font-size: 11px;
    line-height: 1.6;
    flex-shrink: 0;
    margin-top: 1px;
}

.jsd-item-text {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--jsd-body);
}

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

.jsd-btn {
    display: inline-block;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.28s ease;
    line-height: 1;
}

.jsd-btn--primary {
    background-color: var(--jsd-teal);
    color: #fff;
    border: 2px solid var(--jsd-teal);
    padding: 16px 34px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(42, 128, 128, 0.25);
}

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

.jsd-btn--secondary {
    color: var(--jsd-title);
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.jsd-btn--secondary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.28s ease;
}

.jsd-btn--secondary:hover::after { width: 100%; }
.jsd-btn--secondary:hover { text-decoration: none; }

/* ── RIGHT COLUMN: Image ── */
.jsd-right {
    position: relative;
}

.jsd-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    width: 100%;
}

.jsd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.jsd-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: linear-gradient(135deg, #c8e0e0, #b0c8d8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jsd-image-placeholder span {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #5a7a8a;
    letter-spacing: 0.08em;
}

/* ── Corner Badge ── */
.jsd-corner-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: #c9a227;
    color: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 2;
}

.jsd-corner-badge .jsd-badge-icon,
.jsd-corner-badge i,
.jsd-corner-badge svg {
    font-size: 22px;
    line-height: 1;
    display: block;
}

.jsd-badge-label {
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .jules-service-detail {
        padding: 60px 48px;
    }
    .jsd-inner {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .jsd-inner {
        grid-template-columns: 1fr;
    }

    /* Always put image below text on mobile regardless of setting */
    .jules-service-detail .jsd-left  { order: 1 !important; }
    .jules-service-detail .jsd-right { order: 2 !important; }

    .jsd-image-wrap {
        aspect-ratio: 4 / 3;
        max-height: 460px;
    }

    .jsd-para {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .jules-service-detail {
        padding: 48px 24px 56px;
    }

    .jsd-title {
        font-size: 38px;
    }

    .jsd-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .jsd-btn--primary {
        width: 100%;
        text-align: center;
    }

    .jsd-image-wrap {
        aspect-ratio: 1 / 1;
    }
}
