/* Beauty Comfort Inn - Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: white;
}

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

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

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .teal-bar {
        display: none;
    }
    
    body {
        background: white;
        color: #1e293b;
    }
    
    .hero-split {
        min-height: auto;
    }
}

/* 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;
    }
    
    .room-card:hover {
        transform: none;
    }
    
    .room-card:hover .room-img {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .room-card {
        border-width: 2px;
    }
    
    .amenity-box {
        border-width: 2px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .room-card:hover {
        transform: none;
    }
    
    .room-card:hover .room-img {
        transform: none;
    }
    
    .amenity-box:hover {
        background: inherit;
        transform: none;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-split {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-left {
        padding: 2rem;
    }
    
    .hero-left h1 {
        font-size: 2rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-left {
        padding: 2rem 1.5rem;
    }
    
    .hero-left h1 {
        font-size: 1.75rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .hero-left h1 {
        font-size: 4rem;
    }
    
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-10px) rotate(45deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Utility classes */
.geo-float {
    animation: float 6s ease-in-out infinite;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Form styles */
input,
textarea {
    font-family: 'Outfit', sans-serif;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success message */
.success-message {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #2dd4bf;
}

/* Error message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}
