/* Right Way Tax Service — Custom Styles */
/* Premium Dark Luxury Theme: Plum + Amber */

/* Base styles are handled in index.html inline styles for performance */
/* This file contains additional custom utilities and edge-case styles */

/* Gold accent hover states */
.gold-gradient-bg:hover {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

/* Smooth focus visible outlines */
*:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5f0ff;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: #1a1a1a !important;
    }
    
    .service-card,
    .testimonial-card {
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    .btn-gold,
    .btn-outline-gold {
        background: #1a1a1a !important;
        color: white !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card,
    .testimonial-card {
        border: 1px solid ButtonText;
    }
    
    .gold-gradient {
        color: ButtonText;
        -webkit-text-fill-color: ButtonText;
    }
}

/* Reduced motion for all animations */
@media (prefers-reduced-motion: reduce) {
    .particle {
        display: none;
    }
    
    .service-card {
        transform: none !important;
    }
    
    .btn-gold::before {
        display: none;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-display.text-5xl,
    .font-display.text-6xl,
    .font-display.text-7xl {
        font-size: 2.25rem;
        line-height: 1.1;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        align-items: center;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .btn-gold:hover {
        transform: none;
    }
    
    .btn-gold:active {
        transform: scale(0.98);
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
    
    .font-display.text-5xl {
        font-size: 4.5rem;
    }
}

/* Very tall screens */
@media (min-aspect-ratio: 16/9) {
    #hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
