/* Custom styles for Gregory Casten — Raymond James */

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

/* Selection color */
::selection {
    background-color: #064e3b;
    color: #fdfcf8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #d1fae5;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #064e3b;
}

/* Subtle pattern for hero background */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(6, 78, 59, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(217, 119, 6, 0.03) 0%, transparent 50%);
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Button hover lift */
button:hover, a:hover {
    transform: translateY(-1px);
}
button:active, a:active {
    transform: translateY(0);
}

/* Image hover zoom */
.group img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover img {
    transform: scale(1.03);
}

/* Gold accent underline animation */
.font-serif .italic::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d97706, transparent);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Print styles */
@media print {
    nav, #back-to-top, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff !important;
    }
}
