/* Custom Styles for Hedgescapes LLC */

/* Custom Tailwind Colors */
@layer utilities {
    .bg-midnight-blue {
        background-color: #0d3b4f;
    }
    .bg-midnight-blue-light {
        background-color: #1a5276;
    }
    .text-midnight-blue {
        color: #0d3b4f;
    }
    .text-midnight-blue-light {
        color: #1a5276;
    }
    .bg-mint {
        background-color: #a8d5ba;
    }
    .text-mint {
        color: #a8d5ba;
    }
    .border-mint {
        border-color: #a8d5ba;
    }
    .border-mint\/30 {
        border-color: rgba(168, 213, 186, 0.3);
    }
    .bg-mint\/10 {
        background-color: rgba(168, 213, 186, 0.1);
    }
    .bg-mint\/20 {
        background-color: rgba(168, 213, 186, 0.2);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d3b4f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5276;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #a8d5ba;
    outline-offset: 2px;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(13, 59, 79, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Gradient backgrounds */
.gradient-midnight-to-mint {
    background: linear-gradient(135deg, #0d3b4f 0%, #1a5276 50%, #a8d5ba 100%);
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #0d3b4f 0%, #a8d5ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
}

/* Print styles */
@media print {
    nav,
    #back-to-top,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-mint {
        background-color: #00ff88;
    }
    
    .text-mint {
        color: #00ff88;
    }
}

/* Reduced transparency for accessibility */
@media (prefers-reduced-transparency: reduce) {
    .bg-midnight-blue\/95 {
        background-color: #0d3b4f;
    }
    
    .bg-midnight-blue\/75 {
        background-color: #0d3b4f;
    }
    
    .bg-midnight-blue\/85 {
        background-color: #0d3b4f;
    }
}
