/* Amoria Gallery Teaser - Tiled Grid with Hover Effects */
.amoria-gallery-section {
    background-color: #fef8ec;
    padding-bottom: 20px;
}

.amoria-gallery-heading{
    font-family: "Great Vibes", cursive;
    font-size: 50px;
    text-align: center;
    font-weight: 600;
    padding-top: 30px;
    padding-bottom: 0px;
    margin-top: 0px !important;
    
}

.bordered-text {
    color: #face7c;
  }
  

.amoria-gallery-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
    justify-content: center;
    gap: 25px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 70px;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
}

.amoria-gallery-teaser-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 280px;
    transition: all 0.4s ease-out;
    
    /* Vibrant pink border with glow effect */
    border: 7px solid #ffffff;
    box-sizing: border-box;
    box-shadow: 
    4px 4px 14px 0px #face7c, -3px -3px 16px 0px #face7c, inset 0px 0px 20px 0px rgba(170, 74, 105, 0.6);
}

.amoria-gallery-teaser-image {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(170, 74, 105, 0.3); /* Subtle inner border */
}

.amoria-gallery-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.amoria-gallery-teaser-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 25px 20px 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.amoria-gallery-teaser-item:hover .amoria-gallery-teaser-image img {
    transform: scale(1.08);
}

.amoria-gallery-teaser-item:hover .amoria-gallery-teaser-title {
    transform: translateY(0);
    opacity: 1;
}

.amoria-gallery-teaser-empty {
    text-align: center;
    font-size: 18px;
    color: #718096;
    padding: 60px 20px;
    background: transparent;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .amoria-gallery-teaser {
        grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
        gap: 20px;
    }
    .amoria-gallery-teaser-item {
        height: 240px;
    }
}

@media screen and (max-width: 768px) {
    .amoria-gallery-teaser {
        grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
        gap: 15px;
        padding: 30px 15px;
    }
    .amoria-gallery-teaser-item {
        height: 200px;
        box-shadow: 
            0 0 12px rgba(170, 74, 105, 0.8),
            0 0 20px rgba(170, 74, 105, 0.4),
            inset 0 0 8px rgba(170, 74, 105, 0.6);
    }
}

@media screen and (max-width: 480px) {
    .amoria-gallery-teaser {
        grid-template-columns: repeat(2, 140px);
        gap: 12px;
    }
    .amoria-gallery-teaser-item {
        height: 180px;
        box-shadow: 
            0 0 10px rgba(170, 74, 105, 0.8),
            0 0 15px rgba(170, 74, 105, 0.4),
            inset 0 0 6px rgba(170, 74, 105, 0.6);
    }
}