/* Contact Page Specific Styles */
.contact-main {
    padding-top: 80px;
    min-height: 100vh;
}

.contact-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--deep-ocean) 0%, var(--ocean-blue) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 255, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(69, 179, 157, 0.1) 0%, transparent 50%);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bioluminescent);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 255, 212, 0.5);
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--sand-beige);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-content {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Form Section */
.form-container {
    background: rgba(11, 47, 74, 0.6);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(0, 255, 212, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 255, 212, 0.1);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--bioluminescent);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: var(--sand-beige);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 255, 212, 0.3);
    border-radius: 10px;
    color: var(--pearl-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bioluminescent);
    box-shadow: 0 0 20px rgba(0, 255, 212, 0.3);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(253, 235, 208, 0.6);
}

.form-group select option {
    background: var(--deep-ocean);
    color: var(--pearl-white);
}

.form-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--seafoam-green), var(--bioluminescent));
    transition: width 0.3s ease;
}

.form-group input:focus + .form-wave,
.form-group select:focus + .form-wave,
.form-group textarea:focus + .form-wave {
    width: 100%;
}

.submit-btn {
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    color: var(--deep-ocean);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 255, 212, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 212, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.2rem;
    animation: wave-icon 2s ease-in-out infinite;
}

@keyframes wave-icon {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* Info Section */
.info-container {
    background: rgba(11, 47, 74, 0.4);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(69, 179, 157, 0.3);
    backdrop-filter: blur(10px);
}

.info-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--bioluminescent);
    margin-bottom: 1.5rem;
}

.info-description {
    color: var(--sand-beige);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 212, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    border-color: var(--bioluminescent);
    box-shadow: 0 10px 20px rgba(0, 255, 212, 0.2);
}

.method-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    border-radius: 50%;
    flex-shrink: 0;
}

.method-info h3 {
    color: var(--bioluminescent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.method-info p {
    color: var(--pearl-white);
    margin-bottom: 0.5rem;
}

.response-time {
    color: var(--sand-beige);
    font-size: 0.9rem;
    font-style: italic;
}

.chat-btn {
    background: linear-gradient(45deg, var(--coral-red), var(--seafoam-green));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* FAQ Section */
.faq-section h3 {
    color: var(--bioluminescent);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 212, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem;
    color: var(--pearl-white);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 255, 212, 0.1);
    color: var(--bioluminescent);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1rem 1rem;
    color: var(--sand-beige);
    line-height: 1.5;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: rgba(11, 47, 74, 0.95);
    border-radius: 20px;
    border: 2px solid var(--bioluminescent);
    box-shadow: 0 20px 40px rgba(0, 255, 212, 0.3);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideInUp 0.3s ease;
}

.chat-widget.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 212, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-info h4 {
    color: var(--bioluminescent);
    margin: 0;
    font-size: 1rem;
}

.chat-status {
    color: var(--seafoam-green);
    font-size: 0.8rem;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--pearl-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: var(--coral-red);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.message-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.message-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 10px;
    max-width: 80%;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: rgba(0, 255, 212, 0.2);
}

.message-content p {
    margin: 0;
    color: var(--pearl-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: var(--sand-beige);
    display: block;
    margin-top: 0.5rem;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(0, 255, 212, 0.3);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 212, 0.3);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    color: var(--pearl-white);
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--bioluminescent);
    box-shadow: 0 0 10px rgba(0, 255, 212, 0.3);
}

.chat-send {
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 212, 0.3);
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--seafoam-green), var(--bioluminescent));
    border-radius: 50px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 255, 212, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.chat-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 212, 0.6);
}

.bubble-icon {
    font-size: 1.2rem;
}

.bubble-text {
    color: var(--deep-ocean);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .form-container,
    .info-container {
        padding: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        height: 400px;
    }

    .chat-bubble {
        bottom: 20px;
        right: 20px;
    }

    .bubble-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .form-container,
    .info-container {
        padding: 1.5rem;
    }

    .contact-content {
        padding: 3rem 0;
    }
}

/* Custom scrollbar for chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--bioluminescent);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--seafoam-green);
}