<!DOCTYPE html>
<html lang="es">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Conoce Tus Derechos: Derechos de los Inmigrantes</title>
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="Conoce Tus Derechos: Derechos de los Inmigrantes">
    <meta property="og:description"
        content="Entiende tus derechos como inmigrante y mantente informado. Conoce tus derechos constitucionales y cómo defenderte en situaciones legales.">
    <meta property="og:image" content="https://cdn.cisco8114.com/u/cisco/6vFmL5r.png">
    <!-- Replace with an image URL -->
    <meta property="og:url" content="https://conocetusderechos.xyz">
    <meta property="og:type" content="website">
    <meta property="og:locale" content="es_ES"> <!-- Remove to fix -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
    <style>
        body {
            background-color: #343a40;
            /* Dark background */
            color: black;
            /* Black text */
            font-family: 'Arial', sans-serif;
            margin-top: 20px;
        }

        .hero {
            background: linear-gradient(135deg, #007bff, #6610f2);
            color: white;
            text-align: center;
            padding: 80px 20px;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.2rem;
            font-weight: 300;
        }

        .hero .btn {
            background-color: #ffffff;
            color: #007bff;
            padding: 12px 30px;
            font-size: 1.2rem;
            font-weight: 600;
            border-radius: 30px;
            transition: background-color 0.3s ease;
        }

        .hero .btn:hover {
            background-color: #007bff;
            color: #ffffff;
        }

        .content-section {
            margin-top: 50px;
        }

        .content-section h2 {
            font-size: 2.5rem;
            font-weight: 600;
        }

        .card img {
            border-radius: 10px;
            transition: transform 0.3s ease;
        }

        .card img:hover {
            transform: scale(1.05);
        }

        .footer {
            background-color: #343a40;
            color: white;
            text-align: center;
            padding: 20px 10px;
            position: relative;
            bottom: 0;
            width: 100%;
        }

        .accordion-button {
            font-size: 1.1rem;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .accordion-button:not(.collapsed) {
            background-color: #007bff;
            color: white;
        }

        .accordion-button:hover {
            background-color: #6610f2;
        }

        .accordion-body {
            font-size: 1.1rem;
            font-weight: 400;
        }

        .maintenance-message {
            text-align: center;
            padding: 50px;
        }

        .maintenance-message h1 {
            font-size: 3rem;
            color: #dc3545;
        }

        .maintenance-message p {
            font-size: 1.2rem;
            color: #6c757d;
        }

        .rights-exercise {
            color: #ff5733;
            /* Highlighted color for the rights exercise section */
            font-weight: 500;
        }

        /* Top message styling */
        .top-message {
            background-color: #f8d7da;
            /* Light red background */
            color: #721c24;
            /* Dark red text */
            text-align: center;
            padding: 10px;
            font-size: 1.2rem;
            font-weight: bold;
        }
    </style>
</head>

<body>
    <!-- Top Message -->
    <div class="top-message">
        Important Message: This website is in the testing phases and not final.
    </div>
    <!-- Top Message -->
    <div class="top-message">
        Mensaje Importante: Este sitio web está en fase de prueba y no es definitivo.
    </div>

    <div id="content"></div>

    <script>
        // Maintenance mode toggle (true = maintenance mode on, false = off)
        const maintenanceMode = false;

        // Redirect URLs for maintenance
        const redirectMaintenanceUrl = 'https://maintenance.conocetusderechos.xyz';
        const redirectNormalUrl = 'https://conocetusderechos.xyz';

        // Redirect URLs for TOS and Privacy Policy pages
        const redirectTosUrl = 'https://conocetusderechos.xyz/tos.php';
        const redirectPrivacyUrl = 'https://conocetusderechos.xyz/privacy-policy.php';

        if (maintenanceMode) {
            // Redirect to maintenance page
            window.location.href = redirectMaintenanceUrl;

            // Additional redirects for TOS and Privacy Policy pages
            if (window.location.pathname === '/terms-of-service') {
                window.location.href = redirectTosUrl;
            } else if (window.location.pathname === '/privacy-policy') {
                window.location.href = redirectPrivacyUrl;
            }

            // Show maintenance message
            document.getElementById('content').innerHTML = `
                <div class="maintenance-message">
                    <h1>Estamos en Mantenimiento</h1>
                    <p>Estamos realizando mantenimiento programado en el sitio web. ¡Vuelve más tarde!</p>
                </div>
            `;
        } else {
            // Show regular content
            document.getElementById('content').innerHTML = `
                <!-- Hero Section -->
                <div class="hero">
                    <h1>Conoce Tus Derechos</h1>
                    <p>Entiende tus derechos como inmigrante y mantente informado.</p>
                    <a href="#rights" class="btn btn-light btn-lg">Aprende Más</a>
                </div>

                <!-- Rights Section -->
                <div id="rights" class="container py-5 content-section">
                    <h2 class="text-center mb-4">Tus Derechos como Inmigrante</h2>
                    <div class="row">
                        <div class="col-md-6">
                            <h4>Tienes derechos constitucionales:</h4>
                            <ul>
                                <li><strong>NO ABRAS LA PUERTA</strong> si un agente de inmigración está tocando.</li>
                                <li><strong>NO CONTESTES PREGUNTAS</strong> de un agente de inmigración si trata de hablar contigo. Tienes el derecho a permanecer en silencio.</li>
                                <li><strong>NO FIRMES NADA</strong> sin antes hablar con un abogado. Tienes derecho a hablar con un abogado.</li>
                                <li>Si estás afuera de tu casa, pregunta al agente si puedes irte y si dice que sí, vete con tranquilidad.</li>
                                <li><strong>ENTREGA ESTA TARJETA AL AGENTE</strong>. Si estás dentro de tu casa, muestra la tarjeta por la ventana o pásala por debajo de la puerta.</li>
                                <li>Si te detienen, solicita hablar con un abogado inmediatamente.</li>
                            </ul>
                        </div>
                        <div class="col-md-6">
                            <h4>Ejercicios de tus Derechos:</h4>
                            <p class="rights-exercise">No deseo hablar contigo, responder tus preguntas, ni firmar o entregarte ningún documento bajo mis derechos de la 5ta Enmienda de la Constitución de los Estados Unidos.</p>
                            <p class="rights-exercise">No doy permiso para que entres a mi casa bajo mis derechos de la 4ta Enmienda de la Constitución de los Estados Unidos, a menos que tengas una orden firmada por un juez con mi nombre que puedas deslizar bajo la puerta.</p>
                            <p class="rights-exercise">No doy permiso para que registres mis pertenencias bajo mis derechos de la 4ta Enmienda. Elijo ejercer mis derechos constitucionales.</p>
                            <p class="rights-exercise">Guarda siempre una copia de tus documentos legales y conoce la información de contacto de un abogado o una organización legal confiable.</p>
                        </div>
                    </div>
                </div>

                <!-- Footer -->
                <div class="footer">
                    <p>&copy; 2025 Conoce Tus Derechos. All rights reserved.</p>
                    <p>
                        <a href="${redirectTosUrl}" class="text-white">Términos y Condiciones</a> |
                        <a href="${redirectPrivacyUrl}" class="text-white">Política de Privacidad</a>
                    </p>
                    <p><a href="https://padlet.com/PeopleoverPapers/people-over-papers-anonymous-an-nimo-lf0l47ljszbto2uj" class="text-white">PeopleoverPapers</a> | <a href="https://juntosseguros.com/" class="text-white">Juntos Seguros</a></p>
                    <p class="small text-muted">
                        Email: Support@conocetusderechos.xyz
                    </p>
                </div>
            `;
        }

        // Spanish and English Console Messages
        console.log("%cConoce tus Derechos", "color: #0099ff; font-size: 30px; font-weight: 700;");
        console.log("%cSitio Web - https://conocetusderechos.xyz", "color: #00ff91; font-size: 15px; font-weight: 700;");
        console.log("%ccorreo electrónico - Support@conocetusderechos.xyz", "color: #0099ff; font-size: 15px; font-weight: 700;");
        console.log("%cSugerencias pueden ser agregadas en - https://suggest.conocetusderechos.xyz", "color: #0099aa; font-size: 15px; font-weight: 700;");
    
        console.log("\n%cProtección bajo la libertad de expresión:", "color: #ff6347; font-size: 20px; font-weight: 700;");
        console.log("%cEste sitio web está protegido bajo los principios de la libertad de expresión y está destinado únicamente a fines educativos. Toda la información proporcionada busca fomentar el conocimiento público y el empoderamiento de los usuarios, especialmente en lo relacionado con los derechos de los inmigrantes.", "color: #ffffff; font-size: 15px;");
    
        // English Messages
        console.log("\n%cKnow Your Rights", "color: #0099ff; font-size: 30px; font-weight: 700;");
        console.log("%cWebsite - https://conocetusderechos.xyz", "color: #00ff91; font-size: 15px; font-weight: 700;");
        console.log("%cEmail  - Support@conocetusderechos.xyz", "color: #0099ff; font-size: 15px; font-weight: 700;");
        console.log("%cSuggestions can be added at - https://suggest.conocetusderechos.xyz", "color: #0099aa; font-size: 15px; font-weight: 700;");
    
        console.log("\n%cProtection Under Freedom of Speech:", "color: #ff6347; font-size: 20px; font-weight: 700;");
        console.log("%cThis website is protected under the principles of freedom of speech and is intended solely for educational purposes. All the information provided aims to promote public knowledge and empower users, especially in matters related to the rights of immigrants.", "color: #ffffff; font-size: 15px;");
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
</body>

</html>