/**
 * Starter Studio - Front-end Styles
 * Template: Moderne Sombre
 */

/* ========================================
   AFFICHE CONTAINER
   ======================================== */
.ss-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 800px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    background: #0a0a0a;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ========================================
   BACKGROUND IMAGE
   ======================================== */
.ss-visual__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ========================================
   DARK OVERLAY
   ======================================== */
.ss-visual__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 2;
}

/* ========================================
   CONTENT LAYER
   ======================================== */
.ss-visual__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 800px;
    padding: 30px;
}

/* ========================================
   HEADER (Logo + Venue)
   ======================================== */
.ss-visual__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.ss-visual__logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.ss-visual__venue-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.ss-visual__venue-badge span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.ss-visual__venue-badge small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.ss-visual__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

/* Title */
.ss-visual__title {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.ss-visual__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin: 0 0 20px;
    font-style: italic;
}

/* Divider */
.ss-visual__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff9f1c);
    margin: 0 auto 25px;
    border-radius: 2px;
}

/* ========================================
   DATE & TIME
   ======================================== */
.ss-visual__datetime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.ss-visual__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
}

.ss-visual__date-day {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: #ff6b35;
}

.ss-visual__date-month {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.ss-visual__date-year {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.ss-visual__time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ss-visual__time-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
}

.ss-visual__time-value {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.ss-visual__time-end {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   ARTIST
   ======================================== */
.ss-visual__artist {
    margin-bottom: 20px;
}

.ss-visual__artist-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.ss-visual__artist-name {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ff9f1c;
    letter-spacing: 1px;
}

/* ========================================
   DESCRIPTION
   ======================================== */
.ss-visual__description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    margin: 0 auto 25px;
}

/* ========================================
   PRICE
   ======================================== */
.ss-visual__price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ff6b35, #ff9f1c);
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 30px;
    margin: 0 auto;
}

.ss-visual__price-value {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.ss-visual__price-details {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
}

/* ========================================
   FOOTER / SOCIAL
   ======================================== */
.ss-visual__footer {
    margin-top: auto;
    padding-top: 30px;
    text-align: center;
}

.ss-visual__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ss-visual__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    text-decoration: none;
}

.ss-visual__social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.ss-visual__social-link svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
    .ss-visual {
        max-width: 100%;
        min-height: 700px;
        border-radius: 0;
        margin: 0 auto;
    }

    .ss-visual__content {
        padding: 20px;
        min-height: 700px;
    }

    .ss-visual__title {
        font-size: 34px;
    }

    .ss-visual__datetime {
        flex-direction: column;
        gap: 15px;
    }

    .ss-visual__date-day {
        font-size: 34px;
    }

    .ss-visual__time-value {
        font-size: 26px;
    }

    .ss-visual__artist-name {
        font-size: 20px;
    }
}

/* ========================================
   GENERIC SHORTCODE: CONTAINER LAYOUTS
   ======================================== */

/* List layout (default) */
.ss-visuals-list .ss-visuals-item {
    margin-bottom: 40px;
}

.ss-visuals-list .ss-visuals-item:last-child {
    margin-bottom: 0;
}

/* Grid layout */
.ss-visuals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.ss-visuals-grid .ss-visual {
    margin: 0;
    min-height: 600px;
}

.ss-visuals-grid .ss-visual__content {
    min-height: 600px;
}

.ss-visuals-grid .ss-visual__title {
    font-size: 32px;
}

/* Empty state */
.ss-visuals-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    font-style: italic;
}

/* ========================================
   PAGE SHORTCODE [starter_studio_page]
   Reprend le design L'Héryssonne
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

.ss-page {
    --ss-bg: #f8f7f5;
    --ss-bg-card: #ffffff;
    --ss-border: #e2e0dc;
    --ss-border-strong: #c8c5bf;
    --ss-text: #1d2327;
    --ss-text-muted: #6b6b6b;
    --ss-beige: #beaa8f;
    --ss-beige-dark: #a08e73;
    --ss-dark: #212529;
    --ss-font-display: 'Playfair Display', Georgia, serif;
    --ss-font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

    background-color: var(--ss-bg);
    color: var(--ss-text);
    font-family: var(--ss-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ss-page *, .ss-page *::before, .ss-page *::after {
    box-sizing: border-box;
}

/* ── Page Header ── */
.ss-page__header {
    background: var(--ss-dark);
    border-bottom: 4px solid var(--ss-beige);
    padding: 52px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ss-page__header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 18px,
        rgba(190,170,143,0.05) 18px, rgba(190,170,143,0.05) 19px
    );
    pointer-events: none;
}

.ss-page__eyebrow {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: var(--ss-beige) !important;
    margin-bottom: 12px !important;
}

.ss-page__header h1,
.ss-page__title {
    font-family: var(--ss-font-display) !important;
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 700 !important;
    color: #f8f7f5 !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
}

.ss-page__title span {
    color: var(--ss-beige) !important;
}

.ss-page__subtitle {
    font-size: 1rem !important;
    color: #a7aaad !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    font-weight: 300 !important;
}

.ss-page__divider {
    width: 52px;
    height: 2px;
    background: var(--ss-beige);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ── Sections ── */
.ss-page__section {
    padding: 56px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.ss-page__section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.ss-page__section-title h2 {
    font-family: var(--ss-font-display) !important;
    font-size: clamp(1.4rem, 3vw, 1.9rem) !important;
    font-weight: 600 !important;
    color: var(--ss-text) !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ss-page__section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--ss-border-strong), transparent);
}

.ss-page__section-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ss-page__section-content {
    background: var(--ss-bg-card);
    border: 1px solid var(--ss-border);
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.ss-page__section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--ss-beige), transparent);
    border-radius: 4px 0 0 4px;
}

.ss-page__visual-item {
    margin-bottom: 30px;
}

.ss-page__visual-item:last-child {
    margin-bottom: 0;
}

/* ── Separator ── */
.ss-page__separator {
    height: 1px;
    background: var(--ss-border);
    margin: 0 40px;
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .ss-page__section { padding: 36px 18px; }
    .ss-page__header { padding: 36px 20px 28px; }
    .ss-page__separator { margin: 0 18px; }
    .ss-page__section-content { padding: 20px 16px; }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .ss-visual {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .ss-visual__social-link {
        border: 1px solid #333;
    }
}
