/* ===== Intelligent Concierge Contact Page ===== */
/* Victory Engine Aesthetic: Dark Navy + Gold + AI Elements */

/* Hero Section */
.contact-hero {
    position: relative;
    background: linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
    padding: 5rem 0 3rem;
    overflow: hidden;
}

.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: floatOrb 15s ease-in-out infinite;
}

.orb-gold {
    background: var(--gold-primary);
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.orb-green {
    background: var(--victory-green);
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -80px;
    animation-delay: 2s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-15px, 15px) scale(0.9); }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 157, 92, 0.15);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(200, 157, 92, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 157, 92, 0.3); }
    50% { box-shadow: 0 0 30px rgba(200, 157, 92, 0.6); }
}

.hero-badge i {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.title-highlight {
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Intelligent Concierge Section */
.intelligent-concierge-section {
    background: var(--background);
    padding: 4rem 0;
    min-height: 600px;
}

.concierge-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Chat Interface */
.chat-interface-wrapper {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 700px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1a1f2e, #2c3444);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(200, 157, 92, 0.3);
}

.chat-header-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(200, 157, 92, 0.4);
}

.chat-header-avatar i {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.chat-header-avatar .avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-header-info h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--victory-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    scroll-behavior: smooth;
}

/* Message Bubbles */
.message-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: messageSlideIn 0.3s ease-out;
}

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

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.message-avatar .avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-message .message-avatar {
    background: var(--charcoal);
    order: 2;
}

.message-bubble {
    max-width: 70%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--gold-primary), #d4a962);
    border: none;
    color: #1a1f2e;
    order: 1;
}

.message-content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.user-message .message-content {
    color: #1a1f2e;
}

.message-content p {
    margin: 0 0 0.75rem 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Quick Suggestions */
.quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0;
    animation: fadeIn 0.5s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 2px solid var(--gold-primary);
    color: var(--charcoal);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-chip:hover {
    background: var(--gold-primary);
    color: #1a1f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 157, 92, 0.3);
}

.suggestion-chip i {
    width: 16px;
    height: 16px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #666;
    font-size: 0.875rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.7; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* Chat Input */
.chat-input-container {
    border-top: 2px solid var(--border);
    background: var(--white);
}

.chat-input-form {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.chat-input-form textarea {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.5;
    resize: none;
    min-height: 50px;
    max-height: 150px;
    transition: border-color 0.3s ease;
}

.chat-input-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(200, 157, 92, 0.1);
}

.chat-send-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), #d4a962);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(200, 157, 92, 0.4);
}

.chat-send-btn i {
    width: 22px;
    height: 22px;
    color: #1a1f2e;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(200, 157, 92, 0.2);
    animation: slideUp 0.5s ease-out;
}

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

.form-transition-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-transition-header i {
    width: 60px;
    height: 60px;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.form-transition-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-transition-header h2 span {
    color: var(--gold-primary);
}

.form-transition-header p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

.contact-details-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(200, 157, 92, 0.1);
}

.form-summary-box {
    background: rgba(200, 157, 92, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.form-summary-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.form-summary-box h4 i {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
}

.summary-content {
    font-size: 0.9375rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.btn-submit-contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gold-primary), #d4a962);
    color: #1a1f2e;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 157, 92, 0.4);
}

.btn-back-to-chat {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--border);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-to-chat:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Success Message */
.success-message-wrapper {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 0.5s ease-out;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--victory-green), #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-checkmark i {
    width: 60px;
    height: 60px;
    color: var(--white);
}

.success-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
}

.success-description {
    font-size: 1.125rem;
    color: var(--charcoal);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-success-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gold-primary), #d4a962);
    color: #1a1f2e;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-success-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 157, 92, 0.4);
}

.btn-success-action.secondary {
    background: var(--white);
    border: 2px solid var(--gold-primary);
    color: var(--charcoal);
}

.btn-success-action.secondary:hover {
    background: rgba(200, 157, 92, 0.1);
}

/* Alternative Contact Section */
.alternative-contact-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.alternative-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--victory-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon i {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-link:hover {
    gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .chat-interface-wrapper {
        height: 600px;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .btn-success-action {
        width: 100%;
    }
    
    .alternative-methods-grid {
        grid-template-columns: 1fr;
    }
}
