/* ─── Custom Properties ─── */
:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;

    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* ─── Font Imports ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

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

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

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

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

/* ─── Custom Color Classes ─── */
.text-plum-700 { color: var(--plum-700); }
.text-plum-800 { color: var(--plum-800); }
.text-plum-900 { color: var(--plum-900); }
.text-plum-950 { color: var(--plum-950); }

.text-amber-300 { color: var(--amber-300); }
.text-amber-400 { color: var(--amber-400); }
.text-amber-500 { color: var(--amber-500); }
.text-amber-600 { color: var(--amber-600); }

.bg-plum-900 { background-color: var(--plum-900); }
.bg-plum-950 { background-color: var(--plum-950); }

.bg-amber-500 { background-color: var(--amber-500); }
.bg-amber-600 { background-color: var(--amber-600); }

/* ─── Nav Links ─── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--amber-400);
    transition: width 0.3s ease;
}

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

/* ─── Mobile Menu ─── */
.mobile-link {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: var(--amber-300);
    transform: translateY(-2px);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in {
    animation-name: fadeIn;
    animation-duration: 1.2s;
    animation-timing-function: ease;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-fade-in-up,
    .animate-fade-in {
        animation: none;
        opacity: 1;
    }
    .overflow-hidden img {
        transition: none;
    }
}

/* ─── Form Focus Styles ─── */
input:focus,
textarea:focus {
    outline: none;
}

/* ─── Image Aspect Ratio ─── */
.aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--plum-950);
}
::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--plum-600);
}
