/* GTI Gallery Carousel Styles */
.gti-gallery-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.gti-galeria-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Imagen principal */
.gti-main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gti-main-image-container:hover {
    transform: scale(1.02);
}

.gti-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gti-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gti-main-image-container:hover .gti-image-overlay {
    opacity: 1;
}

.gti-zoom-icon {
    color: white;
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Carousel de miniaturas */
.gti-thumbnails-carousel {
    margin-bottom: 20px;
}

.gti-thumbnail-item {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.gti-thumbnail-item:hover {
    border-color: #ff6b35;
    transform: scale(1.05);
}

.gti-thumbnail-item.active {
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.gti-thumbnail-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Información de la galería */
.gti-gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.gti-image-counter {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.gti-gallery-actions {
    display: flex;
    gap: 10px;
}

.gti-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gti-btn-primary {
    background: #ff6b35;
    color: white;
}

.gti-btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* Personalización de Owl Carousel */
.owl-carousel .owl-nav {
    margin-top: 15px;
    text-align: center;
}

.owl-carousel .owl-nav button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: #e55a2b;
    transform: scale(1.1);
}

.owl-carousel .owl-nav button.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-carousel .owl-dots .owl-dot {
    background: #ddd;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot span{
    margin: 1px!important;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.owl-carousel .owl-dots .owl-dot:hover {
    background: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
    .gti-gallery-carousel-container {
        padding: 15px;
    }
    
    .gti-main-image-container {
        height: 300px;
    }
    
    .gti-galeria-title {
        font-size: 20px;
    }
    
    .gti-gallery-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .gti-thumbnail-image {
        height: 60px;
    }
    
    .gti-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gti-main-image-container {
        height: 250px;
    }
    
    .gti-thumbnail-image {
        height: 50px;
    }
    
    .gti-zoom-icon {
        font-size: 24px;
    }
}

/* Fancybox personalización */
.fancybox-bg {
    background: rgba(0,0,0,0.8);
}

.fancybox-toolbar {
    background: rgba(0,0,0,0.7);
}

.fancybox-button {
    background: rgba(255, 107, 53, 0.8);
    color: white;
}

.fancybox-button:hover {
    background: rgba(255, 107, 53, 1);
}

.fancybox-caption {
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 14px;
    padding: 10px 20px;
}
