
.workshop-sections-wrapper {
    font-family: var(--font-text);
    color: var(--text-main);
    background: var(--fundal-color);
    overflow-x: hidden;
}

/* ── CONTAINER ── */
.landing-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    display: block; /* was grid which broke layouts */
    color: var(--dark-color);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes lineGrow {
    from { width: 0; }
    to   { width: 4rem; }
}

.animate-fade-up {
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.workshop-hero {
    position: relative;
    padding: 2rem;
    background: var(--therd-color);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* Subtle noise texture overlay */
.workshop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(197, 160, 89, 0.12) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Gold accent line top */
.workshop-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.workshop-hero .landing-container {
    position: relative;
    z-index: 1;
}

.hero-content-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.workshop-hero-title {
    font-family: var(--font-titluri);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    padding-bottom: 2rem;
    letter-spacing: 0.01em;

    /* Gold shimmer effect */
    background: linear-gradient(
        90deg,
        #c5a059 0%,
        #f5e6b3 25%,
        #fff2cc 50%,
        #f5e6b3 75%,
        #c5a059 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 7s linear infinite, fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.workshop-hero-description {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

.workshop-hero-description p {
    margin-bottom: 1.25rem;
}

.workshop-hero-description p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   SECTION: GALLERY (Review Screenshots)
   ============================================================ */
.workshop-gallery {
    padding-bottom: 1rem;
    background: var(--light-color);
}

.section-title {
    font-family: var(--font-titluri);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.workshop-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    gap: 1.25rem;
    margin-top: 1rem;
    justify-content: center;
}

.gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    /* transition: transform 0.35s ease, box-shadow 0.35s ease; */
    /* background: var(--white); */
}

/* .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
} */

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
}

/* ============================================================
   SECTION: ABOUT INTRO
   ============================================================ */
.workshop-about {
    padding: 2rem 0;
    background: var(--light-color);
    position: relative;
}

.about-wrap-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.about-wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.about-float-image {
    width: 100%;
}

.about-float-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--secondary-color);
}

.about-badge {
    display: inline-block;
    background: transparent;
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
    padding: 0.35rem 1.25rem;
    border-radius: 99px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.about-title {
    font-family: var(--font-titluri);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-color);
    /* line-height: 1.2;
    margin-bottom: 0; */
}

.about-text {
    font-size: 1.05rem;
    color: black;
    line-height: 1.8;
}

/* ============================================================
   SECTION: BENEFITS (Ce vei învăța)
   ============================================================ */
.workshop-benefits {
    padding: 2rem 0;
    background: var(--light-color);
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    max-width: 1060px;
    margin: 1rem auto 0;
}

@media (min-width: 768px) {
    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    padding: 0.5rem 1rem;
    background-color: var(--therd-color);
    border: 1px solid #e8edf5;
    border-bottom: 3px solid transparent;
    border-radius: 0.875rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    gap: 1rem;
}

.benefit-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
    transition: transform 0.4s ease, background 0.4s ease;
    flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.08) rotate(-3deg);
}


.benefit-p {
    font-size: 1.5rem;
    line-height: 1.7;
    font-weight: 600;
    color: black;
    margin: 0;
    /* text-shadow: 2px 2px 4px black; */
}

/* ============================================================
   SECTION: ABOUT DEEP
   ============================================================ */
.workshop-about-deep {
    padding-bottom: 1rem;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    place-items: center;
}

@media (min-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr 420px;
    }
}

.about-image-wrapper {
    position: relative;
    width: 60%;
}

.about-image-frame {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.about-image-frame:hover {
    transform: translateY(-6px);
}

.about-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.about-stat-item {
    padding: 0.6rem 1.4rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* ============================================================
   CTA SECTION (x-shop.call-to-action)
   ============================================================ */
.workshop-cta {
    padding: 2rem 0;
    background: linear-gradient(to bottom, var(--dark-color), #A7D7C5);
    color: var(--white);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    /* margin-bottom: 10px; */
}

.cta-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
@media (max-width: 767px) {
    .cta-flex {
        justify-content: center;
    }
}
.cta-content {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.cta-title {
    font-family: var(--font-titluri);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: none;
    text-shadow: 2px 2px 4px black;
}

.cta-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--secondary-color);
}

.cta-button,
.cta-action {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 1.1rem 2.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    /* letter-spacing: 0.04em; */
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 24px rgba(197, 160, 89, 0.35); */
    /* white-space: nowrap; */
    margin: auto;
    border: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mb-4  { margin-bottom: 1rem; }
.mb-16 { margin-bottom: 4rem; }
.text-center { text-align: center; }
.relative-z { position: relative; z-index: 10; }
.w-full { width: 100%; }
.radius-lg { border-radius: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .workshop-hero { padding: 2rem 0 5rem; }
    .workshop-gallery,
    .workshop-about,
    .workshop-about-deep,
    .workshop-benefits,
    .workshop-videos { padding: 2rem 0; }

    .about-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-float-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-title {
        text-align: center;
    }

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

    .about-image-wrapper {
        width: 75%;
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .benefit-grid { width: 100%; }
    .benefit-card { padding: 2rem 1.5rem; }

    .section-title { font-size: 1.7rem; }

    .about-image-wrapper::before { display: none; }
}

@media (max-width: 799px) {
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
        gap: 3rem;
    }
}

/* ============================================================
   PRODUCT RATING
   ============================================================ */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.star-rating-v2 {
    position: relative;
    color: #d1d5db;
    font-size: 1.25rem;
    line-height: 1;
}

.star-rating-v2 .back-stars { display: inline-block; }
.star-rating-v2 .front-stars {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--secondary-color);
    overflow: hidden;
    white-space: nowrap;
}

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

/* ============================================================
   STOCK ALERTS
   ============================================================ */
.out-of-stock-alert {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border: 1px solid #fee2e2;
}

.stock-badge-danger {
    color: #dc2626;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.stock-muted-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.workshop-videos {
    /* padding: 2rem 0; */
    background: var(--light-color);
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}


.workshop-videos .landing-container {
    position: relative;
    z-index: 1;
}

.workshop-videos h2 {
    font-family: var(--font-titluri);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.workshop-videos .text-center p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.video-container {
    height: 500px;
    aspect-ratio: 9 / 16;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.video-container:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(197, 160, 89, 0.5);
}

/* Stiluri comune pentru toate video-urile */
.video-container video,
.video-container .plyr {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.video-upload-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 1rem;
}
.upload-progress-container {
    display: none; /* JS controlează show/hide */
}

.upload-progress-bar-bg {
    width: 100%;
    height: 1rem;
    background-color: var(--status-draft);
    border-radius: 9999px;
    overflow: hidden;
}

.upload-progress-bar {
    width: 0%;
    height: 1rem;
    background-color: var(--status-completed);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* ============================================================
   PLYR.IO CUSTOMIZATIONS
   ============================================================ */
/* Asigură-te că Plyr se afișează corect în container */
.plyr {
    height: 100% !important;
    width: 100% !important;
    border-radius: inherit;
}

.plyr__video-wrapper {
    height: 100%;
    width: 100%;
}

.plyr video {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}

/* Optimizări pentru încărcare rapidă */
video[preload="metadata"] {
    background-color: #000;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    color: var(--dark-color);
    letter-spacing: 0.02em;
    max-width: 300px;
}
/* Ascunde bara de progres implicit */
/* .video-container .plyr__progress__container {
    display: none !important;
} */

/* Arată bara de progres la fullscreen */
/* .plyr--fullscreen .plyr__progress__container {
    display: flex !important;
} */

/* Adaugă în fișierul tău CSS principal */
.progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.progress-container {
    background: white;
    padding: 2rem 2rem 2rem 2rem;
    border-radius: 1.5rem;
    min-width: 320px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.4s ease;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c5a059, #e8c97a);
    transition: width 0.3s ease-out;
    border-radius: 4px;
}

.progress-percent {
    font-size: 1.125rem;
    font-weight: 700;
    color: #c5a059;
    min-width: 50px;
}

.progress-status {
    color: #6b7280;
    margin: 0.75rem 0 0.5rem;
    font-size: 0.875rem;
}

.progress-tip {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 0.75rem;
}

.progress-container.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.progress-container.error h3 {
    color: #dc2626;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sectiune-inputs {
    padding: 1rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-size: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    /* font-family: inherit; */
    margin-bottom: 1.5rem;
}

.secondaryReviewsSwiper .swiper-wrapper {
    display: flex;
    gap: 20px;
    /* Șterge justify-content: center de aici — îl gestionăm din JS */
}

.secondaryReviewsSwiper .swiper-slide {
    width: auto !important;
}

.secondaryReviewsSwiper img {
    height: 300px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Săgeți — stilizate modern */
.secondaryReviewsSwiper .swiper-button-next,
.secondaryReviewsSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.secondaryReviewsSwiper .swiper-button-next:hover,
.secondaryReviewsSwiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.secondaryReviewsSwiper .swiper-button-next::after,
.secondaryReviewsSwiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}
