/* Collage-inspired design for Art Therapy Workshop page */

.art-therapy-workshop-image {
    background-image: url("../assets/images/workshop.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 60vh;
    width: 90vw;
    z-index: 5;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
    border: 8px solid white;
    position: relative;
}

.art-therapy-workshop-image::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: rgba(150, 162, 127, 0.6);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.art-therapy-container h2 {
    margin-bottom: 2rem;
    transform: rotate(-0.5deg);
    padding: 1.5rem 2.5rem;
    background-color: #cfb997;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: none;
}

.art-therapy-container h4 {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(150, 162, 127, 0.2);
    display: inline-block;
    transform: rotate(-0.3deg);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.art-therapy-container {
    margin-top: 4rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    background: linear-gradient(145deg, 
        rgba(243, 235, 217, 0.4) 0%, 
        rgba(209, 196, 164, 0.3) 50%, 
        rgba(243, 235, 217, 0.4) 100%);
    position: relative;
    z-index: 3;
}

.art-therapy-container ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.art-therapy-container img {
    max-width: 50%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.art-therapy-text {
    margin-top: 1rem;
    position: relative;
    width: 100%;
}

.workshop-intro {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color:  var(--color-light);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.paper-clip-decoration {
    float: right;
    width: 120px;
    height: 120px;
    margin: -28px -28px 0px 0px; /* negative top/right for overlap effect */
    opacity: 0.9;
    max-width: 120px !important; /* Override global img styles */
}

.workshop-intro p {
    margin: 0.5rem 0;
    padding: 0.3rem 0.5rem;
}

.workshop-intro ul {
    margin-top: 0.5rem;
}

.workshop-intro h4 {
    margin-top: 0;
}

.workshop-benefits {
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(150, 162, 127, 0.85) 0%, 
        rgba(150, 162, 127, 0.7) 100%);
    border-radius: 0;
    margin-top: 1rem;
    transform: rotate(-0.8deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.7);
    position: relative;
    clip-path: polygon(
        1% 0%, 99% 0%, 100% 1%,
        100% 99%, 99% 100%, 1% 100%, 0% 99%, 0% 1%
    );
}

.workshop-benefits h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    color: white;
    transform: rotate(0deg);
}

.workshop-benefits ul li {
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(0.2deg);
    transition: all 0.2s ease;
}

.workshop-benefits:hover {
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    transform: rotate(0deg) scale(1.02);
}

.workshop-benefits li:hover {
    background-color: rgba(243, 235, 217, 0.8);
    transition: background-color 0.3s ease-in-out;
    transform: rotate(0deg) translateX(5px);
}

.workshop-details {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(209, 196, 164, 0.9) 0%, 
        rgba(209, 196, 164, 0.7) 100%);
    border-radius: 0;
    transform: rotate(0.5deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    position: relative;
    clip-path: polygon(
        0% 2%, 2% 0%, 98% 0%, 100% 2%,
        100% 98%, 98% 100%, 2% 100%, 0% 98%
    );
}

.workshop-details::before {
    content: '📌';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}

.workshop-details h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px dashed rgba(95, 111, 82, 0.5);
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    transform: rotate(0deg);
}

.workshop-details p {
    margin: 0.5rem 0;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(-0.1deg);
}

.workshop-details:hover {
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    transform: rotate(0deg) scale(1.02);
}

.workshop-details p:hover {
    background-color: rgba(243, 235, 217, 0.9);
    transition: background-color 0.3s ease-in-out;
    transform: rotate(0deg);
}

/* Quick Registration Button at Top */
.quick-registration {
    text-align: center;
}

/* Workshop Registration Section */
.workshop-registration {
    padding: 2rem;
    margin-top: 2rem;
    background-color: var(--color-dark);
    border-radius: 0;
    transform: rotate(-0.6deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(243, 235, 217, 0.8);
    position: relative;
    text-align: center;
    clip-path: polygon(
        0% 2%, 2% 0%, 4% 2%, 6% 1%, 8% 2%, 10% 0%, 90% 1%, 92% 2%, 94% 0%, 96% 2%, 98% 1%, 100% 2%,
        100% 98%, 98% 100%, 96% 98%, 94% 100%, 92% 98%, 10% 100%, 8% 98%, 6% 100%, 4% 98%, 2% 99%, 0% 98%
    );
    transition: all 0.3s ease-in-out;
}

.workshop-registration h3 {
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-lightest);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    transform: rotate(0deg);
}

.registration-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    background-color: var(--color-lightest);
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.workshop-registration .registration-button {
    margin-top: 1rem;
}

.workshop-registration .registration-button:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.workshop-registration:hover {
    transform: rotate(0deg);
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25);
}

/* Torn paper effect for heading */
.art-therapy-container h2 {
    clip-path: polygon(
        0% 5%, 2% 2%, 4% 4%, 6% 1%, 8% 3%, 10% 2%, 12% 4%, 14% 1%, 16% 3%, 18% 2%,
        20% 4%, 22% 1%, 24% 3%, 26% 2%, 28% 4%, 30% 1%, 32% 3%, 34% 2%, 36% 4%, 38% 1%,
        40% 3%, 42% 2%, 44% 4%, 46% 1%, 48% 3%, 50% 2%, 52% 4%, 54% 1%, 56% 3%, 58% 2%,
        60% 4%, 62% 1%, 64% 3%, 66% 2%, 68% 4%, 70% 1%, 72% 3%, 74% 2%, 76% 4%, 78% 1%,
        80% 3%, 82% 2%, 84% 4%, 86% 1%, 88% 3%, 90% 2%, 92% 4%, 94% 1%, 96% 3%, 98% 2%, 100% 4%,
        
        100% 96%, 98% 99%, 96% 97%, 94% 100%, 92% 97%, 90% 99%, 88% 96%, 86% 98%, 84% 97%, 82% 100%,
        80% 97%, 78% 99%, 76% 96%, 74% 98%, 72% 97%, 70% 100%, 68% 97%, 66% 99%, 64% 96%, 62% 98%,
        60% 97%, 58% 100%, 56% 97%, 54% 99%, 52% 96%, 50% 98%, 48% 97%, 46% 100%, 44% 97%, 42% 99%,
        40% 96%, 38% 98%, 36% 97%, 34% 100%, 32% 97%, 30% 99%, 28% 96%, 26% 98%, 24% 97%, 22% 100%,
        20% 97%, 18% 99%, 16% 96%, 14% 98%, 12% 97%, 10% 100%, 8% 97%, 6% 99%, 4% 96%, 2% 98%, 0% 95%
    );
}

.highlighted-text {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--color-lightest);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1.5rem 2.5rem;
    /* background: linear-gradient(135deg, rgba(209, 196, 164, 0.4) 0%, rgba(243, 235, 217, 0.6) 100%); */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);

    background-color: var(--color-dark);

    clip-path: polygon(
        0% 2%, 2% 0%, 4% 2%, 6% 1%, 8% 2%, 10% 0%, 90% 1%, 92% 2%, 94% 0%, 96% 2%, 98% 1%, 100% 2%,
        100% 98%, 98% 100%, 96% 98%, 94% 100%, 92% 98%, 10% 100%, 8% 98%, 6% 100%, 4% 98%, 2% 99%, 0% 98%
    );
}

@media (max-width: 1024px) {
    .art-therapy-container {
        padding: 2rem;
        max-width: 90%;
    }

    .art-therapy-container img {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .art-therapy-container {
        padding: 1rem;
    }

    .art-therapy-container img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .art-therapy-container {
        padding: 0.5rem;
    }

    .art-therapy-container img {
        max-width: 100%;
    }
}
