/**
 * Selfie Park - Front End Styles
 * ================================
 */

/* =================================
   Base Styles
   ================================= */
body {
    font-family: 'Poppins', sans-serif;
}

/* =================================
   Tickets Page Styles
   ================================= */
.ticket-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 46, 175, 0.15);
}

.ticket-card.selected {
    border-color: #FF2EAF;
    background: linear-gradient(135deg, rgba(255, 46, 175, 0.05) 0%, rgba(255, 150, 215, 0.1) 100%);
}

.quantity-btn {
    transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
    transform: scale(1.1);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.time-slot {
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: #FF2EAF;
    background: rgba(255, 46, 175, 0.05);
}

.time-slot.selected {
    background: #FF2EAF;
    color: white;
    border-color: #FF2EAF;
}

/* Video Player Styles */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.video-play-btn i {
    font-size: 20px;
    color: #333;
    margin-left: 3px;
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.gallery-btn:hover {
    transform: scale(1.05);
}

/* Pulse Animation */
@keyframes pulse-pink {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 46, 175, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 46, 175, 0);
    }
}

.pulse-animation {
    animation: pulse-pink 2s infinite;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: all 0.2s ease;
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}

/* =================================
   Date Input Styles - Click anywhere to open calendar
   ================================= */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
}

input[type="date"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* =================================
   Birthday Page Styles
   ================================= */
.birthday-time-slot.selected {
    background-color: #EC4899;
    color: white;
    border-color: #EC4899;
}

.birthday-package-card {
    transition: all 0.3s ease;
}

.birthday-package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =================================
   404 Error Page Styles
   ================================= */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* =================================
   Thank You Page Styles
   ================================= */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}
