/* ===== Custom Styles for Philistin LLC ===== */

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

/* Custom gradient for hero */
.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(74, 28, 74, 0.85) 0%,
        rgba(107, 58, 107, 0.70) 40%,
        rgba(184, 55, 116, 0.55) 70%,
        rgba(212, 160, 23, 0.30) 100%
    );
}

/* Navigation styles */
.nav-link {
    position: relative;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 244, 248, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(107, 58, 107, 0.08);
}

.nav-scrolled .nav-link {
    color: #6B3A6B !important;
}

.nav-scrolled .menu-line {
    background: #4A1C4A !important;
}

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

.mobile-link {
    position: relative;
}

.mobile-link:hover {
    background: rgba(107, 58, 107, 0.06) !important;
}

/* Hamburger animation */
.menu-open .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.25rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Scroll reveal animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), 
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        transform: translateX(-30px);
    }
    
    .reveal-right {
        transform: translateX(30px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Selection color */
::selection {
    background: #D4A017;
    color: #4A1C4A;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D45591;
    border-radius: 4px;
}

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

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B3A6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

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

/* Image hover zoom */
img {
    -webkit-user-drag: none;
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
