/* Custom styles for North Texas Income-Tax, Co. */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Gold gradient text utility */
.gold-gradient {
    background: linear-gradient(135deg, #e8c98a 0%, #c9952e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coral gradient text utility */
.coral-gradient {
    background: linear-gradient(135deg, #ff7f6b 0%, #e85a44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold divider line */
.gold-line {
    background: linear-gradient(90deg, transparent, #c9952e, transparent);
    height: 1px;
}

/* Service card hover effect */
.service-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    border-color: #c9952e;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 149, 46, 0.1);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

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

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

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #e8c98a, #c9952e);
    color: #0d0d0d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 149, 46, 0.3);
}

/* Coral button */
.btn-coral {
    background: linear-gradient(135deg, #ff7f6b, #e85a44);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 90, 68, 0.3);
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.88) 0%, rgba(26, 26, 26, 0.72) 50%, rgba(13, 13, 13, 0.85) 100%);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #c9952e;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c9952e;
    outline-offset: 2px;
}

/* Form select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9952e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Ensure all text is readable */
.text-charcoal-600 {
    color: #a0a0a0;
}

/* Map filter for dark theme */
iframe[src*="google.com/maps"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
}
