/* ============================================
   Sherri Davis Financial LLC — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
}

::selection {
    background-color: #065f46;
    color: #fefdf8;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    top: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-square-1 {
    top: 40%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.04);
    border-radius: 24px;
    transform: rotate(45deg);
}

.geo-triangle {
    top: 60%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 158, 11, 0.04);
}

.geo-dots {
    top: 25%;
    left: 10%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.12) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* --- Hero Gradient --- */
.hero-gradient {
    background: linear-gradient(135deg, #022c22 0%, #065f46 30%, #047857 60%, #065f46 100%);
}

/* --- Navbar --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fixed.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08), 0 4px 30px rgba(6, 95, 70, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-fixed.scrolled .nav-link {
    color: #065f46;
}

.nav-fixed.scrolled .nav-link:hover {
    color: #047857;
}

/* Primary button (nav + general) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #059669;
    color: #fff;
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.35);
}

/* --- Hero buttons --- */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #fff;
    color: #065f46;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    background: #f0fdf4;
}

.btn-hero-primary .btn-icon {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* --- CTA buttons --- */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    background: #f59e0b;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.35);
}

.btn-cta-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45);
}

.btn-cta-primary .btn-icon {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* --- Section styles --- */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.section-title {
    line-height: 1.15;
}

.section-title-light {
    line-height: 1.15;
}

.section-desc {
    line-height: 1.7;
}

/* --- Service cards --- */
.service-card {
    opacity: 0;
    transform: translateY(24px);
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- About floating card --- */
.about-floating-card {
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Process steps --- */
.process-step {
    opacity: 0;
    transform: translateY(20px);
}

.process-step.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Contact info items --- */
.contact-info-item {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.contact-info-item:hover {
    transform: translateX(4px);
}

/* --- Form inputs --- */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #fefdf8;
    border: 1.5px solid #d1fae5;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.938rem;
    color: #065f46;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #059669;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
}

/* Submit button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #059669;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
    width: 100%;
}

.btn-submit:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-submit-icon {
    transform: translate(2px, -2px);
}

/* --- Footer --- */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #a7f3d0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
}

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-2deg); }
}

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

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

/* --- Reveal animations --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Hero entrance animations --- */
.hero-badge {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-title {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-ctas {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.hero-trust {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

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

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

.mobile-menu.hidden {
    animation: slideUp 0.3s ease forwards;
}

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

@keyframes slideUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-8px); pointer-events: none; }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-title-light {
        font-size: 2.25rem;
    }

    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle-2 {
        width: 250px;
        height: 250px;
    }

    .geo-square-1 {
        width: 80px;
        height: 80px;
    }

    .geo-triangle {
        display: none;
    }

    .about-floating-card {
        position: relative;
        margin-top: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 3.5rem;
    }
}
