/* Real Acquisitions Event Page - Custom Styles */
/* Tailwind CSS is loaded globally via header.php */

/* Import Bebas Neue Font */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Import Outfit Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

/* Remove all top margins and spacing */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden; /* prevent horizontal scroll due to wide elements */
}

/* Hide WordPress admin bar */
#wpadminbar {
    display: none !important;
}

/* Remove top margin from body when admin bar is present */
body.admin-bar {
    margin-top: 0 !important;
}

/* Enhanced Text Readability */
#hero h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.8);
}

#hero p, #hero span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Hero Section Specific Styling */
#hero .bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.75);
}

/* Grid Pattern Animation - Subtle */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* Fade In Animation */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

/* Slide Up Animation */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out;
}

/* Animation Delays */
.animation-delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animation-delay-600 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.animation-delay-800 {
    animation-delay: 0.8s;
    animation-fill-mode: both;
}

.animation-delay-1000 {
    animation-delay: 1s;
    animation-fill-mode: both;
}

.animation-delay-1200 {
    animation-delay: 1.2s;
    animation-fill-mode: both;
}

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

/* Custom Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Pulse Animation for Status Indicators */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Bounce Animation for Scroll Indicator */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(10px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Backdrop Blur Support */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Custom Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #ac201b, #8a1915);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
section {
    position: relative;
}

/* Ticket Card Hover Effects */
.ticket-card {
    transition: all 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-5px);
}

/* Print Styles */
@media print {
    .countdown,
    nav,
    footer {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #ac201b;
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 6px;
}

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

/* Navigation Styles */
#main-navigation {
    transition: all 0.3s ease;
}

#main-navigation.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(172, 32, 27, 0.15);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav Link Active State */
.nav-link.active {
    color: #ac201b;
    background-color: rgba(17, 24, 39, 0.5);
}

/* Smooth Scroll Offset for Fixed Nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Title Styling - Bebas Neue, Uppercase, Bold, Red Gradient */
.gradient-title {
    font-family: 'Bebas Neue', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    background: linear-gradient(135deg, #ac201b 0%, #8a1915 50%, #6b1310 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transform: scale(1.2) !important;
    transform-origin: center !important;
    display: inline-block !important;
}

/* Mobile safety for large display headings */
@media (max-width: 640px) {
    .gradient-title {
        transform: none !important; /* prevent overflowing edge-to-edge on small screens */
        font-size: 2.5rem !important; /* larger on mobile */
        line-height: 1.1 !important;
        display: block !important;
    }
}

/* Body Text - Outfit Font */
body, p, span, div, a, li {
    font-family: 'Outfit', sans-serif;
}

/* Gradient titles should also animate on scroll (unless in hero) */
.gradient-title:not(#hero .gradient-title) {
    opacity: 0;
    transform: translateX(-100px);
}

.gradient-title.is-visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

/* Hero section gradient titles should animate immediately */
#hero .gradient-title {
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

/* Slide-in Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
}

/* When element becomes visible, trigger animation */
.slide-in-left.is-visible {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.slide-in-right.is-visible {
    animation: slideInFromRight 0.8s ease-out forwards;
}

/* Animation Delays for Staggered Effects */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
}

/* Ensure hero section animations play immediately on page load */
#hero .slide-in-left,
#hero .slide-in-right {
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

#hero .slide-in-right {
    animation-name: slideInFromRight;
}

/* Scrollable itinerary container styling */
.itinerary-scroll {
    scrollbar-width: thin;
    scrollbar-color: #ac201b #0f0f10;
    overflow: visible;
    padding-left: 6px; /* give bullets room */
}

.itinerary-scroll::-webkit-scrollbar {
    width: 8px;
}

.itinerary-scroll::-webkit-scrollbar-track {
    background: #0f0f10;
    border-radius: 8px;
}

.itinerary-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ac201b, #8a1915);
    border-radius: 8px;
}

.itinerary-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b72620, #7a1512);
}

/* Premium Cursor Styling - Subtle Enhancement */

/* Add subtle ring that follows cursor on hover over interactive elements */
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(172, 32, 27, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-ring.active {
    opacity: 1;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: rgba(172, 32, 27, 0.4);
}

/* Enhanced cursor styles for interactive elements */
a, button, [role="button"], input[type="submit"], .cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s ease;
}

a:hover, button:hover, [role="button"]:hover, input[type="submit"]:hover {
    cursor: pointer;
}

/* Subtle glow effect on hover */
button:hover, a:hover {
    filter: brightness(1.05);
}

/* Subtle bounce animation for Get Tickets button */
@keyframes subtle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.animate-pulse-slow {
    animation: subtle-bounce 0.6s ease-in-out 4s infinite;
}

/* Glow effect for timer numbers */
.glow-timer {
    text-shadow: 0 0 8px rgba(172, 32, 27, 0.4), 0 0 16px rgba(172, 32, 27, 0.2);
}

/* Disable on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-ring {
        display: none !important;
    }
}
