/* Custom styles — overrides and additions beyond Tailwind */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(45, 74, 45, 0.15);
    color: #1a2a1a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAFAF7;
}
::-webkit-scrollbar-thumb {
    background: #c6dfc6;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9cc69c;
}

/* Subtle gradient overlay for hero image */
.hero-image-overlay {
    position: relative;
}
.hero-image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(250,250,247,0) 60%, rgba(250,250,247,0.3) 100%);
    pointer-events: none;
    border-radius: inherit;
}

/* Thin line animation */
@keyframes lineGrow {
    from { width: 0; }
    to { width: 48px; }
}
.line-accent {
    animation: lineGrow 0.6s ease forwards;
}

/* Subtle pulse for CTA */
@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
.btn-primary:hover {
    animation: subtlePulse 0.4s ease;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, #form-success {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .btn-primary, .btn-outline {
        border: 1px solid #000;
        color: #000;
        background: transparent;
    }
}
