.homepage-hero {
    background-color: #f4f5f2;
    height: 70vh;
    margin: 0 0;
    border-radius: 20px;
}

@media (min-width: 991px) {
    .inner-content {
        width: 80% !important;
        margin: 0 auto;
    }

    .inner-content-2 {
        width: 91% !important;
        margin: 0 auto;
    }
}

.homepage-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imagination-creation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imagination-creation h3 {
    font-size: 35px;
    font-weight: normal;
    color: #5e17eb;
}

.collect-favorite {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collect-favorite h3 {
    font-size: 35px;
    font-weight: normal;
    color: #6a0dad;
}

.imagination-creation-button {
    background-color: #5e17eb;
    color: #fff;
    font-size: 16px;
    border-radius: 999px;
    padding: 6px 50px;
}

.imagination-creation-button:hover {
    background-color: #8149fa;
    color: #fff;
}

.collect-favorite-button {
    background-color: #6a0dad;
    color: #fff;
    font-size: 16px;
    border-radius: 999px;
    padding: 6px 50px;
}

.collect-favorite-button:hover {
    background-color: #7c11cc;
    color: #fff;
}

.hero-circles {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circles-container {
    position: relative;
    width: 500px;
    height: 380px;
    margin: 0 auto;
}

.venn-diagram {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Circle styles */
.circle {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.9);
    transform-origin: center;
}

.circle:hover {
    filter: saturate(1.2) brightness(1.05);
    transform: scale(1.05);
}

/* Circle colors */
#circle-arts {
    fill: #3B82F6; /* Blue */
    fill-opacity: 0.8;
}

#circle-crafts {
    fill: #EF4444; /* Red */
    fill-opacity: 0.8;
}

#circle-paints {
    fill: #F59E0B; /* Yellow */
    fill-opacity: 0.8;
}

/* Cross lines */
.cross-lines {
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* When circle hovers, also scale the cross lines */
.circle:hover ~ .cross-lines,
.circle-link:hover .cross-lines {
    transform: scale(1.05);
    opacity: 0.9;
}

/* FIX #1: Text styles - Position text outside circles */
.circle-text {
    font-weight: bold;
    font-size: 24px;
    fill: #333;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: all 0.3s ease;
    font-variant: small-caps;
    letter-spacing: 1px;
}

/* Position Arts text - bottom left of circle */
#text-arts {
    transform: translate(-60px, 60px);
}

/* Position Crafts text - bottom right of circle */
#text-crafts {
    transform: translate(60px, 60px);
}

/* Position Paints text - above the circle */
#text-paints {
    transform: translate(0, -80px);
}

.circle:hover + .circle-text,
.circle-link:hover .circle-text {
    font-size: 26px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    font-weight: 900;
    fill: #111; /* Even darker on hover */
}

/* Center overlap area - FIX #2: Reduced overlap */
.overlap-center {
    fill: url(#gradient-overlap);
    fill-opacity: 0.9;
    filter: blur(0.5px);
    mix-blend-mode: overlay;
}

/* Center logo */
.center-logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
}

.center-logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    transform: scale(1.05);
}

.link-arts {
    background: #3B82F6;
    color: white !important;
    border-color: #2563EB !important;
}

.link-crafts {
    background: #EF4444;
    color: white !important;
    border-color: #DC2626 !important;
}

.link-paints {
    background: #F59E0B;
    color: white !important;
    border-color: #D97706 !important;
}

/* Circle links */
.circle-link {
    text-decoration: none;
    outline: none;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .circles-container {
        width: 90vw;
        height: 300px;
    }

    .circle-text {
        font-size: 18px;
    }

    .circle:hover + .circle-text,
    .circle-link:hover .circle-text {
        font-size: 20px;
    }

    /* Adjust text positions for mobile */
    #text-arts {
        transform: translate(-40px, 40px);
    }

    #text-crafts {
        transform: translate(40px, 40px);
    }

    #text-paints {
        transform: translate(0, -60px);
    }

    .center-logo {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Ripple animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Pulse animation for logo */
@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
    50% {
        filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.5));
    }
}

.center-logo {
    animation: pulse-glow 3s infinite;
}

.combined-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 0 20px 20px 0 !important;
    background-color: #f4f5f2;
}

/* For artwork: circle on left, text on right */
.artwork .combined-container {
    justify-content: flex-start;
    padding-left: 80px; /* Space for half circle */
}

/* For culture: text on left, circle on right */
.culture .combined-container {
    justify-content: flex-end;
    padding-right: 80px; /* Space for half circle */
    border-radius: 20px 0 0 20px !important;
}

.craftwork .combined-container {
    justify-content: flex-start;
    padding-left: 80px; /* Space for half circle */
}

/* Circle half that sticks out of the border */
.circle-half {
    position: absolute;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Position circle half */
.artwork .circle-half {
    left: -75px; /* Half outside, half inside */
}

.culture .circle-half {
    right: -75px; /* Half outside, half inside */
}

.craftwork .circle-half {
    right: -75px; /* Half outside, half inside */
}

/* Circle background */
.circle-bg {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.artwork .circle-bg {
    background-color: #5e17eb;
}

.culture .circle-bg {
    background-color: #ffde59;
}

.craftwork .circle-bg {
    background-color: #ff751f;
}

/* Text inside circle - positioned to be half inside/outside border */
.circle-bg h2 {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 10px;
    position: relative;
    z-index: 3;
}

/* Text content area */
.text-content {
    flex: 1;
    padding: 10px 20px 10px 20px;
}

.culture .combined-container .text-content {
    flex: 1;
    padding: 10px 20px 10px 20px !important;
}

.text-content p {
    font-size: 18px !important;
    color: #272727;
    margin: 0;
    line-height: 1.6;
}

.artwork .text-content p {
    text-align: right;
}

.culture .text-content p {
    text-align: left;
}

.craftwork .text-content p {
    text-align: right;
}

/* RESPONSIVE DESIGN */

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .homepage-hero {
        height: 130vh;
    }

    .combined-container {
        flex-direction: column;
        border-radius: 25px !important;
        padding: 60px 20px 20px 20px;
        margin: 40px 0;
    }

    .culture .combined-container {
        border-radius: 25px !important;
    }

    .artwork .combined-container,
    .culture .combined-container,
    .craftwork .combined-container
    {
        padding: 65px 20px 20px 20px;
    }

    /* Position circle at top for mobile */
    .circle-half {
        top: -62px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }

    /* Adjust circle size for mobile */
    .circle-half {
        width: 120px;
        height: 120px;
    }

    .circle-bg {
        width: 120px;
        height: 120px;
    }

    .circle-bg h2 {
        font-size: 20px;
    }

    /* Center all text on mobile */
    .text-content p {
        text-align: center !important;
    }

    .text-content {
        padding: 10px;
    }

    .imagination-creation {
        margin-top: 30px;
    }

    .imagination-creation h3 {
        font-size: 30px;
        text-align: center;
    }

    .collect-favorite h3 {
        font-size: 30px;
        text-align: center;
    }

    .artists {
        text-align: center !important;
    }

    .artists-items {
        text-align: center !important;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .combined-container {
        padding: 20px 60px;
        border-radius: 80px;
    }

    .artwork .combined-container {
        padding-left: 60px;
    }

    .culture .combined-container {
        padding-right: 60px;
    }

    .craftwork .combined-container {
        padding-left: 60px;
    }

    .circle-half {
        width: 130px;
        height: 130px;
    }

    .circle-bg {
        width: 130px;
        height: 130px;
    }

    .circle-bg h2 {
        font-size: 22px;
    }

    .artwork .circle-half {
        left: -65px;
    }

    .culture .circle-half {
        right: -65px;
    }

    .craftwork .circle-half {
        left: -65px;
    }

    .text-content {
        padding: 15px;
    }

    .text-content p {
        font-size: 16px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .combined-container {
        border-radius: 100px;
        padding: 20px 90px;
    }

    .artwork .combined-container {
        padding-left: 90px;
    }

    .culture .combined-container {
        padding-right: 90px;
    }

    .craftwork .combined-container {
        padding-left: 90px;
    }

    .circle-half {
        width: 150px;
        height: 150px;
    }

    .artwork .circle-half {
        left: -75px;
    }

    .culture .circle-half {
        right: -75px;
    }

    .craftwork .circle-half {
        left: -75px;
    }

    .hero-right-image {
        width: 70%;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .circle-half {
        width: 210px;
        height: 210px;
    }

    .circle-bg {
        width: 210px !important;
        height: 210px;
    }

    .circle-bg h2 {
        font-size: 28px;
    }

    .artwork .circle-half {
        left: -100px;
    }

    .culture .circle-half {
        right: -100px;
    }

    .craftwork .circle-half {
        left: -100px;
    }

    .text-content p {
        font-size: 20px;
    }
}

/* Fix for Bootstrap columns */
.col-md-8 {
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 991px) {
    .offset-4 {
        margin-left: 0 !important;
    }
}

.rts-hand-picked-products-section {
    /*background-color: #f4f5f2 !important;*/
}

.rts-featured-product-section1 {
    padding-top: 0 !important;
    /*background-color: #f4f5f2 !important;*/
}

.rts-hand-picked-products-section {
    margin-bottom: 0 !important;
}

.events-section {
    background-color: #fff !important;
}

.artists {
    background-color: #f4f5f2;
    border-radius: 20px;
    text-align: right;
    padding: 25px;
}

.artists p {
    font-size: 15px;
    font-weight: normal;
    color: #272727;
    line-height: 25px;
}

.artists-items {
    background-color: #f4f5f2;
    border-radius: 20px;
    text-align: left;
    padding: 25px;
}

.artists-items p {
    font-size: 15px;
    font-weight: normal;
    color: #272727;
    line-height: 25px;
}

.get-in-button {
    padding: 25px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-link {
    transform: rotate(45deg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f2;
    color: #272727;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    position: absolute;
}

.artist-link:hover {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #EE403D;
}

.artist-link:hover span {
    color: #fff;
}

.artist-link span {
    transform: rotate(-45deg) !important;
    display: block;
}

@media (max-width: 768px) {
    .artists p {
        font-size: 20px;
        line-height: 35px;
    }

    .artists-items p {
        font-size: 20px;
        line-height: 35px;
    }

    .get-in-button {
        margin: 28px 0;
    }
}

.card {
    border-radius: 7px !important;
}

.card-img-top {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.event-card .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.event-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Image container styling */
.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card .card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Date overlay styling */
.date-overlay {
    z-index: 1;
}

.date-badge {
    border-radius: 7px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.date-overlay-wrapper.start-0 {
    left: 12px !important;
}

.event-card .card:hover .date-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.date-badge i {
    font-size: 0.9rem;
}

/* Responsive adjustments for different month lengths */
@media (max-width: 576px) {
    .date-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .date-badge .fw-bold {
        font-size: 0.8rem;
    }
}

.event-icon {
    color: #ee403d;
}

/* Card body styling */
.event-card .card-body {
    padding: 1.25rem;
}

.event-card .card-title {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.3;
}

.event-card .detail-item {
    font-size: 0.9rem;
}

.event-card .detail-item .icon-wrapper {
    width: 24px;
    text-align: center;
}

.event-card .detail-item i {
    font-size: 0.9rem;
}

.event-card .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card .details-btn {
    padding: 9px 10px;
}

/* Clipped details button */
.event-card .details-btn, .event-status-btn {
    clip-path: polygon(0 0, 90% 0%, 100% 28%, 100% 80%, 100% 100%, 11% 100%, 0% 72%, 0% 20%);
    border-radius: 5px 15px 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    background: linear-gradient(135deg, #f4f5f2 0%, #f8f9f6 50%, #f4f5f2 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #333;
}

.event-card .details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    clip-path: polygon(0 0, 90% 0%, 100% 28%, 100% 80%, 100% 100%, 11% 100%, 0% 72%, 0% 20%);
    background: linear-gradient(135deg, #ee403d 0%, #ee403d 100%);
    color: #fff;
}

.event-card .details-btn:hover i {
    color: #fff;
}

.event-card .details-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.event-card .details-btn:hover:before {
    left: 100%;
}

.event-card .details-btn i {
    font-size: 0.85rem;
}

.event-status-btn {
    clip-path: polygon(0 0, 90% 0%, 100% 28%, 100% 80%, 100% 100%, 11% 100%, 0% 72%, 0% 20%);
    background: linear-gradient(135deg, #ee403d 0%, #ee403d 100%);
}

.event-status-btn span, .event-status-btn i {
    font-weight: normal;
    color: #fff;
}

.image-slider-variations .slider-buttons .slider-btn {
    padding: 0 !important;
}

.image-slider-variations .slider-buttons{
    padding: 0 !important;
}

.slider-btn {
    width: 30px;
    height: 30px;
    border-radius: 0 !important;
    background: #fff;
    color: #040404;
}
