/* Custom styles that complement Tailwind CSS */

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

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

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

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Custom animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4a853 0%, #f0d68a 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover effect for links */
a {
    text-decoration: none;
}

/* Ensure all interactive elements have pointer cursor */
button, a, select, input[type="submit"] {
    cursor: pointer;
}

/* Textarea resize */
textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* Print styles */
@media print {
    .navbar-glass,
    .btn-shine,
    .reveal-hidden {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
