/* Custom styles for San Juan Hotel */

/* Geometric shapes and decorative elements */
.geometric-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    opacity: 0.15;
    top: -50px;
    right: -100px;
    z-index: 0;
}

.geometric-shape-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f5e9c8 0%, #faf3e0 100%);
    transform: rotate(45deg);
    opacity: 0.3;
    bottom: 100px;
    left: -50px;
    z-index: 0;
}

.geometric-shape-3 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.1;
    top: 50%;
    right: 10%;
    z-index: 0;
}

/* Hero asymmetric layout */
.hero-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
}

/* Room card hover effects */
.room-card:hover .room-image {
    transform: scale(1.05);
}

.room-image {
    transition: transform 0.5s ease;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    border: 2px solid #059669;
    color: #059669;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
}

/* Feature icon container */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure animations are progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

/* Link hover effects */
a {
    transition: color 0.3s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #ecfdf5 25%, #d1fae5 50%, #ecfdf5 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

img[src] {
    animation: none;
    background: none;
}
