/* Andreama Group - Premium Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Leather texture effect */
.leather-texture {
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.02) 2px,
            rgba(212, 175, 55, 0.02) 4px
        );
    pointer-events: none;
}

/* Gold glow effect */
.gold-glow {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
    animation: pulse-gold 3s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(212, 175, 55, 0.15);
    }
}

/* Button shadow */
.gold-button-shadow {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.gold-button-shadow:hover {
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

/* Reveal animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-up.delay-100 { animation-delay: 0.1s; }
.reveal-up.delay-200 { animation-delay: 0.2s; }
.reveal-up.delay-300 { animation-delay: 0.3s; }
.reveal-up.delay-400 { animation-delay: 0.4s; }

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-reveal.delay-100 { transition-delay: 0.1s; }
.scroll-reveal.delay-200 { transition-delay: 0.2s; }
.scroll-reveal.delay-300 { transition-delay: 0.3s; }

/* Service cards hover */
.service-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* USP cards */
.usp-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.usp-card:hover {
    transform: translateY(-8px);
}

.usp-card:hover .rotate-45 {
    background-color: rgba(212, 175, 55, 0.3);
}

/* Portfolio items */
.portfolio-item {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover {
    z-index: 10;
}

/* Form styling */
.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background-color: rgba(10, 10, 10, 0.8);
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

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

/* Selection color */
::selection {
    background-color: rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

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

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .reveal-up {
        opacity: 1;
        transform: none;
    }
}