/* 
 * Goddess Temple - Shared Styles for Booking & Contact Pages
 * Maintains theme consistency with existing design system
 */

/* ===== P411 Card Component ===== */
.p411-card {
    background: linear-gradient(135deg, #f8f0ff, #fff5f0);
    border: 2px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
    margin: 2rem auto;
}

.p411-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
}

.p411-card img {
    max-height: 70px;
    width: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.p411-card h3 {
    color: #4a148c;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.p411-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.p411-card .p411-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #4a148c, #8a2be2);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.3);
    border: none;
    cursor: pointer;
}

.p411-card .p411-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(74, 20, 140, 0.4);
}

/* ===== Copy Button Component ===== */
.copy-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    justify-content: center;
}

.copy-btn {
    background: linear-gradient(135deg, #8a2be2, #ee5a24);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(138, 43, 226, 0.3);
}

.copy-btn.copied {
    background: #00c853;
}

.copy-feedback-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 99999;
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.copy-feedback-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Booking Page Hero ===== */
.booking-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    text-align: center;
}

.booking-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.booking-hero p {
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ===== Booking Tabs ===== */
.booking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.booking-tab-btn {
    padding: 1rem 2.2rem;
    background: white;
    border: 2px solid #f0e6ff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #4a148c;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-family: 'Poppins', sans-serif;
}

.booking-tab-btn.active {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.booking-tab-btn:hover:not(.active) {
    border-color: #8a2be2;
    background: #f8f0ff;
}

/* ===== Booking Section Content ===== */
.booking-section {
    display: none;
    animation: bookingFadeIn 0.5s ease;
}

.booking-section.active {
    display: block;
}

@keyframes bookingFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Session Cards ===== */
.sessions-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.session-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(138, 43, 226, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.1);
}

.session-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.session-card h3 {
    color: #4a148c;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.session-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #8a2be2;
    margin-bottom: 0.3rem;
}

.session-card .duration {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.session-card .features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0 1.5rem;
    flex-grow: 1;
}

.session-card .features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f0ff;
}

.session-card .features li i {
    color: #8a2be2;
    width: 20px;
    text-align: center;
}

.session-card .book-btn {
    background: var(--gradient-main);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.2);
    display: inline-block;
    margin-top: auto;
}

.session-card .book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}

/* ===== Travel Schedule Cards ===== */
.travel-cards-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.travel-location-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(138, 43, 226, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.travel-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.3);
}

.travel-location-card h3 {
    color: #8a2be2;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.travel-location-card .date {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.travel-location-card .book-now-btn {
    background: #8a2be2;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.travel-location-card .book-now-btn:hover {
    background: #6a1cb2;
    transform: scale(1.05);
}

/* ===== Contact Form ===== */
.contact-page-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(138, 43, 226, 0.08);
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-group label {
    display: block;
    font-weight: 600;
    color: #4a148c;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0e6ff;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fdfaff;
    color: #333;
    box-sizing: border-box;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
    background: white;
}

.contact-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-group .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-submit-btn {
    background: var(--gradient-main);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.4);
}

/* ===== Contact Page Hero ===== */
.contact-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f0ff 0%, #fff5f2 100%);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Contact Info Cards ===== */
.contact-info-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(138, 43, 226, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-info-card i {
    font-size: 2.2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    color: #4a148c;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-info-card .contact-link {
    color: #8a2be2;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-card .contact-link:hover {
    color: #ee5a24;
}

/* ===== Section Divider ===== */
.section-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a2be2, transparent);
}

.section-divider span {
    background: #fdfaff;
    padding: 0 20px;
    color: #8a2be2;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== Error Alert ===== */
.error-alert {
    background: #fff5f5;
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 1rem auto 2rem;
    display: none;
}

.error-alert.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.error-alert i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.error-alert h4 {
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.error-alert .contact-details {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.error-alert .contact-details span {
    font-weight: 700;
    color: #4a148c;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .booking-hero h1,
    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .booking-hero p,
    .contact-hero p {
        font-size: 1.1rem;
    }

    .booking-hero,
    .contact-hero {
        padding: 120px 0 40px;
    }

    .contact-page-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .sessions-grid {
        grid-template-columns: 1fr;
    }

    .booking-tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .p411-card {
        padding: 1.5rem;
        margin: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .contact-page-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .session-card {
        padding: 1.5rem;
    }

    .booking-tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}
