/* Nellis Dunes Custom Styles */

/* Text Shadow Utility */
.text-shadow {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

/* Text Outline Utility */
.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

/* Clip Notch Effect */
.clip-notch {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
}

/* Smooth Scroll for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #ffae00;
    outline-offset: 2px;
}

/* Screen Reader Only - for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Custom Animation for Pulse Effect */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Prose Styles for Editorial Content */
.prose p {
    margin-bottom: 1rem;
}

.prose strong {
    font-weight: 700;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    .text-7xl {
        font-size: 3.5rem;
    }
    
    .text-9xl {
        font-size: 5rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-gray-400,
    .text-gray-500,
    .text-gray-600 {
        color: #e5e5e5;
    }
    
    .border-white\/10 {
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .animate-pulse {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .transition,
    .transition-all,
    .transition-colors,
    .transition-transform {
        transition: none;
    }
}

/* Print Styles */
@media print {
    nav,
    .animate-pulse,
    [role="complementary"] {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-charcoal,
    .bg-dirt {
        background: white;
        color: black;
    }
    
    .text-off-white,
    .text-white {
        color: black;
    }
}
