/* Custom styles that complement Tailwind CSS */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #040a07;
    color: #fdf9ee;
    overflow-x: hidden;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #fefdf8;
}

/* Enhanced focus states */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.2); }
    50% { box-shadow: 0 0 40px rgba(74, 222, 128, 0.4); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Utility classes */
.float-1 { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float 5s ease-in-out infinite 0.5s; }
.float-3 { animation: float 7s ease-in-out infinite 1s; }

.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

.gold-shimmer {
    background: linear-gradient(90deg, #edc860 0%, #faf0d0 25%, #e2ad28 50%, #faf0d0 75%, #edc860 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Scroll reveal for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Card hover effects */
.luxury-card {
    background: linear-gradient(145deg, rgba(12, 36, 24, 0.9), rgba(7, 26, 16, 0.95));
    border: 1px solid rgba(74, 222, 128, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
    border-color: rgba(74, 222, 128, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(74, 222, 128, 0.1);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: 1px solid #22c55e;
    color: #fefdf8;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    box-shadow: 0 10px 40px rgba(22, 163, 74, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #edc860;
    color: #edc860;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(237, 200, 96, 0.1);
    box-shadow: 0 10px 40px rgba(237, 200, 96, 0.15);
    transform: translateY(-2px);
}

/* Form inputs */
.form-input {
    background: rgba(12, 36, 24, 0.6);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #fdf9ee;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: rgba(250, 240, 208, 0.4);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
    color: #faf0d0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #edc860);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fefdf8;
}

.nav-link:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .glass,
    .emerald-glow,
    .pulse-glow {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
