/* Contact Page Specific CSS */

/* Hero Section */
.contact-hero {
    padding: 100px 0 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    text-align: center;
}

.contact-hero .hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-hero .hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Contact Form */
.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    cursor: pointer;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--background-light-gray);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
    width: 20px;
}

.info-item div strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--background-gray);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.map-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Location Details */
.location-details {
    text-align: left;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.location-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details h3 i {
    color: var(--accent-color);
}

.location-details p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Location Features */
.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--background-gray);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
}

.feature span {
    color: var(--text-color);
    font-weight: 500;
}

/* Directions Buttons */
.directions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.directions .btn-primary,
.directions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.directions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.directions .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.directions .btn-secondary {
    background: var(--accent-color);
    color: white;
}

.directions .btn-secondary:hover {
    background: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Form Validation Styles */
.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Loading State */
.loading .form-control {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-primary {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 15px;
}

.map-overlay-content {
    text-align: center;
    color: white;
}

.map-overlay-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.map-overlay-content p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Success/Error Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 10000;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
}

.message-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.message-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    margin-left: 15px;
}

.message-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        order: 2;
    }

    .contact-info-container {
        order: 1;
    }

    .map-container iframe {
        height: 300px;
    }

    .message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

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

    .contact-hero .hero-content h1 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .form-control {
        padding: 12px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    .info-item {
        flex-direction: column;
        gap: 8px;
    }

    .info-item i {
        align-self: flex-start;
    }

    /* Map Section Responsive */
    .location-details {
        padding: 20px;
        margin-top: 20px;
    }

    .location-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .directions {
        flex-direction: column;
    }

    .directions .btn-primary,
    .directions .btn-secondary {
        justify-content: center;
        width: 100%;
    }
}