/* Custom styles for Robert Hills at Ziems Ford Corners */

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

/* Selection color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Custom animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.4);
    }
}

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

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 25%, #d97706 50%, #fbbf24 75%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

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

.btn-shimmer {
    background: linear-gradient(90deg, #fbbf24 0%, #fcd34d 50%, #fbbf24 100%);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Card hover effects */
.card-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25), 0 0 40px rgba(251, 191, 36, 0.1);
}

/* Image zoom on hover */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Remove default scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7c3aed, #fbbf24);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8b5cf6, #fcd34d);
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-plum-200 {
        color: #e0e7ff !important;
    }
    
    .text-plum-300 {
        color: #c7d2fe !important;
    }
}

/* Reduced motion support */
@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;
    }
}

/* Accessibility: skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #fbbf24;
    color: #0f0624;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
    
    .magazine-accent::before,
    .magazine-accent::after {
        display: none;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-display.text-4xl {
        font-size: 2rem;
    }
}
