/* Custom styles for Autum Park Hotel */

/* Smooth scrolling is handled via CSS scroll-behavior on html */

/* Custom geometric shapes - ensure they don't interfere with content */
.geometric-shape {
    will-change: transform;
}

/* Ensure all text has proper contrast */
.text-plum-950 { color: #4a044e; }
.text-plum-900 { color: #701a75; }
.text-plum-800 { color: #86198f; }
.text-plum-700 { color: #a21caf; }
.text-plum-600 { color: #c026d3; }
.text-plum-500 { color: #d946ef; }
.text-plum-300 { color: #f0abfc; }
.text-plum-200 { color: #f5d0fe; }
.text-plum-100 { color: #fae8ff; }
.text-plum-50 { color: #fdf4ff; }

/* Ensure links are readable on all backgrounds */
a { text-decoration: none; }

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    max-height: 400px;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d946ef;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4ff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d946ef, #a21caf);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c026d3, #86198f);
}

/* Selection color */
::selection {
    background: #d946ef;
    color: white;
}

/* Print styles */
@media print {
    nav, .geometric-shape, #contact-form, iframe {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
