/* Custom styles that complement the Tailwind setup */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Hero parallax-like effect on scroll */
.hero {
    position: relative;
}

.hero .bg-gradient-to-r {
    will-change: transform;
}

/* Subtle pattern overlay for sections */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(13, 148, 136, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gold accent gradient for special elements */
.gold-gradient {
    background: linear-gradient(135deg, #c9a84c, #e8d5a0, #c9a84c);
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .mobile-menu {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    a[href^="tel:"]::after,
    a[href^="mailto:"]::after {
        content: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .float-1,
    .float-2,
    .float-3 {
        animation: none !important;
    }
}
