/* Nice Brand - Custom Styling Guidelines */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Drawers and Sidebar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f6f3f2; /* surface-container-low */
}
::-webkit-scrollbar-thumb {
    background: #dcd9d9; /* surface-dim */
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #887178; /* outline */
}

/* Base Body Color Overwrite */
body {
    background-color: #FFFDF7 !important; /* Soft paper-like Warm Off-White canvas */
    color: #252525 !important; /* Charcoal text */
}

/* Premium Parallax/Blur Header State */
header, nav.sticky {
    background-color: rgba(255, 253, 247, 0.9) !important;
}

/* Ghost Card Transitions & Shadows */
.ghost-card {
    background-color: #FFFDF7;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    border-radius: 8px; /* shape card level 1 */
}

.ghost-card:hover {
    box-shadow: 0 8px 32px rgba(37, 35, 35, 0.04) !important;
    border-color: rgba(201, 161, 59, 0.4) !important; /* Gold at 40% opacity */
    transform: translateY(-6px);
}

.ghost-card button {
    border-radius: 4px; /* button level 1 */
    transition: all 0.3s ease;
}

/* Premium Gold Divider with subtle horizontal fade */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 161, 59, 0) 0%, rgba(201, 161, 59, 0.4) 50%, rgba(201, 161, 59, 0) 100%);
    border: none;
}

/* Scalloped Brand Crest / Seal of Authenticity */
.crest-seal {
    width: 76px;
    height: 76px;
    background-color: #7A0B45; /* Burgundy */
    color: #FFFDF7;
    border: 2px solid #C9A13B; /* Gold */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(122, 11, 69, 0.15);
    z-index: 10;
}

.crest-seal::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed #C9A13B;
    border-radius: 50%;
    animation: rotateCrest 20s linear infinite;
}

@keyframes rotateCrest {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Soft ambient shadow for isolated imagery */
.layered-image-shadow {
    filter: drop-shadow(0 12px 24px rgba(37, 35, 35, 0.06));
    transition: filter 0.3s ease;
}
.layered-image-shadow:hover {
    filter: drop-shadow(0 16px 32px rgba(37, 35, 35, 0.1));
}

/* Pulse indicator for interactive points */
.micro-pulse {
    position: relative;
}
.micro-pulse::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #2E6B3A; /* Organic green */
    border-radius: 50%;
    top: 2px;
    right: 2px;
    box-shadow: 0 0 0 2px rgba(46, 107, 58, 0.4);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0px rgba(46, 107, 58, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(46, 107, 58, 0); }
    100% { box-shadow: 0 0 0 0px rgba(46, 107, 58, 0); }
}

/* Responsive Brand Logo Sizing */
.header-logo-img {
    height: 48px !important;
    max-height: 48px !important;
}
@media (min-width: 768px) {
    .header-logo-img {
        height: 72px !important;
        max-height: 72px !important;
    }
}
.header-logo-text {
    font-size: 1.1rem !important;
}
@media (min-width: 768px) {
    .header-logo-text {
        font-size: 1.75rem !important;
    }
}

/* Mobile Header Optimizations */
@media (max-width: 639px) {
    /* Tighten container padding inside sticky navbar */
    header .flex.justify-between.items-center,
    nav .flex.justify-between.items-center {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Decrease logo and text size on mobile */
    .header-logo-img {
        height: 38px !important;
        max-height: 38px !important;
    }
    .header-logo-text {
        display: none !important;
    }
    
    /* Tighten spacing between trailing icons */
    header .flex.items-center.space-x-4,
    header .flex.items-center.space-x-6,
    nav .flex.items-center.space-x-4,
    nav .flex.items-center.space-x-6 {
        gap: 6px !important;
    }
    
    /* Ensure no text wraps or overlaps */
    .whitespace-nowrap {
        white-space: nowrap !important;
    }
}
