/* Custom Fonts */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Logo Animation */
@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-animation {
    transition: all 0.3s ease;
}

.logo-animation:hover {
    animation: logoRotate 1s ease-in-out;
    transform: scale(1.1);
}

/* Hero Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title-animation {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-subtitle-animation {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta-animation {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Product Card Animations */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideInUp 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

.product-card:hover {
    transform: translateY(-10px);
}

/* Trust Indicators Animation */
.trust-indicator {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

.trust-indicator:nth-child(1) { animation-delay: 0.1s; }
.trust-indicator:nth-child(2) { animation-delay: 0.2s; }
.trust-indicator:nth-child(3) { animation-delay: 0.3s; }
.trust-indicator:nth-child(4) { animation-delay: 0.4s; }

.trust-indicator:hover {
    transform: translateY(-5px);
}

/* Brand Story Animation */
.brand-story-content {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Image Lazy Loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Image Error Handling */
.error-image {
    opacity: 0.7;
    filter: grayscale(100%);
}

/* Image Loading States */
img {
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img.loaded {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

.spinner {
    animation: spin 1s linear infinite;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .trust-indicator {
        margin-bottom: 2rem;
    }
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #000;
    border-left: 1px solid rgba(251, 191, 36, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
    }
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    background: transparent;
    border: 2px solid #fbbf24;
    border-radius: 50px;
    color: white;
    outline: none;
}

.search-modal input::placeholder {
    color: #9ca3af;
}

/* Product Quick View */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: #111;
    border-radius: 1rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Notification Toast */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #fbbf24;
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    z-index: 3000;
    transform: translateX(400px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Pulse Animation for New Items */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hover Glow Effect */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* Stagger Animation */
.stagger-animation > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    transition: max-height 0.3s ease, border-color 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    border-top: 1px solid transparent;
}

#mobile-menu.show {
    max-height: 300px;
    border-top-color: rgba(251, 191, 36, 0.2);
    padding-top: 0.75rem; /* pt-3 equivalent */
    margin-top: 0.75rem;   /* mt-3 equivalent */
}

/* Image Zoom Effect */
.image-zoom {
    overflow: hidden;
}

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

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

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #fbbf24;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dark theme skeleton */
.skeleton-dark {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-gray-400 {
        color: #ffffff;
    }
    
    .border-yellow-500\/20 {
        border-color: #fbbf24;
    }
}

/* Premium Contact Method Cards */
.contact-method-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    backdrop-filter: blur(20px);
    min-height: 220px;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, transparent 50%, rgba(251, 191, 36, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.contact-method-card:hover::before {
    opacity: 1;
}

.contact-method-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(251, 191, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    transition: all 0.4s ease;
    background: transparent;
}

.icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.email-icon {
    background: transparent;
}

.whatsapp-icon {
    background: transparent;
}

.facebook-icon {
    background: transparent;
}

.contact-method-card:hover .icon-image {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.contact-method-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.contact-method-card:hover .contact-ripple {
    width: 120px;
    height: 120px;
    opacity: 0.3;
}

.contact-method-card:nth-child(1):hover .contact-ripple {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
}

.contact-method-card:nth-child(2):hover .contact-ripple {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
}

.contact-method-card:nth-child(3):hover .contact-ripple {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-method-card:nth-child(1) .contact-value {
    color: #fbbf24;
}

.contact-method-card:nth-child(2) .contact-value {
    color: #10b981;
}

.contact-method-card:nth-child(3) .contact-value {
    color: #3b82f6;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.contact-method-card:hover .contact-action {
    opacity: 1;
    transform: translateY(0);
}

.contact-method-card:hover .contact-subtitle {
    color: #d1d5db;
}

.contact-action i {
    transition: transform 0.3s ease;
}

.contact-method-card:hover .contact-action i {
    transform: translateX(4px);
}

/* Decorative Elements */
.contact-decoration {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0.3;
}

.decoration-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

.decoration-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-method-card {
        min-height: 200px;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .contact-method-card {
        min-height: 180px;
        margin-bottom: 1rem;
    }
    
    .contact-method-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .contact-content {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.25rem;
    }
    
    .contact-decoration {
        margin-top: 2rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
} 