/**
 * Purple theme styles for the Maid Rental Website
 */

/* Override the blue theme elements with purple */
.text-blue-500 {
    color: #8b5cf6 !important; /* Purple-500 */
}

.text-blue-600 {
    color: #7c3aed !important; /* Purple-600 */
}

.text-blue-700 {
    color: #6d28d9 !important; /* Purple-700 */
}

.text-blue-800 {
    color: #5b21b6 !important; /* Purple-800 */
}

.bg-blue-100 {
    background-color: #ede9fe !important; /* Purple-100 */
}

.bg-blue-500 {
    background-color: #8b5cf6 !important; /* Purple-500 */
}

.bg-blue-600 {
    background-color: #7c3aed !important; /* Purple-600 */
}

.bg-blue-700 {
    background-color: #6d28d9 !important; /* Purple-700 */
}

.hover\:bg-blue-500:hover {
    background-color: #8b5cf6 !important; /* Purple-500 */
}

.hover\:bg-blue-600:hover {
    background-color: #7c3aed !important; /* Purple-600 */
}

.hover\:bg-blue-700:hover {
    background-color: #6d28d9 !important; /* Purple-700 */
}

.hover\:text-blue-500:hover {
    color: #8b5cf6 !important; /* Purple-500 */
}

.hover\:text-blue-600:hover {
    color: #7c3aed !important; /* Purple-600 */
}

.hover\:text-blue-700:hover {
    color: #7c3aed !important; /* Purple-600 */
}

.focus\:border-blue-500:focus {
    border-color: #8b5cf6 !important; /* Purple-500 */
}

.focus\:ring-blue-300:focus {
    --tw-ring-color: rgba(196, 181, 253, 0.5) !important; /* Purple-300 */
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: rgba(139, 92, 246, 0.5) !important; /* Purple-500 */
}

/* Enhanced slider styles */
.slider-slide {
    transition: opacity 1s ease, transform 1s ease;
    opacity: 0;
    transform: scale(1.05);
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Slider transition effects */
.slide-title, .slide-description, .slide-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* First title and description */
.slider-slide.active .slide-title:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slider-slide.active .slide-description:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* Second title and description */
.slider-slide.active .slide-title:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.slider-slide.active .slide-description:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

/* Call to action button */
.slider-slide.active .slide-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.3s;
}

/* Maid Card Enhancements */
.maid-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.maid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.maid-card .maid-actions {
    display: flex;
    gap: 0.5rem;
}

.maid-card .maid-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.maid-card .maid-actions .btn-cv {
    background-color: #7c3aed;  /* Purple-600 */
    color: white;
}

.maid-card .maid-actions .btn-cv:hover {
    background-color: #6d28d9;  /* Purple-700 */
}

.maid-card .maid-actions .btn-video {
    background-color: #4b5563;  /* Gray-600 */
    color: white;
}

.maid-card .maid-actions .btn-video:hover {
    background-color: #374151;  /* Gray-700 */
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background-color: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
