:root {
    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-teal-500: #14b8a6;
    --color-teal-400: #2dd4bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-slate-950);
    color: var(--color-slate-200);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar scroll effect */
nav.scrolled {
    background-color: rgba(2, 10, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

nav.scrolled .text-slate-300 {
    color: var(--color-slate-300);
}

nav.scrolled .text-white {
    color: var(--color-slate-100);
}

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

::-webkit-scrollbar-track {
    background: var(--color-slate-950);
}

::-webkit-scrollbar-thumb {
    background: var(--color-slate-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal-500);
}

/* Selection color */
::selection {
    background-color: rgba(20, 184, 166, 0.3);
    color: var(--color-slate-100);
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-teal-400);
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: fadeInUp 0.3s ease-out;
}

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Subtle gradient overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(2, 10, 23, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}

/* Gold accent utilities */
.text-gold-350 {
    color: #d4a574;
}

.border-gold-350 {
    border-color: #d4a574;
}

.bg-gold-350 {
    background-color: #d4a574;
}

/* Hover effects for cards */
.group:hover .group-hover\:bg-teal-500\/20 {
    background-color: rgba(20, 184, 166, 0.2);
}

.group:hover .group-hover\:border-teal-500\/40 {
    border-color: rgba(20, 184, 166, 0.4);
}
