/* Custom styles for Fades by Aj */

/* Playfair Display font family */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Inter font family */
.font-inter {
    font-family: 'Inter', sans-serif;
}

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

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

::-webkit-scrollbar-track {
    background: #0A060C;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #C8963E, #7B2D8E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #F5D9A0, #C8963E);
}

/* Selection color */
::selection {
    background: rgba(200, 150, 62, 0.3);
    color: #F5D9A0;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Nav link hover effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, #C8963E, #F5D9A0);
    transition: width 0.3s ease;
}

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

/* Mobile link hover */
.mobile-link {
    position: relative;
}

/* Service card glow on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0), rgba(200, 150, 62, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.3), rgba(123, 45, 142, 0.2));
}

/* Gallery item hover */
.gallery-item {
    cursor: pointer;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 6, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 150, 62, 0.1);
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(to right, #C8963E, #F5D9A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #C8963E;
    outline-offset: 2px;
}

/* Button ripple effect on hover */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shift for images */
img {
    max-width: 100%;
    height: auto;
}
