/* --- Core Design System Rules --- */

:root {
    --gold-bronze-gradient: linear-gradient(to right, #e9c176, #a17f3b);
}

/* 1. Signature Component: Animated Border Button */
.animated-border {
    position: relative;
    background: #ffffff; /* White background */
    border: solid 2px #a17f3b; /* Gold edges */
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.5s ease, border-color 0.5s ease;
    cursor: pointer;
    color: #0e1b36; /* Dark blue text color */
}

.animated-border:hover {
    transform: scale(1.05);
    background-color: #f9f9f8; /* Slightly off-white on hover */
    border-color: #f9f9f8; /* Edges take the current background color of the button */
}

/* Nav Link Hover Animation */
.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-bronze-gradient);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #a17f3b; /* matches tertiary-fixed-dim */
    opacity: 1;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 2. Ambient Shadow (Tonal Layering Principle) */
.ambient-shadow {
    box-shadow: 0 40px 40px rgba(26, 28, 28, 0.04);
}

/* 3. Utility - Remove standard borders for gallery feel */
.no-border {
    border: none !important;
}

/* 4. Smooth scrolling for high-end feel */
html {
    scroll-behavior: smooth;
}

/* 5. Extracted Global Styles */
body {
    background-color: #f9f9f8;
    color: #1a1c1c;
    font-family: 'Manrope', sans-serif;
}
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* 6. Animated Gradient Border */
.animated-gradient-border {
    position: relative;
    background: #ffffff;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 9999px;
}
.animated-gradient-border::before {
    content: '';
    position: absolute;
    top: -2px; bottom: -2px;
    left: -2px; right: -2px;
    background: linear-gradient(45deg, #e9c176, #a17f3b, #e9c176);
    background-size: 200% 200%;
    z-index: -1;
    border-radius: 9999px;
    animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 7. Checkout Button */
.checkout-btn {
    position: relative;
    background: #0e1b36;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 9999px;
    color: #f9f9f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 1;
}
.checkout-btn::before {
    content: '';
    position: absolute;
    top: -2px; bottom: -2px;
    left: -2px; right: -2px;
    background: linear-gradient(to right, #e9c176, #a17f3b);
    z-index: -1;
    border-radius: 9999px;
}
.checkout-btn:hover {
    transform: scale(1.05);
}