/* Custom styles for Garden Inn Motel */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

::-webkit-scrollbar-thumb {
    background: #81163c;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6d1536;
}

/* Reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children */
    .reveal-delay-100 {
        transition-delay: 100ms;
    }
    
    .reveal-delay-200 {
        transition-delay: 200ms;
    }
    
    .reveal-delay-300 {
        transition-delay: 300ms;
    }
}

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ffbe15 0%, #db4678 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(129, 22, 60, 0.15);
}

/* Button pulse animation */
@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 190, 21, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 190, 21, 0);
    }
}

.btn-pulse {
    animation: pulse-border 2s infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Geometric pattern background */
.pattern-bg {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 190, 21, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(129, 22, 60, 0.1) 0%, transparent 50%);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 190, 21, 0.2);
}

/* Image object fit */
img {
    object-fit: cover;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
