/* Animations for Red Carpet Productions Website */

/* Our Success Page Animations */
.brand-item {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease forwards;
}

.brand-item.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Hero Animations */
.success-hero h1 {
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(229, 9, 20, 0.8), 0 0 40px rgba(229, 9, 20, 0.3);
    }
}

/* Brand Grid Stagger Animation */
.brand-item:nth-child(1) { animation-delay: 0.1s; }
.brand-item:nth-child(2) { animation-delay: 0.2s; }
.brand-item:nth-child(3) { animation-delay: 0.3s; }
.brand-item:nth-child(4) { animation-delay: 0.4s; }
.brand-item:nth-child(5) { animation-delay: 0.5s; }
.brand-item:nth-child(6) { animation-delay: 0.6s; }
.brand-item:nth-child(7) { animation-delay: 0.7s; }
.brand-item:nth-child(8) { animation-delay: 0.8s; }
.brand-item:nth-child(9) { animation-delay: 0.9s; }

/* Lightbox Animations */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.lightbox.active {
    animation: lightboxFadeIn 0.3s ease;
}

/* Pulse Animation for Play Icons */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.play-icon {
    animation: pulse 2s infinite;
}

/* Card Animations for Models and Artists */
.model-card, .artist-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center bottom;
}

.model-card:hover, .artist-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Image Animations */
.model-image img, .artist-image img {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.model-card:hover .model-image img, .artist-card:hover .artist-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Control Buttons for Models and Artists */
.zeenaa-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

.zeenaa-control-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.zeenaa-control-button:nth-child(1) {
    transition-delay: 0.1s;
}

.zeenaa-control-button:nth-child(2) {
    transition-delay: 0.2s;
}

.zeenaa-control-button:nth-child(3) {
    transition-delay: 0.3s;
}

.model-card:hover .zeenaa-control-button,
.artist-card:hover .zeenaa-control-button {
    opacity: 1;
    transform: translateX(0);
}

.zeenaa-control-button:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: scale(1.1) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Info Animations for Models and Artists */
.model-info, .artist-info {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 5;
}

.model-card:hover .model-info,
.artist-card:hover .artist-info {
    transform: translateY(-5px);
}

/* Staggered Animation for Skills Tags */
.artist-skills .skill-tag,
.model-stats span {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.8;
    transform: translateY(0);
}

.artist-card:hover .skill-tag:nth-child(1),
.model-card:hover .model-stats span:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(-3px);
}

.artist-card:hover .skill-tag:nth-child(2),
.model-card:hover .model-stats span:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(-3px);
}

.artist-card:hover .skill-tag:nth-child(3),
.model-card:hover .model-stats span:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(-3px);
}

/* Age Badge Animation */
.artist-age {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artist-card:hover .artist-age {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Grid Animation */
.artists-grid, .model-grid {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Zeenaa-style card animations */
.zeenaa-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    background-color: #000;
}

.zeenaa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.zeenaa-card-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.zeenaa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.zeenaa-card:hover .zeenaa-card-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.zeenaa-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
}

.zeenaa-card:hover .zeenaa-card-overlay {
    opacity: 1;
}

.zeenaa-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.zeenaa-card:hover .zeenaa-card-title {
    transform: translateY(0);
    opacity: 1;
}

.zeenaa-card-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.zeenaa-card:hover .zeenaa-card-subtitle {
    transform: translateY(0);
    opacity: 1;
}

.zeenaa-card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.zeenaa-card:hover .zeenaa-card-button {
    transform: translateY(0);
    opacity: 1;
}

.zeenaa-card-button:hover {
    background-color: #c70812;
}

/* Zeenaa-style controls */
.zeenaa-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
}

.zeenaa-card:hover .zeenaa-controls {
    opacity: 1;
    transform: translateY(0);
}

.zeenaa-control-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.zeenaa-control-button:hover {
    background-color: var(--primary-color);
}

/* Animation for page load */
.zeenaa-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for cards */
.zeenaa-stagger {
    opacity: 0;
}

.zeenaa-stagger.animated {
    animation: staggerFadeIn 0.5s ease forwards;
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Animation Overlay Styles ===== */
#animation-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.animation-content{
  display: flex;
  gap: 18px;
  align-items: end;
}

.animated-shape{
  width: 14px;
  height: 14px;
  background: #ff3b3b;
  border-radius: 50%;
  opacity: 0.9;
  animation: rc-bounce 0.6s infinite alternate;
}

.shape1 { animation-delay: 0s; }
.shape2 { animation-delay: 0.18s; }
.shape3 { animation-delay: 0.36s; }

@keyframes rc-bounce{
  from { transform: translateY(0); opacity: 0.5; }
  to   { transform: translateY(-28px); opacity: 1; }
}
