/* AM Google Gallery - Carousel Styles */

.amgg-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.amgg-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.amgg-carousel-slide {
    flex-shrink: 0;
    box-sizing: border-box;
}

.amgg-carousel-slide a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.amgg-carousel-cover {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.amgg-carousel-cover img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.amgg-carousel-cover:hover img {
    transform: scale(1.05);
}

.amgg-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.amgg-carousel-cover:hover .amgg-carousel-overlay {
    background: rgba(59, 130, 246, 0.8) !important;
    opacity: 1;
}

.amgg-carousel-overlay .amgg-view-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.amgg-carousel-cover:hover .amgg-view-text {
    background: #fff;
    color: #667eea;
}

.amgg-carousel-title {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Arrows */
.amgg-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.amgg-carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.amgg-carousel-prev {
    left: 0;
}

.amgg-carousel-next {
    right: 0;
}

/* Dots */
.amgg-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.amgg-carousel-dot {
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amgg-carousel-dot:hover {
    transform: scale(1.2);
}

.amgg-carousel-dot.active {
    transform: scale(1.2);
}

/* Placeholder */
.amgg-carousel-cover .amgg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.amgg-carousel-cover .amgg-placeholder span {
    font-size: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .amgg-carousel-wrapper {
        padding: 0 40px;
    }
    
    .amgg-carousel-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .amgg-carousel-wrapper {
        padding: 0 30px;
    }
}
