/* Custom styles for FamilySearch Center Bentonville */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253,251,247,0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(253,251,247,0.2);
    bottom: 15%;
    left: -50px;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(253,251,247,0.3);
    top: 40%;
    right: 10%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(253,251,247,0.15);
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
}

.square-1 {
    width: 80px;
    height: 80px;
    background: rgba(253,251,247,0.12);
    bottom: 25%;
    right: 5%;
    transform: rotate(30deg);
}

.diamond-1 {
    width: 60px;
    height: 60px;
    background: rgba(253,251,247,0.1);
    top: 35%;
    left: 15%;
    transform: rotate(45deg);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

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

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

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

/* Process steps */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 94, 32, 0.08);
}

.nav-scrolled .nav-link {
    color: #1B5E20 !important;
}

.nav-scrolled .nav-link:hover {
    background: #e8f5e9 !important;
    color: #1B5E20 !important;
}

.nav-scrolled .mobile-nav-link {
    color: #1B5E20 !important;
}

.nav-scrolled .mobile-nav-link:hover {
    background: #e8f5e9 !important;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #66bb6a;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1B5E20;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #a5d6a7;
    color: #0a2a0c;
}
