/* ==========================================
   PJMedia Solutions - Corporate Styling Suite
   Aesthetic: Luxury Obsidian, Slate & Gold Theme
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Basic custom overrides to supplement Tailwind CDN utility styles */
:root {
    --gold-50: #fefcf0;
    --gold-100: #fdf7d1;
    --gold-200: #fbea9d;
    --gold-300: #f7d55d;
    --gold-400: #f2bd2b;
    --gold-500: #dca31f; /* Primary custom branding color */
    --gold-600: #b87c16;
    --gold-700: #8c5711;
    --gold-800: #6c4110;
    --gold-900: #55320f;
    --gold-950: #2d1805;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: #050505;
}

body {
    font-family: var(--font-sans);
    background-color: #050505;
    color: #f5f5f5;
    overflow-x: hidden;
}

/* Custom Scrollbar Styles for premium feel */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #1c1c1f;
    border-radius: 9px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dca31f;
}

/* Custom visual utilities to prevent AI-looking look */
.bg-ambient-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, #1c150c 0%, #030303 80%);
    pointer-events: none;
    z-index: 0;
}

/* Fine-tune layouts */
.text-gold {
    color: var(--gold-500);
}

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

.border-gold {
    border-color: rgba(220, 163, 31, 0.3);
}

.font-display {
    font-family: var(--font-heading);
}

.font-serif-luxury {
    font-family: var(--font-serif);
}

/* Floating custom elements */
.floating-circle-back {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

/* Custom transition definitions */
.transition-luxury {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Underline link triggers */
.link-hover-gold {
    position: relative;
}

.link-hover-gold::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
    transform-origin: bottom right;
    transition: transform 0.35s ease-out;
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Prevent double horizontal overflows on tiny viewports */
.row-prevent-overflow {
    max-width: 100vw;
    overflow-x: hidden;
}
