/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-item {
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.contact-icon i {
    font-size: 40px;
    color: #5bc0de;
}

.contact-info-label {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin: 15px 0 10px;
    font-family: 'Montserrat', sans-serif;
}

.contact-info-content {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.contact-info-content p {
    margin: 5px 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #fff;
}

.contact-form-title {
    font-size: 36px;
    font-weight: 700;
    color: #8b4513;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-form-image {
    position: sticky;
    top: 100px;
}

.contact-form-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff7f50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

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

.contact-submit-btn {
    background: linear-gradient(135deg, #ff7f50 0%, #ff6347 100%);
    color: #fff;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
    background: linear-gradient(135deg, #ff6347 0%, #ff4500 100%);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Success/Error Messages */
.contact-success-message,
.contact-error-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

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

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

.contact-success-message p,
.contact-error-message p {
    margin: 0;
}

/* Map Section */
.contact-map-section {
    background: #f9f9f9;
}

.contact-map-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-info-grid {
        gap: 40px;
    }

    .contact-form-wrapper {
        gap: 40px;
    }

    .contact-form-image {
        position: static;
    }
}

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

    .contact-title {
        font-size: 36px;
    }

    .contact-info-section {
        padding: 60px 0;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .contact-map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-form-title {
        font-size: 24px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon img {
        width: 35px;
        height: 35px;
    }

    .contact-icon i {
        font-size: 30px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-submit-btn {
        width: 100%;
        padding: 14px 30px;
    }

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