/* Custom Styles for Palm Beach Professionals */

:root {
    --navy-900: #0a1628;
    --navy-800: #1a2744;
    --gold-500: #d4a853;
    --gold-400: #e4bc6a;
    --gold-600: #b8923f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--navy-900);
    overflow-x: hidden;
}

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

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Navigation */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-blur-sm;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

/* Hero Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 5s ease-in-out infinite 1s;
}

/* Service Cards */
.service-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.active {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.inactive {
    opacity: 0;
    pointer-events: none;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-400);
}

/* Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-500) !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2) !important;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    #hero h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}
