/* Custom Styles for Renee & Kevin AZ Living */

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

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

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

::-webkit-scrollbar-thumb {
    background: #00E5C6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B89C;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 229, 198, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 229, 198, 0.6);
    }
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Geometric Shape Animations */
.geometric-shape {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.geometric-shape:hover {
    transform: rotate(45deg) scale(1.1);
}

/* Gradient Backgrounds */
.gradient-mint {
    background: linear-gradient(135deg, #00E5C6 0%, #00B89C 100%);
}

.gradient-midnight {
    background: linear-gradient(135deg, #0A1128 0%, #1A2744 100%);
}

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

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #00E5C6 0%, #00B89C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 229, 198, 0.25);
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

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

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

/* Custom Focus Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(0, 229, 198, 0.2);
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .geometric-shape {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .geometric-shape,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* 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 */
@media (prefers-contrast: high) {
    .bg-midnight {
        background-color: #000;
    }
    
    .text-mint {
        color: #00FFD4;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0A1128;
        --text-color: #F4F1EA;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .card-hover:hover {
        transform: none;
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}
