/* Home Page Specific Styles */

/* Fullscreen Hero Section */
.mainView {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.mainView .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.mainView .mainViewCont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mainView .mainViewCont::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/frontpage.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #0a0a0a;
    z-index: -1;
}

/* Desktop: use cover for better fill */
@media (min-width: 1024px) {
    .mainView .mainViewCont::after {
        background-size: cover;
    }
}

/* Mobile: use different background image */
@media (max-width: 768px) {
    .mainView .mainViewCont::after {
        background-image: url('/background/mobilebg.jpeg');
        background-size: cover;
        background-position: center center;
    }
}

.mainView .mainViewInner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .mainView {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1.5rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Flow Section - Divider with line above arrow */
.flowView .divider::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(98, 98, 98, 1);
    margin-bottom: 0;
}

/* Flow Section - Step layout: image left, content right */
.flowView .stepContent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px;
}

.flowView .stepLeft {
    flex-shrink: 0;
    width: auto;
}

.flowView .stepLeft img {
    max-width: 200px;
    height: auto;
}

.flowView .stepRight {
    flex: 1;
}

@media (max-width: 768px) {
    .flowView .stepContent {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    .flowView .stepLeft {
        width: 40% !important;
        flex-shrink: 0 !important;
    }
    
    .flowView .stepRight {
        width: 60% !important;
        flex: 1 !important;
    }
    
    .flowView .stepRight p {
        font-size: 12px !important;
        padding-left: 0 !important;
        line-height: 1.6 !important;
    }
}

/* Hero Section with Glowing Text */
.mainView .hero-text-overlay {
    position: relative;
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
}

.mainView .hero-main-text {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 192, 203, 0.8),
        0 0 20px rgba(255, 192, 203, 0.6),
        0 0 30px rgba(255, 192, 203, 0.4),
        0 0 40px rgba(255, 192, 203, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    line-height: 1.5;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 192, 203, 0.8),
            0 0 20px rgba(255, 192, 203, 0.6),
            0 0 30px rgba(255, 192, 203, 0.4),
            0 0 40px rgba(255, 192, 203, 0.2),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 192, 203, 1),
            0 0 30px rgba(255, 192, 203, 0.8),
            0 0 45px rgba(255, 192, 203, 0.6),
            0 0 60px rgba(255, 192, 203, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Therapist Cards Hover Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Therapist Card Styles */
.therapist-card {
    width: 100%;
}

.therapist-card .therapist-image .rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    z-index: 10;
}

.therapist-card .therapist-image .gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
    pointer-events: none;
}

.therapist-card .therapist-badge {
    backdrop-filter: blur(10px);
}

/* Mobile Scroll Container */
.therapist-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.therapist-scroll-container::-webkit-scrollbar {
    display: none;
}

.therapist-scroll-container .therapist-card {
    flex-shrink: 0;
    width: 160px;
    scroll-snap-align: center;
}

/* Desktop Grid */
@media (min-width: 1024px) {
    .therapist-scroll-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .therapist-scroll-container .therapist-card {
        width: auto;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mainView .hero-main-text {
        font-size: 2rem !important;
        letter-spacing: 1px;
        line-height: 1.5;
        padding: 0 1.5rem;
        font-weight: 700;
        word-break: keep-all;
    }
}

@media (max-width: 480px) {
    .mainView .hero-main-text {
        font-size: 1.75rem !important;
        letter-spacing: 0.5px;
        line-height: 1.5;
        padding: 0 1rem;
        font-weight: 700;
        word-break: keep-all;
    }
}

@media (max-width: 390px) {
    .mainView .hero-main-text {
        font-size: 1.5rem !important;
        letter-spacing: 0.5px;
        line-height: 1.45;
        padding: 0 0.75rem;
        font-weight: 700;
        word-break: keep-all;
    }
}

/* Scrollbar Hide Utility */
.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Snap Utilities */
.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* TODAY'S THERAPIST Section Styles */
.therapistsSection {
    background: var(--sub-color);
    padding: 50px 0;
}

.therapistsSection .sectionTitle {
    margin-bottom: 30px;
}

.therapistsSection .btn-outline-gold {
    margin-top: 2rem;
}

.therapist-bookings {
    text-align: center;
    margin-bottom: 0.5rem;
}

.therapist-bookings span {
    font-size: 0.75rem;
    color: #888;
}

.therapist-price-display {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #d4af37;
    font-weight: bold;
}

.therapist-price-display span {
    font-size: 0.75rem;
    color: #888;
}

.btn-view-therapist {
    width: 100%;
    text-align: center;
    display: block;
    padding: 8px;
    font-size: 0.75rem;
    border-radius: 8px;
}

.btn-view-all {
    padding: 15px 50px;
    font-size: 1.1rem;
}

.therapist-name {
    text-align: center;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .therapist-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .therapistsSection .btn-outline-gold {
        margin-top: 1.5rem;
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Latest Therapists Section */
.latestTherapistsSection {
    background: var(--sub-color);
}

.latestTherapistsSection .sectionTitle {
    margin-bottom: 30px;
}

.latestTherapistsSection .btn-outline-gold {
    margin-top: 2rem;
}

/* 3x2 Grid for Latest Therapists (Desktop) */
.latestTherapistsSection .therapist-scroll-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow-x: visible;
}

/* Desktop: hide 7th and 8th card */
.latestTherapistsSection .therapist-scroll-container .therapist-card:nth-child(n+7) {
    display: none;
}

/* Mobile: 2x4 Grid, show all 8 */
@media (max-width: 768px) {
    .latestTherapistsSection .therapist-scroll-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        overflow-x: visible;
    }
    
    .latestTherapistsSection .therapist-scroll-container .therapist-card:nth-child(n+7) {
        display: block;
    }
    
    .latestTherapistsSection .therapist-scroll-container .therapist-card {
        width: auto;
    }
}

/* Scroll Animation */
.latestTherapistsSection .therapist-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.latestTherapistsSection .therapist-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay */
.latestTherapistsSection .therapist-card:nth-child(1) { transition-delay: 0s; }
.latestTherapistsSection .therapist-card:nth-child(2) { transition-delay: 0.1s; }
.latestTherapistsSection .therapist-card:nth-child(3) { transition-delay: 0.2s; }
.latestTherapistsSection .therapist-card:nth-child(4) { transition-delay: 0.3s; }
.latestTherapistsSection .therapist-card:nth-child(5) { transition-delay: 0.4s; }
.latestTherapistsSection .therapist-card:nth-child(6) { transition-delay: 0.5s; }
.latestTherapistsSection .therapist-card:nth-child(7) { transition-delay: 0.6s; }
.latestTherapistsSection .therapist-card:nth-child(8) { transition-delay: 0.7s; }

/* NEW Badge for Latest Therapists */
.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 64, 129, 0.4);
    letter-spacing: 1px;
    animation: new-pulse 2s ease-in-out infinite;
}

@keyframes new-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 64, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(255, 64, 129, 0.6);
    }
}

@media (max-width: 768px) {
    .latestTherapistsSection .btn-outline-gold {
        margin-top: 1.5rem;
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Entertainment CTA Section */
.entertainment-cta-section {
    background: var(--sub-color);
    padding: 4rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.entertainment-cta-card {
    background: #ffffff;
    border: 2px solid var(--primary-gold);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.entertainment-cta-card:last-child {
    margin-bottom: 0;
}

.entertainment-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

.cta-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #f4e5c3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--charcoal) !important;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    color: var(--charcoal) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tags .tag:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.feature-tags .tag i {
    color: var(--primary-gold);
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-actions .btn-gold,
.cta-actions .btn-outline-gold {
    padding: 1rem 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .entertainment-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .cta-actions {
        width: 100%;
    }
    
    .cta-actions .btn-gold,
    .cta-actions .btn-outline-gold {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .entertainment-cta-section {
        padding: 2rem 0;
    }
    
    .entertainment-cta-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        background: #ffffff;
    }
    
    .entertainment-cta-card:last-child {
        margin-bottom: 0;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        color: #000000 !important;
    }
    
    .cta-content p {
        font-size: 1rem;
        color: var(--charcoal) !important;
        font-weight: 400;
    }
    
    .feature-tags .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        color: var(--charcoal) !important;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.25);
    }
}

