/* Custom CSS for Premium Landing Page */
:root {
    --orange: #ff6600;
    --warmOrange: #ff9933;
    --gold: #ffd700;
    --sunsetPink: #ff69b4;
    --purpleAccent: #9370db;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 102, 0, 0.8);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--orange), var(--warmOrange));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--warmOrange), var(--orange));
}

/* OrderOnline Form Custom Styling */
.orderonline-embed-form {
    font-family: 'Inter', sans-serif !important;
}

.orderonline-embed-form .form-group {
    margin-bottom: 1.5rem !important;
}

.orderonline-embed-form label {
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.orderonline-embed-form input,
.orderonline-embed-form select,
.orderonline-embed-form textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.orderonline-embed-form input:focus,
.orderonline-embed-form select:focus,
.orderonline-embed-form textarea:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1) !important;
    outline: none !important;
}

.orderonline-embed-form button[type="submit"] {
    background: linear-gradient(135deg, var(--orange), var(--warmOrange)) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 9999px !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3) !important;
}

.orderonline-embed-form button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4) !important;
}

/* Hide OrderOnline loader after loading */
.ooef-loader {
    display: none !important;
}

/* Mobile Menu Animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.show {
    max-height: 400px;
}

/* Product Image Zoom */
.product-img {
    overflow: hidden;
    cursor: zoom-in;
}

.product-img img {
    transition: transform 0.5s ease;
}

.product-img:hover img {
    transform: scale(1.1);
}

/* Color Selection */
.color-option {
    transition: all 0.3s ease;
}

.color-option.selected {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--orange);
}

.color-option.selected img {
    border: 3px solid var(--orange);
}

/* Sticky CTA Animation */
#stickyCTA.show {
    transform: translateY(0);
}

/* Lightbox Styles */
#lightbox {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.show {
    opacity: 1;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* Form Validation */
.form-error {
    border-color: #ef4444 !important;
}

.form-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.success-animation {
    animation: successPulse 0.5s ease;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--orange), var(--warmOrange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    #stickyCTA {
        padding: 1rem;
    }
    
    #stickyCTA .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

/* Premium Badge */
.premium-badge {
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    color: #7c2d12;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Countdown Timer Styling */
#countdown div {
    min-width: 80px;
}

/* Star Rating */
.star-rating {
    color: #fbbf24;
}

.star-rating .star {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fbbf24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') center/contain no-repeat;
}

/* Performance Optimizations */
img {
    loading: lazy;
}

video {
    loading: lazy;
}

/* Print Styles */
@media print {
    nav, footer, #stickyCTA, .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}
