/* Birthday AR Plugin - Frontend Styles */

.birthday-ar-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.birthday-ar-viewer #container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.birthday-ar-viewer #menuToggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(233, 30, 99, 0.9);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
}

.birthday-ar-viewer #menuToggle:hover {
    background: rgba(233, 30, 99, 1);
    transform: scale(1.05);
}

.birthday-ar-viewer #header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(233, 30, 99, 0.9);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.birthday-ar-viewer #header.hidden {
    transform: translateY(-100%);
}

.birthday-ar-viewer #status {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.birthday-ar-viewer #status.hidden {
    transform: translateY(-100px);
}

.birthday-ar-viewer #controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
    flex-wrap: wrap;
    justify-content: center;
    transition: transform 0.3s ease;
}

.birthday-ar-viewer #controls.hidden {
    transform: translateX(-50%) translateY(100%);
}

.birthday-ar-viewer button {
    background: rgba(233, 30, 99, 0.9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Button Size Variations */
.birthday-ar-viewer.button-size-small button {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 20px;
}

.birthday-ar-viewer.button-size-medium button {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 25px;
}

.birthday-ar-viewer.button-size-large button {
    padding: 16px 28px;
    font-size: 16px;
    border-radius: 30px;
}

.birthday-ar-viewer.button-size-small #menuToggle {
    padding: 6px 10px;
    font-size: 14px;
}

.birthday-ar-viewer.button-size-medium #menuToggle {
    padding: 8px 12px;
    font-size: 16px;
}

.birthday-ar-viewer.button-size-large #menuToggle {
    padding: 10px 16px;
    font-size: 18px;
}

.birthday-ar-viewer button:hover {
    background: rgba(233, 30, 99, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.birthday-ar-viewer button:active {
    transform: translateY(0);
}

.birthday-ar-viewer .close-btn {
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.birthday-ar-viewer .close-btn:hover {
    background: rgba(255, 0, 0, 1);
}

.birthday-ar-viewer .full-screen-video {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
}

.birthday-ar-viewer .full-screen-video.active {
    display: flex;
}

.birthday-ar-viewer .full-screen-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.birthday-ar-viewer .full-screen-video .exit-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.birthday-ar-viewer .full-screen-video .exit-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Products List Styles */
.birthday-ar-products-list {
    margin: 20px 0;
}

.birthday-ar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.birthday-ar-product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.birthday-ar-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.birthday-ar-product-card .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.birthday-ar-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.birthday-ar-product-card .product-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.birthday-ar-product-card .product-info .description {
    color: #666;
    margin: 10px 0;
    font-size: 0.9em;
}

.birthday-ar-product-card .product-info .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #e91e63;
    margin: 10px 0;
}

.birthday-ar-product-card .product-info .category {
    color: #999;
    font-size: 0.85em;
    margin: 5px 0;
}

.birthday-ar-product-card .featured-badge {
    display: inline-block;
    padding: 5px 10px;
    background: #ff69b4;
    color: white;
    border-radius: 15px;
    font-size: 0.8em;
    margin: 10px 0;
}

.birthday-ar-product-card .product-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.birthday-ar-product-card .product-actions .button {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.birthday-ar-product-card .product-actions .ar-button {
    background: #e91e63;
    color: white;
}

.birthday-ar-product-card .product-actions .ar-button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

.birthday-ar-product-card .product-actions .purchase-button {
    background: #28a745;
    color: white;
}

.birthday-ar-product-card .product-actions .purchase-button:hover {
    background: #218838;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .birthday-ar-grid {
        grid-template-columns: 1fr;
    }
    
    .birthday-ar-viewer #controls {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        flex-direction: column;
    }
    
    .birthday-ar-viewer button {
        width: 100%;
        margin-bottom: 5px;
    }
}

