/**
 * IslandCompanions.com - Custom Styles
 * Additional styles beyond Tailwind
 */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0FAF9;
}
::-webkit-scrollbar-thumb {
    background: #007B7F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1A2E35;
}

/* Selection color */
::selection {
    background: #007B7F;
    color: white;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Animation utilities */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Card hover lift */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
