﻿/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    margin-top: 100px;
}

    .contact-hero h1 {
        color: var(--text-dark);
        background: linear-gradient(90deg, var(--primary-color), var(--text-dark));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .contact-hero .lead {
        font-size: 1.25rem;
        max-width: 700px;
        margin: 0 auto;
    }

/* Contact Form Card */
.contact-form-card {
    border-radius: 20px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-form-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    }

    .contact-form-card .card-title {
        color: var(--text-dark);
        font-weight: 700;
        position: relative;
        padding-bottom: 1rem;
    }

        .contact-form-card .card-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary-color);
            border-radius: 2px;
        }

/* Form Styles */
.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .form-floating > .form-control:focus,
    .form-floating > .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(11, 163, 105, 0.1);
    }

.form-floating > label {
    color: var(--text-light);
    padding: 1rem 0.75rem;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select:focus ~ label,
.form-select:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(11, 163, 105, 0.25);
}

/* Submit Button */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: #0a8a5a;
        border-color: #0a8a5a;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(11, 163, 105, 0.3);
    }

/* Contact Info */
.contact-info h2 {
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

    .contact-info h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 2px;
    }

.contact-item {
    padding: 1.5rem;
    background: rgba(11, 163, 105, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(11, 163, 105, 0.1);
    transition: all 0.3s ease;
}

    .contact-item:hover {
        background: rgba(11, 163, 105, 0.1);
        border-color: rgba(11, 163, 105, 0.2);
        transform: translateX(5px);
    }

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0a8a5a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-content h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-content a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

    .contact-content a:hover {
        color: var(--primary-color);
    }

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(11, 163, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .social-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        border-color: var(--primary-color);
    }

/* FAQ Link */
.faq-link .alert {
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid rgba(11, 163, 105, 0.2);
}

.faq-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

    .faq-link a:hover {
        text-decoration: underline;
    }

/* Map Section */
.map-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 20px;
}
.contact-map h2 {
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .contact-map h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 2px;
    }

.map-placeholder {
    border: 2px solid rgba(11, 163, 105, 0.1);
}

    .map-placeholder iframe {
        border: none;
    }

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

    .contact-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ba369' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .contact-cta > .container {
        position: relative;
        z-index: 1;
    }

    .contact-cta h2 {
        color: var(--text-dark);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(11, 163, 105, 0.2);
    }

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact-hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
        text-align: center;
    }

        .contact-hero h1 {
            font-size: 2.5rem;
        }

        .contact-hero .lead {
            font-size: 1.1rem;
            padding: 0 1rem;
        }

    .contact-main {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .contact-form-card {
        margin-bottom: 2rem;
    }

        .contact-form-card .card-body {
            padding: 1.5rem !important;
        }

    .contact-info {
        text-align: center;
    }

        .contact-info h2::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .contact-content {
        margin-left: 0 !important;
    }

    .social-links {
        justify-content: center;
    }

    .contact-map {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

        .contact-map h2 {
            font-size: 1.75rem;
        }

    .contact-cta {
        padding: 3rem 0;
        text-align: center;
    }

        .contact-cta h2 {
            font-size: 1.75rem;
        }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 300px;
            margin: 0 !important;
        }

    .faq-link .alert {
        text-align: center;
    }
}
