/* Custom styles for Serton Tax LLC */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #faf9f6;
    color: #1a2e1c;
    overflow-x: hidden;
}

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

/* Typography */
.serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Navigation transitions */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(45, 82, 52, 0.1);
}

#navbar.scrolled .menu-line {
    background: #2d5234;
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

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

/* Form styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(111, 163, 114, 0.2);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6fa372;
}

/* Selection color */
::selection {
    background: #c6dfc9;
    color: #1a2e1c;
}

/* Print styles */
@media print {
    #navbar,
    #contact-form,
    .reveal {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}
