/* styles.css */

/* Custom global styles to complement Tailwind CDN */

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #2FA4B6, #248291);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.7) 40%, rgba(15, 15, 15, 0.2) 100%);
}

@media (max-width: 1024px) {
    .hero-overlay {
        background: linear-gradient(0deg, #0F0F0F 0%, rgba(15, 15, 15, 0.8) 50%, rgba(15, 15, 15, 0.2) 100%);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid #2FA4B6;
    outline-offset: 2px;
}

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

/* Custom Scrollbar for Modal inside */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #E6EFF2;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2FA4B6;
    border-radius: 4px;
}

/* Modal states */
.modal-active {
    overflow: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hub Section Utilities */
.premium-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px -10px rgba(47, 164, 182, 0.15);
    /* #2FA4B6 */
}

.premium-image {
    filter: grayscale(0%);
    transition: filter 0.5s ease-out;
}

.premium-card:hover .premium-image {
    filter: grayscale(100%);
}

.border-reveal {
    width: 0%;
    transition: width 0.4s ease-in-out;
}

.premium-card:hover .border-reveal {
    width: 100%;
}

.tracking-premium {
    letter-spacing: -0.02em;
}

.tracking-button {
    letter-spacing: 0.05em;
}

/* Modal Animation */
.modal-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-content {
    transform: translateX(0);
}