/* VGS Slider Frontend Styles */
.vgs-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    transition: height 0.5s ease;
}

/* Desktop: full viewport height */
@media (min-width: 1025px) {
    .vgs-slider-container {
        height: 100vh;
    }
}

/* Mobile: height will be set dynamically by JavaScript */
@media (max-width: 1024px) {
    .vgs-slider-container {
        height: auto;
    }
}

.vgs-slider-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vgs-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Desktop: slides take full height */
@media (min-width: 1025px) {
    .vgs-slide {
        height: 100vh;
    }
}

/* Mobile: slides height auto, determined by image */
@media (max-width: 1024px) {
    .vgs-slide {
        height: auto;
        line-height: 0;
    }
}

/* Image Styles */
.vgs-slide-image {
    display: block;
    pointer-events: none;
    user-select: none;
    transition: all 0.5s ease;
    opacity: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Desktop: Image fills the container */
@media (min-width: 1025px) {
    .vgs-slide-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile: Image displays at full width, natural height */
@media (max-width: 1024px) {
    .vgs-slide-image {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
    }
}

/* Logo styling */
.vgs-logo-overlay .slide-logo {
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Logo overlay container */
.vgs-logo-overlay {
    position: absolute;
    z-index: 15;
    pointer-events: auto;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: auto;
    max-width: 90%;
}

.vgs-logo-overlay.active {
    opacity: 1;
}

/* Logo position classes */
.logo-position-top-left {
    top: 5%;
    left: 5%;
    transform: none;
}

.logo-position-top-center {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.logo-position-top-right {
    top: 5%;
    right: 5%;
    transform: none;
}

.logo-position-center-left {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.logo-position-center-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-position-center-right {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.logo-position-bottom-left {
    bottom: 5%;
    left: 5%;
    transform: none;
}

.logo-position-bottom-center {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.logo-position-bottom-right {
    bottom: 5%;
    right: 5%;
    transform: none;
}

/* Button styling */
.order-button {
    display: inline-block;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    background: #dc0606;
    margin-top: 0;
}

.order-button:hover {
    transform: translateY(-2px);
}

/* Navigation arrows */
.vgs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    border: none;
    font-family: monospace;
    line-height: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    font-size: 32px;
    color: #ffffff;
    border-radius: 50%;
}

.vgs-nav-prev {
    left: 20px;
}

.vgs-nav-next {
    right: 20px;
}

.vgs-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 1024px) {
    .vgs-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    .vgs-nav-prev {
        left: 10px;
    }
    .vgs-nav-next {
        right: 10px;
    }
}

/* Pagination dots */
.vgs-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
    width: fit-content;
    margin: 0 auto;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .vgs-slider-dots {
        bottom: 15px;
        padding: 6px 14px;
    }
}

.vgs-dot {
    cursor: pointer;
    transition: all 0.25s ease;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.vgs-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.vgs-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
    width: 26px;
    border-radius: 20px;
}

/* Editor Mode */
.vgs-editor-mode .vgs-nav-btn,
.vgs-editor-mode .vgs-slider-dots {
    display: flex !important;
}

.vgs-editor-mode .vgs-logo-overlay {
    opacity: 1 !important;
}

.vgs-editor-mode .vgs-logo-overlay.active {
    opacity: 1 !important;
}

.vgs-editor-preview {
    background: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #ddd;
    border-radius: 8px;
    margin: 20px;
    color: #666;
}