/* Custom styles for High Life Lounge */

/* Geometric decorative triangle */
.triangle-deco {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

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

/* Accent bar animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.accent-bar {
    background: linear-gradient(90deg, #c4204b, #ffdfe6, #c4204b);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

/* Subtle float animation for geometric shapes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.geo-shape {
    animation: float 6s ease-in-out infinite;
}

.geo-shape:nth-child(2) {
    animation-delay: -1s;
    animation-duration: 7s;
}

.geo-shape:nth-child(3) {
    animation-delay: -2s;
    animation-duration: 5s;
}

/* Geometric pattern */
.geo-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(196, 32, 75, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(196, 32, 75, 0.03) 0%, transparent 50%);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(196, 32, 75, 0.15);
}

/* Button pulse effect */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(196, 32, 75, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(196, 32, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 32, 75, 0); }
}

.btn-pulse:hover {
    animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scroll reveal (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu */
.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;
}

/* Mobile menu button animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 30px rgba(196, 32, 75, 0.12);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 248, 248, 0.97) !important;
}

/* Form styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #c4204b;
    box-shadow: 0 0 0 3px rgba(196, 32, 75, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff8f8; }
::-webkit-scrollbar-thumb { background: #c4204b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8c1534; }

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(140, 21, 52, 0.88) 0%, rgba(196, 32, 75, 0.75) 50%, rgba(255, 107, 136, 0.6) 100%);
}

/* Image hover zoom */
img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection color */
::selection {
    background-color: rgba(196, 32, 75, 0.2);
    color: #580c1f;
}
