/* Cedar Islands — Custom Styles */

/* Base styles already handled by Tailwind + inline styles in HTML */
/* This file contains additional custom styles */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #ff6b2f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #ffd6bd;
    color: #18181b;
}

/* Print styles */
@media print {
    nav, .mobile-menu, button {
        display: none !important;
    }
    
    body {
        color: #18181b;
        background: white;
    }
    
    .hero-gradient {
        background: #fff5f0 !important;
    }
    
    .hero-gradient-dark {
        background: #18181b !important;
    }
    
    a {
        color: #ff6b2f !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-coral-500 {
        background-color: ButtonText;
    }
    
    .text-coral-500 {
        color: ButtonText;
    }
}

/* Ensure all images have smooth rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-link {
        padding: 12px 24px;
    }
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Coral accent underline */
.accent-underline {
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b2f, #ffd6bd);
    border-radius: 2px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ff6b2f, #f04e11);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative corner accents */
.corner-accent {
    position: relative;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #ffd6bd;
    border-style: solid;
}

.corner-accent::before {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
}

.corner-accent::after {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
}
