/* Additional custom styles and overrides */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

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

/* Prevent text selection on decorative elements */
.no-select {
    user-select: none;
}

/* Loading state for buttons */
button:disabled,
input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Enhanced hover states for interactive elements */
a:hover,
button:hover {
    cursor: pointer;
}

/* Ensure proper spacing in mobile view */
@media (max-width: 640px) {
    .hero-split {
        min-height: auto;
    }
    
    .hero-split > div:first-child {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-split > div:last-child {
        min-height: 50vh;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .luxury-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Reduced motion preferences */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .luxury-card {
        border-width: 2px;
    }
    
    .nav-link::after {
        height: 3px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    nav {
        height: 60px;
    }
    
    .hero-split {
        grid-template-columns: 1fr 1fr;
    }
}
