/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/contact-hero.jpg') center/cover;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Options */
.contact-options {
    padding: 5rem 0;
    background: #f8f9fa;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2.5rem;
    color: white;
}

.contact-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-card > p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-details {
    margin: 1.5rem 0;
    text-align: left;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.contact-details i {
    color: #2E7D32;
    width: 20px;
}

.btn-contact {
    display: inline-block;
    background-color: #2E7D32;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #2E7D32;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-contact:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
}

/* Contact Main Section */
.contact-main {
    padding: 5rem 0;
    background: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: #2E7D32;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Contact Form */
.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #2E7D32;
}

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

.form-field .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    cursor: pointer;
    font-weight: normal;
}

.form-field .checkbox input {
    width: auto;
    margin: 0;
}

.form-field button {
    margin-right: 1rem;
    padding: 0.8rem 2rem;
}

/* Form Status */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-status.success {
    background: #e8f5e9;
    color: #2E7D32;
    border: 1px solid #a5d6a7;
    display: block;
}

.form-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* Contact Information */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2E7D32;
}

.info-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    font-size: 1.2rem;
}

.info-card > p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.office-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.office-hours h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-hours p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.phone-list,
.email-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.phone-item,
.email-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.phone-item:last-child,
.email-item:last-child {
    border-bottom: none;
}

.phone-item span,
.email-item span {
    color: #666;
    font-size: 0.9rem;
}

.phone-item strong {
    color: #333;
    font-size: 1rem;
}

.email-item a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.email-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.9;
}

.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.tiktok { background: #000000; }
.social-link.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.social-link.linkedin { background: #0077b5; }
.social-link.youtube { background: #ff0000; }

.social-link i {
    font-size: 1rem;
}

/* Map Section */
.contact-map {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-map h2 {
    color: #2E7D32;
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-instructions {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-instructions h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.map-instructions ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.map-instructions li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-instructions li i {
    color: #2E7D32;
    width: 20px;
}

.map-instructions .btn-secondary {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Emergency Reporting */
.emergency-reporting {
    padding: 5rem 0;
    background: white;
}

.emergency-card {
    background-color: #FF9800;
    color: white;
    padding: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emergency-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.emergency-content {
    flex: 1;
}

.emergency-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.emergency-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.emergency-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-emergency {
    background: white;
    color: #ff5722;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.btn-emergency:hover {
    transform: scale(1.05);
    color: #ff5722;
}

/* FAQ Links */
.contact-faq {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-faq h2 {
    text-align: center;
    color: #2E7D32;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-link {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.faq-link:hover {
    border-color: #2E7D32;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.faq-link i {
    color: #2E7D32;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.faq-link h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-link p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Newsletter */
.newsletter-section {
    padding: 5rem 0;
    background: white;
}

.newsletter-card {
    background-color: #2E7D32;
    color: white;
    padding: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-input button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.newsletter-form .checkbox {
    color: white;
}

.newsletter-image {
    font-size: 8rem;
    opacity: 0.2;
}

/* Footer Contact Info */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: #ddd;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 20px;
    color: #4CAF50;
}

.business-hours {
    list-style: none;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #ddd;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.business-hours li:last-child {
    border-bottom: none;
}

.business-hours li span {
    color: #4CAF50;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: #4CAF50;
}

.emergency-notice {
    background: rgba(255, 87, 34, 0.1);
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid #ff5722;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.emergency-notice i {
    color: #ff5722;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #2E7D32;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .emergency-actions {
        flex-direction: column;
    }
    
    .faq-links {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-input {
        flex-direction: column;
    }
    
    .newsletter-input input,
    .newsletter-input button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .emergency-card {
        padding: 2rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}