@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --navy-900: #0a0f1e;
    --navy-800: #111827;
    --gold-400: #d4a853;
    --gold-500: #c49a3e;
    --gold-600: #b8860b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--gold-400), var(--gold-600));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-400);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float-alt {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-reverse 5s ease-in-out infinite;
}

.floating-card-3 {
    animation: float-alt 7s ease-in-out infinite;
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3,
    .floating-card-4 {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
