/* Gold GC Express LLC - Custom Styles */

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

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.2s ease;
}

/* Custom selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #fff;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.geo-circle, .geo-square {
    animation: float 6s ease-in-out infinite;
}

.hero-geo-1 { animation-delay: 0s; }
.hero-geo-2 { animation-delay: 1s; }
.hero-geo-3 { animation-delay: 2s; }
.hero-geo-4 { animation-delay: 0.5s; }

/* Gradient border effect for cards */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #0d1527, #111d35);
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(251, 191, 36, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Glass morphism effect */
.glass {
    background: rgba(13, 21, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Text glow effect */
.text-glow {
    text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

/* Shimmer effect for buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Pulse ring animation */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Stagger animation for cards */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-geo-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-geo-2 {
        width: 120px;
        height: 120px;
    }
    
    .hero-geo-3, .hero-geo-4 {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-geo-1 {
        width: 150px;
        height: 150px;
    }
}

/* Print styles */
@media print {
    .geo-circle, .geo-square, .mobile-menu, #mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid white;
    }
    
    .btn-primary, .btn-secondary {
        border: 2px solid currentColor;
    }
}

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

/* Loading state for form */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    border-radius: inherit;
}
