/**
 * Custom CSS overrides
 * Overrides and additional styles
 */

/* Button styles */
.btn-primary {
    background-color: #116636;
    color: white;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: inline-block;
    text-align: center;
    border-radius: 0.25rem;
}

.btn-primary:hover {
    background-color: #2d7a4f;
}

.btn-primary:focus {
    outline: 2px solid #116636;
    outline-offset: 2px;
}

.btn-secondary {
    border: 1px solid rgba(26, 61, 40, 0.3);
    color: #1a3d28;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    border-radius: 0.25rem;
    background-color: transparent;
}

.btn-secondary:hover {
    border-color: #116636;
    color: #116636;
}

.btn-secondary:focus {
    outline: 2px solid #116636;
    outline-offset: 2px;
}

/* Hover underline effect */
.zen-hover-underline {
    position: relative;
    display: inline-block;
    transition: all 0.6s ease-out;
}

.zen-hover-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #116636;
    transition: all 0.6s ease-out;
}

.zen-hover-underline:hover::after {
    width: 100%;
}

/* Dropdown menu hover fix */
.group\:hover\:block:hover .hidden {
    display: block !important;
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(26, 61, 40, 0.2);
    border-radius: 0.375rem;
    background-colorbacks-color: rgba(242, 246, 243, 0.6);
    color: #1a2620;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: rgba(17, 102, 54, 0.5);
    border-color: #116636;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: rgba(92, 107, 99, 0.5);
}

/* Card hover effects */
.bg-white\/60:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
a.text-earth:hover {
    color: #116636;
}

a.text-gold:hover {
    color: #2d7a4f;
}

/* Comment styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-colors-color: rgba(255, 255, 255, 0.6);
    border-radius: 0.5rem;
}

.comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a3d28;
    margin-bottom: 0.5rem;
}

/* Separator for comments */
.separator {
    display: inline-block;
    margin: 0 0.5rem;
    color: rgba(92, 107, 99, 0.3);
}

/* Prose styles for content */
.prose {
    color: #1a2620;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.prose ul,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error message styles */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive utilities */
@media (max-width: 767px) {
    .hidden\.lg\:flex {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-earth {
        color: #000000;
    }
    
    .text-earth-light {
        color: #333333;
    }
}